Home
last modified time | relevance | path

Searched refs:glue (Results 1 – 25 of 78) sorted by relevance

1234

/arkcompiler/ets_runtime/ecmascript/compiler/
Dcommon_stubs.cpp40 GateRef glue = PtrArgument(0); in GenerateCircuit() local
44 Return(operationBuilder.Add(glue, x, y)); in GenerateCircuit()
49 GateRef glue = PtrArgument(0); in GenerateCircuit() local
53 Return(operationBuilder.Sub(glue, x, y)); in GenerateCircuit()
58 GateRef glue = PtrArgument(0); in GenerateCircuit() local
62 Return(operationBuilder.Mul(glue, x, y)); in GenerateCircuit()
67 GateRef glue = PtrArgument(0); in GenerateCircuit() local
71 Return(operationBuilder.Div(glue, x, y)); in GenerateCircuit()
76 GateRef glue = PtrArgument(0); in GenerateCircuit() local
80 Return(operationBuilder.Mod(glue, x, y)); in GenerateCircuit()
[all …]
Doperations_stub_builder.h31 GateRef Inc(GateRef glue, GateRef value, ProfileOperation callback = ProfileOperation());
32 GateRef Dec(GateRef glue, GateRef value, ProfileOperation callback = ProfileOperation());
33 GateRef Neg(GateRef glue, GateRef value, ProfileOperation callback = ProfileOperation());
34 GateRef Not(GateRef glue, GateRef value, ProfileOperation callback = ProfileOperation());
37 …GateRef Equal(GateRef glue, GateRef left, GateRef right, ProfileOperation callback = ProfileOperat…
38 …GateRef NotEqual(GateRef glue, GateRef left, GateRef right, ProfileOperation callback = ProfileOpe…
39 …GateRef StrictEqual(GateRef glue, GateRef left, GateRef right, ProfileOperation callback = Profile…
40 …GateRef StrictNotEqual(GateRef glue, GateRef left, GateRef right, ProfileOperation callback = Prof…
41 …GateRef Less(GateRef glue, GateRef left, GateRef right, ProfileOperation callback = ProfileOperati…
42 …GateRef LessEq(GateRef glue, GateRef left, GateRef right, ProfileOperation callback = ProfileOpera…
[all …]
Dnew_object_stub_builder.h35 void SetParameters(GateRef glue, GateRef size) in SetParameters() argument
37 glue_ = glue; in SetParameters()
41 void SetGlue(GateRef glue) in SetGlue() argument
43 glue_ = glue; in SetGlue()
48 GateRef NewJSObject(GateRef glue, GateRef hclass);
49 GateRef NewJSArray(GateRef glue, GateRef hclass);
50 GateRef NewTaggedArray(GateRef glue, GateRef len);
51 GateRef CopyArray(GateRef glue, GateRef elements, GateRef oldLen, GateRef newLen);
52 GateRef ExtendArray(GateRef glue, GateRef elements, GateRef newLen);
54 GateRef NewJSForinIterator(GateRef glue, GateRef receiver, GateRef keys, GateRef cachedHclass);
[all …]
Daccess_object_stub_builder.h36 GateRef LoadObjByName(GateRef glue, GateRef receiver, GateRef prop, const StringIdInfo &info,
38 GateRef DeprecatedLoadObjByName(GateRef glue, GateRef receiver, GateRef propKey);
39 …GateRef StoreObjByName(GateRef glue, GateRef receiver, GateRef prop, const StringIdInfo &info, Gat…
41 …GateRef LoadObjByValue(GateRef glue, GateRef receiver, GateRef key, GateRef profileTypeInfo, GateR…
43 …GateRef StoreObjByValue(GateRef glue, GateRef receiver, GateRef key, GateRef value, GateRef profil…
45 …GateRef StoreOwnByIndex(GateRef glue, GateRef receiver, GateRef index, GateRef value, GateRef prof…
47 GateRef DeprecatedLoadObjByValue(GateRef glue, GateRef receiver, GateRef key);
48 GateRef TryLoadGlobalByName(GateRef glue, GateRef prop, const StringIdInfo &info,
50 GateRef TryStoreGlobalByName(GateRef glue, GateRef prop, const StringIdInfo &info,
52 GateRef LoadGlobalVar(GateRef glue, GateRef prop, const StringIdInfo &info,
[all …]
Daccess_object_stub_builder.cpp24 GateRef AccessObjectStubBuilder::LoadObjByName(GateRef glue, GateRef receiver, GateRef prop, const … in LoadObjByName() argument
37 builder.SetParameters(glue, receiver, profileTypeInfo, value, slotId); in LoadObjByName()
41 GateRef propKey = ResolvePropKey(glue, prop, info); in LoadObjByName()
42 result = GetPropertyByName(glue, receiver, propKey, callback, True()); in LoadObjByName()
47 GateRef propKey = ResolvePropKey(glue, prop, info); in LoadObjByName()
48 result = CallRuntime(glue, RTSTUB_ID(LoadICByName), in LoadObjByName()
60 GateRef AccessObjectStubBuilder::DeprecatedLoadObjByName(GateRef glue, GateRef receiver, GateRef pr… in DeprecatedLoadObjByName() argument
73 result = GetPropertyByName(glue, receiver, propKey, ProfileOperation(), True()); in DeprecatedLoadObjByName()
78 result = CallRuntime(glue, RTSTUB_ID(LoadICByName), in DeprecatedLoadObjByName()
88 GateRef AccessObjectStubBuilder::StoreObjByName(GateRef glue, GateRef receiver, GateRef prop, const… in StoreObjByName() argument
[all …]
Dstub_builder.h54 #define ASM_ASSERT_WITH_GLUE(messageId, condition, glue) \ argument
55 SUBENTRY_WITH_GLUE(messageId, condition, glue)
62 #define ASM_ASSERT_WITH_GLUE(messageId, condition, glue) \ argument
63 SUBENTRY_WITH_GLUE(messageId, condition, glue)
143 GateRef CallRuntime(GateRef glue, int index, const std::initializer_list<GateRef>& args);
144 GateRef CallRuntime(GateRef glue, int index, GateRef argc, GateRef argv);
145 GateRef CallNGCRuntime(GateRef glue, int index, const std::initializer_list<GateRef>& args);
146 … GateRef FastCallOptimized(GateRef glue, GateRef code, const std::initializer_list<GateRef>& args);
147 GateRef CallOptimized(GateRef glue, GateRef code, const std::initializer_list<GateRef>& args);
149 GateRef CallStub(GateRef glue, int index, const std::initializer_list<GateRef>& args);
[all …]
Dprofiler_stub_builder.h32 void PGOProfiler(GateRef glue, GateRef pc, GateRef func, GateRef profileTypeInfo,
35 void TryDump(GateRef glue, GateRef func, GateRef profileTypeInfo);
36 void TryPreDump(GateRef glue, GateRef func, GateRef profileTypeInfo);
39 …GateRef glue, GateRef pc, GateRef func, GateRef target, GateRef profileTypeInfo, SlotIDFormat form…
41 …GateRef glue, GateRef pc, GateRef func, GateRef target, GateRef profileTypeInfo, SlotIDFormat form…
43 …GateRef glue, GateRef pc, GateRef func, GateRef profileTypeInfo, GateRef type, SlotIDFormat format…
45 …GateRef glue, GateRef pc, GateRef func, GateRef constructor, GateRef profileTypeInfo, SlotIDFormat…
47 …GateRef glue, GateRef pc, GateRef func, GateRef newObj, GateRef profileTypeInfo, SlotIDFormat form…
48 … void ProfileBranch(GateRef glue, GateRef pc, GateRef func, GateRef profileTypeInfo, bool isTrue);
50 …GateRef glue, GateRef pc, GateRef func, GateRef iterator, GateRef profileTypeInfo, SlotIDFormat fo…
[all …]
Dtyped_hcr_lowering.h147 void LowerFlattenTreeStringCheck(GateRef gate, GateRef glue);
151 void LowerCallGetter(GateRef gate, GateRef glue);
153 void LowerCallSetter(GateRef gate, GateRef glue);
155 void LowerStoreElement(GateRef gate, GateRef glue);
158 void LowerStoreToTaggedArray(GateRef gate, GateRef glue);
162 void LowerTypedCreateObjWithBuffer(GateRef gate, GateRef glue);
169 void LowerCowArrayCheck(GateRef gate, GateRef glue);
176 void LowerArrayStoreElement(GateRef gate, GateRef glue);
193 void LowerTypedNewAllocateThis(GateRef gate, GateRef glue);
194 void LowerTypedSuperAllocateThis(GateRef gate, GateRef glue);
[all …]
Dinterpreter_stub.h59 inline void SetVregValue(GateRef glue, GateRef sp, GateRef idx, GateRef val);
92 inline GateRef GetCurrentSpFrame(GateRef glue);
93 inline GateRef GetLastLeaveFrame(GateRef glue);
94 inline GateRef GetCurrentFrame(GateRef glue);
112 inline void SetCurrentSpFrame(GateRef glue, GateRef sp);
113 inline void SetLastLeaveFrame(GateRef glue, GateRef sp);
114 inline void SetPcToFrame(GateRef glue, GateRef frame, GateRef value);
115 inline void SetCallSizeToFrame(GateRef glue, GateRef frame, GateRef value);
116 inline void SetFunctionToFrame(GateRef glue, GateRef frame, GateRef value);
117 inline void SetAccToFrame(GateRef glue, GateRef frame, GateRef value);
[all …]
Dinterpreter_stub.cpp43 GateRef glue = PtrArgument(static_cast<size_t>(InterpreterHandlerInputs::GLUE)); \
55 GenerateCircuitImpl(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter, callback); \
59 void name##StubBuilder::GenerateCircuitImpl(GateRef glue, GateRef sp, GateRef pc, \
66 …[this, glue, sp, pc, profileTypeInfo](const std::initializer_list<GateRef> &values, OperationType …
68 …profiler.PGOProfiler(glue, pc, GetFunctionFromFrame(GetFrame(sp)), profileTypeInfo, values, format…
74 …[this, glue, sp, pc, profileTypeInfo](const std::initializer_list<GateRef> &values, OperationType …
76 …profiler.PGOProfiler(glue, pc, GetFunctionFromFrame(GetFrame(sp)), profileTypeInfo, values, format…
111 Dispatch(glue, *varSp, *varPc, *varConstpool, *varProfileTypeInfo, *varAcc, \
115 Dispatch(glue, sp, pc, constpool, __VA_ARGS__)
125 DispatchLast(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter) \
[all …]
Dnew_object_stub_builder.cpp131 GateRef NewObjectStubBuilder::NewJSObject(GateRef glue, GateRef hclass) in NewJSObject() argument
139 SetGlue(glue); in NewJSObject()
182 GateRef NewObjectStubBuilder::NewTaggedArray(GateRef glue, GateRef len) in NewTaggedArray() argument
192 SetGlue(glue); in NewTaggedArray()
222 GateRef NewObjectStubBuilder::ExtendArray(GateRef glue, GateRef elements, GateRef newLen) in ExtendArray() argument
232 SetGlue(glue); in ExtendArray()
240 array = newBuilder.NewTaggedArray(glue, newLen); in ExtendArray()
249 Store(VariableType::INT32(), glue, *array, IntPtr(TaggedArray::LENGTH_OFFSET), newLen); in ExtendArray()
251 …Store(VariableType::INT32(), glue, *array, IntPtr(TaggedArray::EXTRA_LENGTH_OFFSET), oldExtractLen… in ExtendArray()
271 SetValueToTaggedArray(VariableType::JS_ANY(), glue, *array, *index, value); in ExtendArray()
[all …]
Dstub_builder.cpp179 GateRef StubBuilder::FindElementWithCache(GateRef glue, GateRef layoutInfo, GateRef hclass, in FindElementWithCache() argument
229 result = CallNGCRuntime(glue, RTSTUB_ID(FindElementWithCache), { glue, hclass, key, propsNum }); in FindElementWithCache()
237 GateRef StubBuilder::FindElementFromNumberDictionary(GateRef glue, GateRef elements, GateRef index) in FindElementFromNumberDictionary() argument
252 GateRef hash = CallRuntime(glue, RTSTUB_ID(GetHash32), in FindElementFromNumberDictionary()
294 GateRef StubBuilder::FindEntryFromNameDictionary(GateRef glue, GateRef elements, GateRef key) in FindEntryFromNameDictionary() argument
330 hash = GetHashcodeFromString(glue, key); in FindEntryFromNameDictionary()
403 GateRef StubBuilder::FindEntryFromTransitionDictionary(GateRef glue, GateRef elements, GateRef key,… in FindEntryFromTransitionDictionary() argument
439 hash = GetHashcodeFromString(glue, key); in FindEntryFromTransitionDictionary()
567 GateRef glue, GateRef obj, GateRef hclass, GateRef attr, GateRef key, GateRef value) in JSObjectSetProperty() argument
581 SetValueWithAttr(glue, obj, offset, key, value, attr); in JSObjectSetProperty()
[all …]
Dinterpreter_stub-inl.h27 void InterpreterStubBuilder::SetVregValue(GateRef glue, GateRef sp, GateRef idx, GateRef val) in SetVregValue() argument
29 Store(VariableType::INT64(), glue, sp, PtrMul(IntPtr(sizeof(JSTaggedType)), idx), val); in SetVregValue()
317 void InterpreterStubBuilder::SetPcToFrame(GateRef glue, GateRef frame, GateRef value) in SetPcToFrame() argument
319 Store(VariableType::INT64(), glue, frame, in SetPcToFrame()
323 void InterpreterStubBuilder::SetCallSizeToFrame(GateRef glue, GateRef frame, GateRef value) in SetCallSizeToFrame() argument
325 Store(VariableType::NATIVE_POINTER(), glue, frame, in SetCallSizeToFrame()
329 void InterpreterStubBuilder::SetAccToFrame(GateRef glue, GateRef frame, GateRef value) in SetAccToFrame() argument
331 Store(VariableType::INT64(), glue, frame, in SetAccToFrame()
335 void InterpreterStubBuilder::SetEnvToFrame(GateRef glue, GateRef frame, GateRef value) in SetEnvToFrame() argument
337 Store(VariableType::INT64(), glue, frame, in SetEnvToFrame()
[all …]
Dprofiler_stub_builder.cpp26 void ProfilerStubBuilder::PGOProfiler(GateRef glue, GateRef pc, GateRef func, GateRef profileTypeIn… in PGOProfiler() argument
31 ProfileCall(glue, pc, func, values[0], profileTypeInfo, format); in PGOProfiler()
34 ProfileNativeCall(glue, pc, func, values[0], profileTypeInfo, format); in PGOProfiler()
37 ProfileOpType(glue, pc, func, profileTypeInfo, values[0], format); in PGOProfiler()
40 ProfileDefineClass(glue, pc, func, values[0], profileTypeInfo, format); in PGOProfiler()
43 ProfileCreateObject(glue, pc, func, values[0], profileTypeInfo, format); in PGOProfiler()
46 TryDump(glue, func, profileTypeInfo); in PGOProfiler()
49 TryPreDump(glue, func, profileTypeInfo); in PGOProfiler()
52 ProfileBranch(glue, pc, func, profileTypeInfo, true); in PGOProfiler()
55 ProfileBranch(glue, pc, func, profileTypeInfo, false); in PGOProfiler()
[all …]
Dhcr_circuit_builder.cpp22 GateRef CircuitBuilder::NoLabelCallRuntime(GateRef glue, GateRef depend, size_t index, std::vector<… in NoLabelCallRuntime() argument
28 std::vector<GateRef> inputs { depend, target, glue }; in NoLabelCallRuntime()
56 GateRef CircuitBuilder::CallStub(GateRef glue, GateRef hirGate, int index, const std::vector<GateRe… in CallStub() argument
67 result = Call(cs, glue, target, depend, args, hirGate, comment); in CallStub()
69 result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment); in CallStub()
74 GateRef CircuitBuilder::CallBuiltinRuntime(GateRef glue, GateRef depend, const std::vector<GateRef>… in CallBuiltinRuntime() argument
91 GateRef result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment); in CallBuiltinRuntime()
95 GateRef CircuitBuilder::CallBuiltinRuntimeWithNewTarget(GateRef glue, GateRef depend, const std::ve… in CallBuiltinRuntimeWithNewTarget() argument
109 GateRef result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment); in CallBuiltinRuntimeWithNewTarget()
113 GateRef CircuitBuilder::Call(const CallSignature* cs, GateRef glue, GateRef target, GateRef depend, in Call() argument
[all …]
Doperations_stub_builder.cpp22 GateRef OperationsStubBuilder::Equal(GateRef glue, GateRef left, GateRef right, ProfileOperation ca… in Equal() argument
31 result = FastEqual(glue, left, right, callback); in Equal()
36 result = CallRuntime(glue, RTSTUB_ID(Eq), { left, right }); in Equal()
61 GateRef OperationsStubBuilder::NotEqual(GateRef glue, GateRef left, GateRef right, ProfileOperation… in NotEqual() argument
69 result = FastEqual(glue, left, right, callback); in NotEqual()
76 result = CallRuntime(glue, RTSTUB_ID(NotEq), { left, right }); in NotEqual()
103 GateRef OperationsStubBuilder::StrictEqual(GateRef glue, GateRef left, GateRef right, ProfileOperat… in StrictEqual() argument
112 Branch(FastStrictEqual(glue, left, right, callback), &strictEqual, &notStrictEqual); in StrictEqual()
130 GateRef OperationsStubBuilder::StrictNotEqual(GateRef glue, GateRef left, GateRef right, ProfileOpe… in StrictNotEqual() argument
139 Branch(FastStrictEqual(glue, left, right, callback), &strictEqual, &notStrictEqual); in StrictNotEqual()
[all …]
Dbuiltins_lowering.cpp97 GateRef glue = acc_.GetGlueFromArgList(); in TypedTrigonometric() local
119 result = builder_.CallNGCRuntime(glue, index, Gate::InvalidGateRef, {value}, gate); in TypedTrigonometric()
206 GateRef BuiltinLowering::LowerCallRuntime(GateRef glue, GateRef gate, int index, const std::vector<… in LowerCallRuntime() argument
211 …GateRef result = builder_.CallRuntime(glue, index, Gate::InvalidGateRef, args, gate, name.c_str()); in LowerCallRuntime()
216 … GateRef result = builder_.Call(cs, glue, target, builder_.GetDepend(), args, gate, name.c_str()); in LowerCallRuntime()
247 GateRef glue = acc_.GetGlueFromArgList(); in LowerTypedLocaleCompare() local
260 GateRef result = LowerCallRuntime(glue, gate, RTSTUB_ID(LocaleCompare), args); in LowerTypedLocaleCompare()
266 GateRef glue = acc_.GetGlueFromArgList(); in LowerTypedArraySort() local
268 GateRef result = LowerCallRuntime(glue, gate, RTSTUB_ID(ArraySort), { thisObj }); in LowerTypedArraySort()
397 GateRef glue = acc_.GetGlueFromArgList(); in LowerTypedStringify() local
[all …]
Dstub_builder-inl.h209 inline GateRef StubBuilder::CallRuntime(GateRef glue, int index, const std::initializer_list<GateRe… in CallRuntime() argument
211 SavePcIfNeeded(glue); in CallRuntime()
213 GateRef result = env_->GetBuilder()->CallRuntime(glue, index, Gate::InvalidGateRef, args, in CallRuntime()
214 glue, name.c_str()); in CallRuntime()
218 inline GateRef StubBuilder::CallRuntime(GateRef glue, int index, GateRef argc, GateRef argv) in CallRuntime() argument
220 SavePcIfNeeded(glue); in CallRuntime()
222 GateRef result = env_->GetBuilder()->CallRuntimeVarargs(glue, index, argc, argv, name.c_str()); in CallRuntime()
226 inline GateRef StubBuilder::CallNGCRuntime(GateRef glue, int index, const std::initializer_list<Gat… in CallNGCRuntime() argument
229 GateRef result = env_->GetBuilder()->CallNGCRuntime(glue, index, Gate::InvalidGateRef, args, in CallNGCRuntime()
234 inline GateRef StubBuilder::FastCallOptimized(GateRef glue, GateRef code, const std::initializer_li… in FastCallOptimized() argument
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_array_stub_builder.h33 void Concat(GateRef glue, GateRef thisValue, GateRef numArgs,
36 void Filter(GateRef glue, GateRef thisValue, GateRef numArgs,
39 void Find(GateRef glue, GateRef thisValue, GateRef numArgs,
42 void FindIndex(GateRef glue, GateRef thisValue, GateRef numArgs,
45 void ForEach(GateRef glue, GateRef thisValue, GateRef numArgs,
48 void IndexOf(GateRef glue, GateRef thisValue, GateRef numArgs,
51 void LastIndexOf(GateRef glue, GateRef thisValue, GateRef numArgs,
54 void Pop(GateRef glue, GateRef thisValue, GateRef numArgs,
57 void Slice(GateRef glue, GateRef thisValue, GateRef numArgs,
60 void Sort(GateRef glue, GateRef thisValue,
[all …]
Dbuiltins_string_stub_builder.h35 …void FromCharCode(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, La…
36 …void CharAt(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *s…
37 …void CharCodeAt(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Labe…
38 …void IndexOf(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *…
39 …void Substring(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label…
40 …void Replace(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *…
41 …void Trim(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slo…
42 …void Slice(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *sl…
43 …void LocaleCompare(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, L…
47 GateRef FastSubString(GateRef glue, GateRef thisValue, GateRef from, GateRef len,
[all …]
Dbuiltins_stubs.cpp43 … GateRef glue = PtrArgument(static_cast<size_t>(BuiltinsArgs::GLUE)); \
49 … DebugPrint(glue, { Int32(GET_MESSAGE_STRING_ID(name)) }); \
50 … GenerateCircuitImpl(glue, nativeCode, func, newTarget, thisValue, numArgs); \
52 void name##StubBuilder::GenerateCircuitImpl(GateRef glue, GateRef nativeCode, GateRef func, …
58 … GateRef glue = PtrArgument(static_cast<size_t>(BuiltinsArgs::GLUE)); \
64 … GenerateCircuitImpl(glue, nativeCode, func, newTarget, thisValue, numArgs); \
66 void name##StubBuilder::GenerateCircuitImpl(GateRef glue, GateRef nativeCode, GateRef func, …
91 GateRef BuiltinsStubBuilder::CallSlowPath(GateRef nativeCode, GateRef glue, GateRef thisValue, in CallSlowPath() argument
109 auto args = { nativeCode, glue, runtimeCallInfoArgs, func, newTarget, thisValue }; in CallSlowPath()
110 result = CallBuiltinRuntime(glue, args, false, comment); in CallSlowPath()
[all …]
Dbuiltins_function_stub_builder.cpp24 void BuiltinsFunctionStubBuilder::Apply(GateRef glue, GateRef thisValue, in Apply() argument
46 res->WriteVariable(JSCallDispatch(glue, thisValue, Int32(0), 0, Circuit::NullGate(), in Apply()
53 GateRef elements = BuildArgumentsListFastElements(glue, arrayObj); in Apply()
60 GateRef argList = objectStubBuilder.CreateListFromArrayLike(glue, arrayObj); in Apply()
64 Branch(HasPendingException(glue), &isPendingException, &noPendingException); in Apply()
73 … res->WriteVariable(JSCallDispatch(glue, thisValue, argsLength, 0, Circuit::NullGate(), in Apply()
83 … Branch(IsStableJSArguments(glue, arrayObj), &taggedIsStableJsArg, &taggedNotStableJsArg); in Apply()
90 GateRef argsLength = MakeArgListWithHole(glue, elements, length); in Apply()
92 … res->WriteVariable(JSCallDispatch(glue, thisValue, argsLength, 0, Circuit::NullGate(), in Apply()
99 GateRef argsLength = MakeArgListWithHole(glue, elements, length); in Apply()
[all …]
Dbuiltins_array_stub_builder.cpp29 void BuiltinsArrayStubBuilder::Concat(GateRef glue, GateRef thisValue, GateRef numArgs, in Concat() argument
56 GateRef isThisStableJSArray = IsStableJSArray(glue, thisValue); in Concat()
57 GateRef isArgStableJSArray = IsStableJSArray(glue, arg0); in Concat()
71 result->WriteVariable(newBuilder.CreateEmptyArray(glue)); in Concat()
80 GateRef isSpreadable = IsConcatSpreadable(glue, thisValue); in Concat()
81 GateRef argisSpreadable = IsConcatSpreadable(glue, arg0); in Concat()
88 … GateRef glueGlobalEnv = Load(VariableType::NATIVE_POINTER(), glue, glueGlobalEnvOffset); in Concat()
94 newBuilder.SetParameters(glue, 0); in Concat()
100 Store(VariableType::INT32(), glue, newArray, lengthOffset, in Concat()
102 … GateRef accessor = GetGlobalConstantValue(VariableType::JS_ANY(), glue, in Concat()
[all …]
Dbuiltins_string_stub_builder.cpp22 void BuiltinsStringStubBuilder::FromCharCode(GateRef glue, [[maybe_unused]] GateRef thisValue, in FromCharCode() argument
40 VariableType::JS_POINTER(), glue, ConstantIndex::EMPTY_STRING_OBJECT_INDEX)); in FromCharCode()
48 GateRef codePointValue = ToNumber(glue, codePointTag); in FromCharCode()
49 Branch(HasPendingException(glue), &isPendingException, &noPendingException); in FromCharCode()
65 …value = TruncInt32ToInt16(DoubleToInt(glue, GetDoubleOfTDouble(codePointValue), base::INT16_BITS)); in FromCharCode()
71 newBuilder.SetParameters(glue, 0); in FromCharCode()
74 GateRef singleCharTable = GetSingleCharTable(glue); in FromCharCode()
86 Store(VariableType::INT16(), glue, dst, IntPtr(0), *value); in FromCharCode()
95 void BuiltinsStringStubBuilder::CharAt(GateRef glue, GateRef thisValue, GateRef numArgs, in CharAt() argument
125 thisFlat.FlattenString(glue, thisValue, &flattenFastPath); in CharAt()
[all …]
Dbuiltins_object_stub_builder.h25 …BuiltinsObjectStubBuilder(BuiltinsStubBuilder *parent, GateRef glue, GateRef thisValue, GateRef nu… in BuiltinsObjectStubBuilder() argument
26 : BuiltinsStubBuilder(parent), glue_(glue), thisValue_(thisValue), numArgs_(numArgs) {} in BuiltinsObjectStubBuilder()
31 GateRef CreateListFromArrayLike(GateRef glue, GateRef arrayObj);
32 GateRef CreateArrayFromList(GateRef glue, GateRef elements);
45 GateRef CopyFromEnumCache(GateRef glue, GateRef elements);
46 GateRef GetAllEnumKeys(GateRef glue, GateRef obj);
47 GateRef GetEnumElementKeys(GateRef glue, GateRef obj);

1234