Lines Matching refs:state
528 AsmInterpretedFrame *state = GET_ASM_FRAME(sp);
530 << std::hex << reinterpret_cast<uintptr_t>(state->pc);
531 Method *method = ECMAObject::Cast(state->function.GetTaggedObject())->GetCallTarget();
535 sp = state->base.prev;
543 state->acc = acc;
556 AsmInterpretedFrame *state = GET_ASM_FRAME(sp);
558 << std::hex << reinterpret_cast<uintptr_t>(state->pc);
559 Method *method = ECMAObject::Cast(state->function.GetTaggedObject())->GetCallTarget();
563 sp = state->base.prev;
571 state->acc = JSTaggedValue::Undefined();
1638 AsmInterpretedFrame *state = GET_ASM_FRAME(sp);
1639 JSTaggedValue currentLexenv = state->env;
1659 AsmInterpretedFrame *state = GET_ASM_FRAME(sp);
1660 JSTaggedValue currentLexenv = state->env;
1681 AsmInterpretedFrame *state = GET_ASM_FRAME(sp);
1682 JSTaggedValue env = state->env;
1703 AsmInterpretedFrame *state = GET_ASM_FRAME(sp);
1704 JSTaggedValue env = state->env;
1725 AsmInterpretedFrame *state = GET_ASM_FRAME(sp);
1726 JSTaggedValue env = state->env;
1760 AsmInterpretedFrame *state = GET_ASM_FRAME(sp);
1761 JSTaggedValue currentLexenv = state->env;
1800 AsmInterpretedFrame *state = GET_ASM_FRAME(sp);
1801 Method *method = ECMAObject::Cast(state->function.GetTaggedObject())->GetCallTarget();
1805 << std::hex << reinterpret_cast<uintptr_t>(state->pc);
1806 sp = state->base.prev;
1814 state->acc = acc;
2275 // IC miss and not enter the megamorphic state, store as polymorphic
2355 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
2356 auto tmpProfileTypeInfo = state->profileTypeInfo;
2407 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
2408 auto tmpProfileTypeInfo = state->profileTypeInfo;
2546 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
2547 auto tmpProfileTypeInfo = state->profileTypeInfo;
2579 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
2580 auto tmpProfileTypeInfo = state->profileTypeInfo;
2598 } else if (!firstValue.IsHole()) { // IC miss and not enter the megamorphic state, store as polymorphic
2694 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
2695 auto tmpProfileTypeInfo = state->profileTypeInfo;
2763 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(sp) - 1);
2764 Method *method = JSFunction::Cast(state->function.GetTaggedObject())->GetCallTarget();
2768 << std::hex << reinterpret_cast<uintptr_t>(state->pc);
2769 sp = state->base.prev;
2775 state->acc = acc;
3095 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
3096 auto tmpProfileTypeInfo = state->profileTypeInfo;
3110 // IC miss and not enter the megamorphic state, store as polymorphic
3372 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
3373 JSTaggedValue currentLexenv = state->env;
3561 InterpretedBuiltinFrame *state = GET_BUILTIN_FRAME(newSp);
3562 state->base.prev = sp;
3563 state->base.type = FrameType::INTERPRETER_BUILTIN_FRAME;
3564 state->pc = nullptr;
3565 state->function = superCtor;
3590 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(newSp) - 1;
3605 thisObj = FastRuntimeStub::NewThisObject(thread, superCtor, newTarget, state);
3616 state->function = superCtor;
3617 state->constpool = methodHandle->GetConstantPool();
3618 state->profileTypeInfo = superCtorFunc->GetProfileTypeInfo();
3619 state->env = superCtorFunc->GetLexicalEnv();
3634 state->base.prev = sp;
3635 state->base.type = FrameType::INTERPRETER_FAST_NEW_FRAME;
3636 state->thisObj = thisObj;
3637 state->pc = pc = methodHandle->GetBytecodeArray();
3639 state->acc = JSTaggedValue::Hole();
3704 InterpretedBuiltinFrame *state = GET_BUILTIN_FRAME(newSp);
3705 state->base.prev = sp;
3706 state->base.type = FrameType::INTERPRETER_BUILTIN_FRAME;
3707 state->pc = nullptr;
3708 state->function = superCtor;
3733 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(newSp) - 1;
3748 thisObj = FastRuntimeStub::NewThisObject(thread, superCtor, newTarget, state);
3759 state->function = superCtor;
3760 state->constpool = methodHandle->GetConstantPool();
3761 state->profileTypeInfo = superCtorFunc->GetProfileTypeInfo();
3762 state->env = superCtorFunc->GetLexicalEnv();
3777 state->base.prev = sp;
3778 state->base.type = FrameType::INTERPRETER_FAST_NEW_FRAME;
3779 state->thisObj = thisObj;
3780 state->pc = pc = methodHandle->GetBytecodeArray();
3782 state->acc = JSTaggedValue::Hole();
3892 InterpretedBuiltinFrame *state = GET_BUILTIN_FRAME(newSp);
3893 state->base.prev = sp;
3894 state->base.type = FrameType::INTERPRETER_BUILTIN_FRAME;
3895 state->pc = nullptr;
3896 state->function = ctor;
3921 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(newSp) - 1);
3936 thisObj = FastRuntimeStub::NewThisObject(thread, ctor, ctor, state);
3947 state->function = ctor;
3948 state->constpool = methodHandle->GetConstantPool();
3949 state->profileTypeInfo = ctorFunc->GetProfileTypeInfo();
3950 state->env = ctorFunc->GetLexicalEnv();
3965 state->base.prev = sp;
3966 state->base.type = FrameType::INTERPRETER_FAST_NEW_FRAME;
3967 state->thisObj = thisObj;
3968 state->pc = pc = methodHandle->GetBytecodeArray();
3970 state->acc = JSTaggedValue::Hole();
4227 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(sp) - 1);
4228 JSTaggedValue env = state->env;
4250 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(sp) - 1);
4251 JSTaggedValue env = state->env;
4273 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(sp) - 1);
4274 JSTaggedValue env = state->env;
4471 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(sp) - 1);
4472 Method *method = JSFunction::Cast(state->function.GetTaggedObject())->GetCallTarget();
4476 << std::hex << reinterpret_cast<uintptr_t>(state->pc);
4477 sp = state->base.prev;
4483 state->acc = acc;
4862 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(sp) - 1);
4863 JSTaggedValue currentLexenv = state->env;
4874 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(sp) - 1);
4875 JSTaggedValue currentLexenv = state->env;
5191 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
5192 JSTaggedValue constantPool = state->constpool;
5342 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
5343 auto tmpProfileTypeInfo = state->profileTypeInfo;
5361 } else if (!firstValue.IsHole()) { // IC miss and not enter the megamorphic state, store as polymorphic
5416 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
5417 auto tmpProfileTypeInfo = state->profileTypeInfo;
5433 } else if (!firstValue.IsHole()) { // IC miss and not enter the megamorphic state, store as polymorphic
5483 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
5484 auto tmpProfileTypeInfo = state->profileTypeInfo;
5500 } else if (!firstValue.IsHole()) { // IC miss and not enter the megamorphic state, store as polymorphic
5561 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
5562 auto tmpProfileTypeInfo = state->profileTypeInfo;
5618 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
5619 auto tmpProfileTypeInfo = state->profileTypeInfo;
5810 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
5811 auto tmpProfileTypeInfo = state->profileTypeInfo;
5822 // IC miss and not enter the megamorphic state, store as polymorphic
5866 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
5867 auto tmpProfileTypeInfo = state->profileTypeInfo;
5878 // IC miss and not enter the megamorphic state, store as polymorphic
5935 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(sp) - 1);
5940 SlowRuntimeStub::CreateClassWithBuffer(thread, proto, state->env, GetConstantPool(sp),
5964 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(sp) - 1);
5966 SlowRuntimeStub::CreateClassWithBuffer(thread, proto, state->env, GetConstantPool(sp),
6121 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(sp) - 1);
6122 auto res = SlowRuntimeStub::LdSendableClass(thread, state->env, level);
6152 // IC miss and not enter the megamorphic state, store as polymorphic
6216 // IC miss and not enter the megamorphic state, store as polymorphic
6266 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
6267 auto tmpProfileTypeInfo = state->profileTypeInfo;
6278 // IC miss and not enter the megamorphic state, store as polymorphic
6320 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
6321 auto tmpProfileTypeInfo = state->profileTypeInfo;
6332 // IC miss and not enter the megamorphic state, store as polymorphic
6382 // IC miss and not enter the megamorphic state, store as polymorphic
6454 // IC miss and not enter the megamorphic state, store as polymorphic
6528 } else if (!firstValue.IsHole()) { // IC miss and not enter the megamorphic state, store as polymorphic
6589 } else if (!firstValue.IsHole()) { // IC miss and not enter the megamorphic state, store as polymorphic
6831 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(sp) - 1);
6832 JSTaggedValue taggedCurEnv = state->env;
6941 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(sp) - 1);
6942 JSTaggedValue taggedCurEnv = state->env;
6960 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(sp) - 1);
6961 JSTaggedValue envHandle = state->env;
6982 AsmInterpretedFrame *state = (reinterpret_cast<AsmInterpretedFrame *>(sp) - 1);
6983 JSTaggedValue envHandle = state->env;
7044 InterpretedBuiltinFrame *state = GET_BUILTIN_FRAME(newSp);
7045 state->base.prev = sp;
7046 state->base.type = FrameType::INTERPRETER_BUILTIN_FRAME;
7047 state->pc = nullptr;
7048 state->function = superCtor;
7073 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(newSp) - 1;
7088 thisObj = FastRuntimeStub::NewThisObject(thread, superCtor, newTarget, state);
7099 state->function = superCtor;
7100 state->constpool = methodHandle->GetConstantPool();
7101 state->profileTypeInfo = superCtorFunc->GetProfileTypeInfo();
7102 state->env = superCtorFunc->GetLexicalEnv();
7117 state->base.prev = sp;
7118 state->base.type = FrameType::INTERPRETER_FAST_NEW_FRAME;
7119 state->thisObj = thisObj;
7120 state->pc = pc = methodHandle->GetBytecodeArray();
7122 state->acc = JSTaggedValue::Hole();
7187 InterpretedBuiltinFrame *state = GET_BUILTIN_FRAME(newSp);
7188 state->base.prev = sp;
7189 state->base.type = FrameType::INTERPRETER_BUILTIN_FRAME;
7190 state->pc = nullptr;
7191 state->function = superCtor;
7216 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(newSp) - 1;
7231 thisObj = FastRuntimeStub::NewThisObject(thread, superCtor, newTarget, state);
7242 state->function = superCtor;
7243 state->constpool = methodHandle->GetConstantPool();
7244 state->profileTypeInfo = superCtorFunc->GetProfileTypeInfo();
7245 state->env = superCtorFunc->GetLexicalEnv();
7260 state->base.prev = sp;
7261 state->base.type = FrameType::INTERPRETER_FAST_NEW_FRAME;
7262 state->thisObj = thisObj;
7263 state->pc = pc = methodHandle->GetBytecodeArray();
7265 state->acc = JSTaggedValue::Hole();
7363 InterpretedBuiltinFrame *state = GET_BUILTIN_FRAME(newSp);
7364 state->base.prev = sp;
7365 state->base.type = FrameType::INTERPRETER_BUILTIN_FRAME;
7366 state->pc = nullptr;
7367 state->function = ctor;
7392 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(newSp) - 1);
7407 thisObj = FastRuntimeStub::NewThisObject(thread, ctor, ctor, state);
7418 state->function = ctor;
7419 state->constpool = methodHandle->GetConstantPool();
7420 state->profileTypeInfo = ctorFunc->GetProfileTypeInfo();
7421 state->env = ctorFunc->GetLexicalEnv();
7436 state->base.prev = sp;
7437 state->base.type = FrameType::INTERPRETER_FAST_NEW_FRAME;
7438 state->thisObj = thisObj;
7439 state->pc = pc = methodHandle->GetBytecodeArray();
7441 state->acc = JSTaggedValue::Hole();
7505 InterpretedBuiltinFrame *state = GET_BUILTIN_FRAME(newSp);
7506 state->base.prev = sp;
7507 state->base.type = FrameType::INTERPRETER_BUILTIN_FRAME;
7508 state->pc = nullptr;
7509 state->function = ctor;
7534 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(newSp) - 1);
7549 thisObj = FastRuntimeStub::NewThisObject(thread, ctor, ctor, state);
7560 state->function = ctor;
7561 state->constpool = methodHandle->GetConstantPool();
7562 state->profileTypeInfo = ctorFunc->GetProfileTypeInfo();
7563 state->env = ctorFunc->GetLexicalEnv();
7578 state->base.prev = sp;
7579 state->base.type = FrameType::INTERPRETER_FAST_NEW_FRAME;
7580 state->thisObj = thisObj;
7581 state->pc = pc = methodHandle->GetBytecodeArray();
7583 state->acc = JSTaggedValue::Hole();
7651 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(sp) - 1);
7654 JSTaggedValue res = SlowRuntimeStub::CreateObjectHavingMethod(thread, factory, result, state->env);
7672 InterpretedFrame *state = (reinterpret_cast<InterpretedFrame *>(sp) - 1);
7675 JSTaggedValue res = SlowRuntimeStub::CreateObjectHavingMethod(thread, factory, result, state->env);
7726 InterpretedFrame *state = reinterpret_cast<InterpretedFrame *>(sp) - 1;
7727 JSTaggedValue constantPool = state->constpool;
7878 AsmInterpretedFrame *state = reinterpret_cast<AsmInterpretedFrame *>(sp) - 1;
7879 return JSTaggedValue(state->function);
7885 AsmInterpretedFrame *state = reinterpret_cast<AsmInterpretedFrame *>(sp) - 1;
7886 return JSTaggedValue(state->thisObj);
7892 AsmInterpretedFrame *state = reinterpret_cast<AsmInterpretedFrame *>(sp) - 1;
7893 Method *method = JSFunction::Cast(state->function.GetTaggedObject())->GetCallTarget();
7903 AsmInterpretedFrame *state = reinterpret_cast<AsmInterpretedFrame *>(sp) - 1;
7904 Method *method = JSFunction::Cast(state->function.GetTaggedObject())->GetCallTarget();
7910 AsmInterpretedFrame *state = reinterpret_cast<AsmInterpretedFrame *>(sp) - 1;
7911 Method *method = JSFunction::Cast(state->function.GetTaggedObject())->GetCallTarget();
7918 AsmInterpretedFrame *state = reinterpret_cast<AsmInterpretedFrame *>(sp) - 1;
7919 return JSFunction::Cast(state->function.GetTaggedObject())->GetModule();
7925 AsmInterpretedFrame *state = reinterpret_cast<AsmInterpretedFrame *>(sp) - 1;
7926 JSFunction *function = JSFunction::Cast(state->function.GetTaggedObject());
7930 JSTaggedType *InterpreterAssembly::GetAsmInterpreterFramePointer(AsmInterpretedFrame *state)
7932 return state->GetCurrentFramePointer();
7938 AsmInterpretedFrame *state = reinterpret_cast<AsmInterpretedFrame *>(sp) - 1;
7939 Method *method = JSFunction::Cast(state->function.GetTaggedObject())->GetCallTarget();
7949 JSTaggedType *fp = GetAsmInterpreterFramePointer(state);
7969 AsmInterpretedFrame *state = GET_ASM_FRAME(sp);
7971 JSFunction* function = JSFunction::Cast(state->function.GetTaggedObject());