/arkcompiler/ets_runtime/ecmascript/interpreter/ |
D | slow_runtime_stub.cpp | 47 JSTaggedValue SlowRuntimeStub::CallSpread(JSThread *thread, JSTaggedValue func, JSTaggedValue obj, in CallSpread() 59 JSTaggedValue SlowRuntimeStub::Neg(JSThread *thread, JSTaggedValue value) in Neg() 68 JSTaggedValue SlowRuntimeStub::AsyncFunctionEnter(JSThread *thread) in AsyncFunctionEnter() 76 JSTaggedValue SlowRuntimeStub::ToNumber(JSThread *thread, JSTaggedValue value) in ToNumber() 86 JSTaggedValue SlowRuntimeStub::ToNumeric(JSThread *thread, JSTaggedValue value) in ToNumeric() 96 JSTaggedValue SlowRuntimeStub::Not(JSThread *thread, JSTaggedValue value) in Not() 105 JSTaggedValue SlowRuntimeStub::Inc(JSThread *thread, JSTaggedValue value) in Inc() 114 JSTaggedValue SlowRuntimeStub::Dec(JSThread *thread, JSTaggedValue value) in Dec() 123 void SlowRuntimeStub::Throw(JSThread *thread, JSTaggedValue value) in Throw() 129 JSTaggedValue SlowRuntimeStub::GetPropIterator(JSThread *thread, JSTaggedValue value) in GetPropIterator() [all …]
|
D | interpreter-inl.h | 1427 JSTaggedValue res = SlowRuntimeStub::CallSpread(thread, func, obj, array); in RunInternal() 1444 JSTaggedValue res = SlowRuntimeStub::CallSpread(thread, func, obj, array); in RunInternal() 1593 JSTaggedValue res = SlowRuntimeStub::GetUnmapedArgs(thread, sp, actualNumArgs, startIdx); in RunInternal() 1601 JSTaggedValue res = SlowRuntimeStub::AsyncFunctionEnter(thread); in RunInternal() 1621 JSTaggedValue res = SlowRuntimeStub::GetPropIterator(thread, GET_ACC()); in RunInternal() 1632 JSTaggedValue res = SlowRuntimeStub::CloseIterator(thread, iter); in RunInternal() 1663 JSTaggedValue res = SlowRuntimeStub::Add2(thread, left, right); in RunInternal() 1694 JSTaggedValue res = SlowRuntimeStub::Sub2(thread, left, right); in RunInternal() 1712 JSTaggedValue res = SlowRuntimeStub::Mul2(thread, left, right); in RunInternal() 1731 JSTaggedValue slowRes = SlowRuntimeStub::Div2(thread, left, right); in RunInternal() [all …]
|
D | interpreter_assembly.cpp | 636 JSTaggedValue res = SlowRuntimeStub::GetUnmapedArgs(thread, sp, actualNumArgs, startIdx); in HandleGetunmappedargs() 648 JSTaggedValue res = SlowRuntimeStub::AsyncFunctionEnter(thread); in HandleAsyncfunctionenter() 666 JSTaggedValue res = SlowRuntimeStub::ToNumber(thread, value); in HandleTonumberImm8() 690 JSTaggedValue res = SlowRuntimeStub::Neg(thread, value); in HandleNegImm8() 714 JSTaggedValue res = SlowRuntimeStub::Not(thread, value); in HandleNotImm8() 741 JSTaggedValue res = SlowRuntimeStub::Inc(thread, value); in HandleIncImm8() 768 JSTaggedValue res = SlowRuntimeStub::Dec(thread, value); in HandleDecImm8() 781 SlowRuntimeStub::Throw(thread, GET_ACC()); in HandleThrow() 801 JSTaggedValue res = SlowRuntimeStub::GetPropIterator(thread, GET_ACC()); in HandleGetpropiterator() 847 JSTaggedValue res = SlowRuntimeStub::GetIterator(thread, obj); in HandleGetiteratorImm8() [all …]
|
D | slow_runtime_stub.h | 27 class SlowRuntimeStub {
|
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
D | ic_compareop_test.cpp | 88 JSTaggedValue resInSlowPath1 = SlowRuntimeStub::Eq(thread, arg1Handle.GetTaggedValue(), in HWTEST_F_L0() 90 …JSTaggedValue resInSlowPath2 = SlowRuntimeStub::Eq(thread, Str1.GetTaggedValue(), arg1Handle.GetTa… in HWTEST_F_L0() 91 …JSTaggedValue resInSlowPath3 = SlowRuntimeStub::Eq(thread, Str1.GetTaggedValue(), arg3Handle.GetTa… in HWTEST_F_L0() 92 …JSTaggedValue resInSlowPath4 = SlowRuntimeStub::Eq(thread, Str1.GetTaggedValue(), arg4Handle.GetTa… in HWTEST_F_L0() 93 JSTaggedValue resInSlowPath5 = SlowRuntimeStub::Eq(thread, booleanObjHandle.GetTaggedValue(), in HWTEST_F_L0() 95 …JSTaggedValue resInSlowPath9 = SlowRuntimeStub::Eq(thread, JSTaggedValue::Undefined(), JSTaggedVal… in HWTEST_F_L0() 96 …JSTaggedValue resInSlowPath10 = SlowRuntimeStub::Eq(thread, JSTaggedValue::Undefined(), JSTaggedVa… in HWTEST_F_L0() 147 JSTaggedValue resInSlowPath1 = SlowRuntimeStub::NotEq(thread, arg1Handle.GetTaggedValue(), in HWTEST_F_L0() 149 JSTaggedValue resInSlowPath2 = SlowRuntimeStub::NotEq(thread, Str1.GetTaggedValue(), in HWTEST_F_L0() 151 JSTaggedValue resInSlowPath3 = SlowRuntimeStub::NotEq(thread, Str1.GetTaggedValue(), in HWTEST_F_L0() [all …]
|
D | ic_binaryop_test.cpp | 70 JSTaggedValue resInSlowPath1 = SlowRuntimeStub::Add2(thread, arg1.GetTaggedValue(), in HWTEST_F_L0() 77 JSTaggedValue resInSlowPath2 = SlowRuntimeStub::Add2(thread, arg1.GetTaggedValue(), in HWTEST_F_L0() 84 JSTaggedValue resInSlowPath3 = SlowRuntimeStub::Add2(thread, Str1.GetTaggedValue(), in HWTEST_F_L0() 92 JSTaggedValue resInSlowPath4 = SlowRuntimeStub::Add2(thread, JSTaggedValue::Undefined(), in HWTEST_F_L0() 100 JSTaggedValue resInSlowPath5 = SlowRuntimeStub::Add2(thread, arg3.GetTaggedValue(), in HWTEST_F_L0() 109 JSTaggedValue resInSlowPath6 = SlowRuntimeStub::Add2(thread, Str1.GetTaggedValue(), in HWTEST_F_L0() 117 JSTaggedValue resInSlowPath7 = SlowRuntimeStub::Add2(thread, arg1.GetTaggedValue(), in HWTEST_F_L0() 124 JSTaggedValue resInSlowPath8 = SlowRuntimeStub::Add2(thread, arg4.GetTaggedValue(), in HWTEST_F_L0() 142 …JSTaggedValue resInSlowPath1 = SlowRuntimeStub::Sub2(thread, arg1.GetTaggedValue(), arg2.GetTagged… in HWTEST_F_L0() 148 …JSTaggedValue resInSlowPath2 = SlowRuntimeStub::Sub2(thread, arg2.GetTaggedValue(), arg3.GetTagged… in HWTEST_F_L0() [all …]
|
D | ic_runtime_test.cpp | 184 SlowRuntimeStub::StGlobalRecord(thread, handleKeyWithString.GetTaggedValue(), in HWTEST_F_L0()
|
D | ic_runtime_stub_test.cpp | 86 …SlowRuntimeStub::StGlobalRecord(thread, propKey.GetTaggedValue(), handleValue.GetTaggedValue(), fa… in HWTEST_F_L0() 118 …SlowRuntimeStub::StGlobalRecord(thread, propKey.GetTaggedValue(), handleBoxValue.GetTaggedValue(),… in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/require/ |
D | js_require_manager.cpp | 38 SlowRuntimeStub::StObjByName(thread, module.GetTaggedValue(), exportsKey.GetTaggedValue(), in InitializeCommonJS() 45 SlowRuntimeStub::StObjByName(thread, require.GetTaggedValue(), parentKey.GetTaggedValue(), in InitializeCommonJS() 51 SlowRuntimeStub::LdObjByName(thread, moduleObj.GetTaggedValue(), in InitializeCommonJS() 56 SlowRuntimeStub::StObjByName(thread, moduleObj.GetTaggedValue(), cacheKey.GetTaggedValue(), in InitializeCommonJS() 71 … JSTaggedValue executedCacheVal = SlowRuntimeStub::LdObjByName(thread, moduleObj.GetTaggedValue(), in CollectExecutedExp() 78 SlowRuntimeStub::StObjByName(thread, moduleObj.GetTaggedValue(), cacheKey.GetTaggedValue(), in CollectExecutedExp()
|
D | js_cjs_module.cpp | 39 SlowRuntimeStub::StObjByName(thread, module.GetTaggedValue(), dirKey.GetTaggedValue(), in InitializeModule() 42 SlowRuntimeStub::StObjByName(thread, module.GetTaggedValue(), filenameKey.GetTaggedValue(), in InitializeModule() 56 JSTaggedValue modCache = SlowRuntimeStub::LdObjByName(thread, moduleObj.GetTaggedValue(), in SearchFromModuleCache() 65 … JSTaggedValue cachedExports = SlowRuntimeStub::LdObjByName(thread, cachedModule.GetTaggedValue(), in SearchFromModuleCache() 82 JSTaggedValue modCache = SlowRuntimeStub::LdObjByName(thread, moduleObj.GetTaggedValue(), in PutIntoCache() 90 SlowRuntimeStub::StObjByName(thread, moduleObj.GetTaggedValue(), cacheName.GetTaggedValue(), in PutIntoCache() 147 SlowRuntimeStub::StObjByName(thread, module.GetTaggedValue(), exportsKey.GetTaggedValue(), in Load()
|
/arkcompiler/ets_runtime/ecmascript/require/tests/ |
D | js_cjs_module_test.cpp | 78 SlowRuntimeStub::StObjByName(thread, module1.GetTaggedValue(), exportsName.GetTaggedValue(), in HWTEST_F_L0() 80 SlowRuntimeStub::StObjByName(thread, module2.GetTaggedValue(), exportsName.GetTaggedValue(), in HWTEST_F_L0() 87 SlowRuntimeStub::StObjByName(thread, moduleObj.GetTaggedValue(), cacheName.GetTaggedValue(), in HWTEST_F_L0() 116 SlowRuntimeStub::StObjByName(thread, module.GetTaggedValue(), exportsName.GetTaggedValue(), in HWTEST_F_L0()
|
D | js_cjs_manager_test.cpp | 74 SlowRuntimeStub::LdObjByName(thread, module.GetTaggedValue(), in HWTEST_F_L0() 104 SlowRuntimeStub::StObjByName(thread, module2.GetTaggedValue(), exportsName.GetTaggedValue(), in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
D | ic_runtime.cpp | 160 JSTaggedValue box = SlowRuntimeStub::LdGlobalRecord(thread_, key.GetTaggedValue()); in LoadMiss() 176 … return SlowRuntimeStub::ThrowReferenceError(GetThread(), key.GetTaggedValue(), " is not defined"); in LoadMiss() 207 JSTaggedValue box = SlowRuntimeStub::LdGlobalRecord(thread_, key.GetTaggedValue()); in StoreMiss() 210 … SlowRuntimeStub::TryUpdateGlobalRecord(thread_, key.GetTaggedValue(), value.GetTaggedValue()); in StoreMiss() 225 … return SlowRuntimeStub::ThrowReferenceError(GetThread(), key.GetTaggedValue(), " is not defined"); in StoreMiss()
|
D | ic_binary_op.h | 96 JSTaggedValue res = SlowRuntimeStub::Add2(thread, left, right); in AddWithTSType() 197 auto res = SlowRuntimeStub::Div2(thread, left, right); in DivWithTSType() 275 JSTaggedValue taggedNumber0 = SlowRuntimeStub::ToJSTaggedValueWithInt32(thread, in GetBitOPDate() 277 JSTaggedValue taggedNumber1 = SlowRuntimeStub::ToJSTaggedValueWithUint32(thread, in GetBitOPDate()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_generator_object_test.cpp | 74 … SlowRuntimeStub::CreateGeneratorObj(thread, env->GetGeneratorFunctionFunction().GetTaggedValue()); in HWTEST_F_L0() 111 … SlowRuntimeStub::CreateGeneratorObj(thread, env->GetGeneratorFunctionFunction().GetTaggedValue()); in HWTEST_F_L0() 137 … SlowRuntimeStub::CreateGeneratorObj(thread, env->GetGeneratorFunctionFunction().GetTaggedValue()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_vm.h | 79 class SlowRuntimeStub; variable
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
D | debugger_api.cpp | 313 JSTaggedValue globalRec = SlowRuntimeStub::LdGlobalRecord(thread, key); in GetGlobalValue() 324 result = SlowRuntimeStub::TryLdGlobalByNameFromGlobalProto(thread, globalObj, key); in GetGlobalValue() 339 JSTaggedValue globalRec = SlowRuntimeStub::LdGlobalRecord(thread, key); in SetGlobalValue() 341 result = SlowRuntimeStub::TryUpdateGlobalRecord(thread, key, newVal); in SetGlobalValue() 347 result = SlowRuntimeStub::StGlobalVar(thread, key, newVal); in SetGlobalValue()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | runtime_stubs.cpp | 898 auto res = SlowRuntimeStub::Shl2(thread, left, right); in DEF_RUNTIME_STUBS() 908 auto res = SlowRuntimeStub::Shr2(thread, left, right); in DEF_RUNTIME_STUBS() 918 auto res = SlowRuntimeStub::Ashr2(thread, left, right); in DEF_RUNTIME_STUBS() 928 auto res = SlowRuntimeStub::And2(thread, left, right); in DEF_RUNTIME_STUBS() 938 auto res = SlowRuntimeStub::Xor2(thread, left, right); in DEF_RUNTIME_STUBS() 948 auto res = SlowRuntimeStub::Or2(thread, left, right); in DEF_RUNTIME_STUBS()
|
D | runtime_stubs.h | 681 friend class SlowRuntimeStub; variable
|