/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_array_stub_builder.h | 54 void InitializeArray(GateRef glue, GateRef count, Variable *result, GateRef intialHClass); 77 GateRef intialHClass, GateRef start);
|
H A D | builtins_stubs.cpp | 416 GateRef intialHClass = Load(VariableType::JS_ANY(), newTarget,
in DECLARE_BUILTINS() local 418 BRANCH(IsJSHClass(intialHClass), &intialHClassIsHClass, &slowPath1);
in DECLARE_BUILTINS() 424 newBuilder.NewJSObject(&res, &afterNew, intialHClass);
in DECLARE_BUILTINS() 469 GateRef intialHClass = Load(VariableType::JS_ANY(), newTarget,
in DECLARE_BUILTINS() local 471 BRANCH(IsJSHClass(intialHClass), &intialHClassIsHClass, &slowPath1);
in DECLARE_BUILTINS() 516 newBuilder.NewJSObject(&res, &afterNew, intialHClass);
in DECLARE_BUILTINS()
|
H A D | builtins_number_stub_builder.cpp | 279 GateRef intialHClass = Load(VariableType::JS_ANY(), newTarget,
in GenNumberConstructor() local 281 BRANCH(IsJSHClass(intialHClass), &intialHClassIsHClass, &slowPath1);
in GenNumberConstructor() 287 newBuilder.NewJSObject(&res, &afterNew, intialHClass);
in GenNumberConstructor()
|
H A D | builtins_array_stub_builder.cpp | 41 GateRef intialHClass = GetGlobalConstantValue(VariableType::JS_ANY(), glue, in ElementsKindHclassCompare() local 43 BRANCH(Equal(intialHClass, arrayCls), matchCls, slowPath); in ElementsKindHclassCompare() 456 GateRef intialHClass = Load(VariableType::JS_ANY(), arrayFunc, in Concat() local 460 GateRef newArray = newBuilder.NewJSArrayWithSize(intialHClass, sumArrayLen); in Concat() 469 SetPropertyInlinedProps(glue, newArray, intialHClass, accessor, in Concat() 2496 void BuiltinsArrayStubBuilder::InitializeArray(GateRef glue, GateRef count, Variable* result, GateRef intialHClass) in InitializeArray() argument 2501 SetPropertyInlinedProps(glue, result->ReadVariable(), intialHClass, accessor, in InitializeArray() 2517 GateRef intialHClass = Load(VariableType::JS_ANY(), arrayFunc, IntPtr(JSFunction::PROTO_OR_DYNCLASS_OFFSET)); in NewArray() local 2520 result = newBuilder.NewJSArrayWithSize(intialHClass, count); in NewArray() 2524 InitializeArray(glue, count, &result, intialHClass); in NewArray() 2722 GateRef intialHClass = Load(VariableType::JS_ANY(), arrayFunc, IntPtr(JSFunction::PROTO_OR_DYNCLASS_OFFSET)); From() local 4767 GateRef intialHClass = Load(VariableType::JS_ANY(), newTarget, IntPtr(JSFunction::PROTO_OR_DYNCLASS_OFFSET)); GenArrayConstructor() local [all...] |
H A D | builtins_object_stub_builder.cpp | 157 GateRef intialHClass = Load(VariableType::JS_ANY(), arrayFunc, IntPtr(JSFunction::PROTO_OR_DYNCLASS_OFFSET));
in CreateArrayFromList() local 161 result = newBuilder.NewJSObject(glue, intialHClass);
in CreateArrayFromList() 162 SetPropertyInlinedProps(glue, *result, intialHClass, accessor, Int32(JSArray::LENGTH_INLINE_PROPERTY_INDEX));
in CreateArrayFromList()
|
H A D | builtins_typedarray_stub_builder.cpp | 3113 GateRef intialHClass = Load(VariableType::JS_ANY(), newTarget,
in GenTypedArrayConstructor() local 3115 BRANCH(IsJSHClass(intialHClass), &intialHClassIsHClass, &slowPath1);
in GenTypedArrayConstructor()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | new_object_stub_builder.h | 99 GateRef intialHClass);
|
H A D | typed_hcr_lowering.cpp | 2285 GateRef intialHClass = builder_.Load(VariableType::JS_ANY(), newTarget, in LowerArrayConstructorCheck() local 2287 check = builder_.IsJSHClass(intialHClass); in LowerArrayConstructorCheck() 2310 GateRef intialHClass = in LowerArrayConstructor() local 2361 res = newBuilder.NewJSArrayWithSize(intialHClass, *arrayLength); in LowerArrayConstructor() 2365 builder_.SetPropertyInlinedProps(glue, *res, intialHClass, accessor, in LowerArrayConstructor() 2495 GateRef intialHClass = in NewArrayConstructorWithNoArgs() local 2500 GateRef res = newBuilder.NewJSArrayWithSize(intialHClass, arrayLength); in NewArrayConstructorWithNoArgs() 2504 builder_.SetPropertyInlinedProps(glue, res, intialHClass, accessor, in NewArrayConstructorWithNoArgs() 2537 GateRef intialHClass = builder_.Load(VariableType::JS_ANY(), newTarget, in LowerObjectConstructorCheck() local 2539 check = builder_.IsJSHClass(intialHClass); in LowerObjectConstructorCheck() 2674 GateRef intialHClass = builder_.Load(VariableType::JS_ANY(), newTarget, LowerBooleanConstructorCheck() local [all...] |
H A D | common_stubs.cpp | 382 GateRef intialHClass = GetGlobalConstantValue(VariableType::JS_ANY(), glue, in GenerateCircuit() local 384 arrayObj = newBuilder.NewJSArrayWithSize(intialHClass, *actualRestNum); in GenerateCircuit() 387 newBuilder.AssignRestArg(&arrayObj, &afterCreateArrayObj, args, startIdx, *actualRestNum, intialHClass); in GenerateCircuit()
|
H A D | new_object_stub_builder.cpp | 1324 GateRef sp, GateRef startIdx, GateRef numArgs, GateRef intialHClass)
in AssignRestArg() 1331 SetPropertyInlinedProps(glue_, result->ReadVariable(), intialHClass, accessor,
in AssignRestArg() 1323 AssignRestArg(Variable *result, Label *exit, GateRef sp, GateRef startIdx, GateRef numArgs, GateRef intialHClass) AssignRestArg() argument
|
H A D | interpreter_stub.cpp | 584 GateRef intialHClass = GetGlobalConstantValue(VariableType::JS_ANY(), glue,
in DECLARE_ASM_HANDLER() local 588 res = newBuilder.NewJSArrayWithSize(intialHClass, numArgs);
in DECLARE_ASM_HANDLER() 592 SetPropertyInlinedProps(glue, *res, intialHClass, accessor, Int32(JSArray::LENGTH_INLINE_PROPERTY_INDEX));
in DECLARE_ASM_HANDLER()
|
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
H A D | baseline_stubs.cpp | 2635 GateRef intialHClass = Load(VariableType::JS_ANY(), arrayFunc, IntPtr(JSFunction::PROTO_OR_DYNCLASS_OFFSET)); in GenerateCircuit() local 2638 res = newBuilder.NewJSArrayWithSize(intialHClass, numArgs); in GenerateCircuit() 2642 SetPropertyInlinedProps(glue, *res, intialHClass, accessor, Int32(JSArray::LENGTH_INLINE_PROPERTY_INDEX)); in GenerateCircuit()
|