Home | History | Annotate | Download | only in jit

Lines Matching refs:regT2

72     // regT0 holds callee, regT1 holds argCount.  regT2 will hold the FunctionExecutable.
86 // regT0 holds callee, regT1 holds argCount. regT2 will hold the FunctionExecutable.
99 // regT0 holds callee, regT1 holds argCount. regT2 will hold the FunctionExecutable.
103 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2);
105 Jump hasCodeBlock3 = branch32(GreaterThanOrEqual, Address(regT2, OBJECT_OFFSETOF(FunctionExecutable, m_numParametersForCall)), TrustedImm32(0));
112 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2);
115 loadPtr(Address(regT2, OBJECT_OFFSETOF(FunctionExecutable, m_jitCodeForCallWithArityCheck)), regT0);
119 // regT0 holds callee, regT1 holds argCount. regT2 will hold the FunctionExecutable.
123 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2);
125 Jump hasCodeBlock4 = branch32(GreaterThanOrEqual, Address(regT2, OBJECT_OFFSETOF(FunctionExecutable, m_numParametersForConstruct)), TrustedImm32(0));
132 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2);
135 loadPtr(Address(regT2, OBJECT_OFFSETOF(FunctionExecutable, m_jitCodeForConstructWithArityCheck)), regT0);
144 move(TrustedImmPtr(&globalData->exceptionLocation), regT2);
145 storePtr(regT1, regT2);
223 emitGetFromCallFrameHeaderPtr(RegisterFile::CallerFrame, regT2);
224 emitGetFromCallFrameHeaderPtr(RegisterFile::ScopeChain, regT1, regT2);
235 move(regT2, callFrameRegister); // Eagerly restore caller frame register to avoid loading from stack.
236 loadPtr(Address(ARMRegisters::r1, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2);
237 call(Address(regT2, executableOffsetToFunction));
263 loadPtr(Address(MIPSRegisters::a2, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2);
265 call(Address(regT2, executableOffsetToFunction));
280 loadPtr(&(globalData->exception), regT2);
281 Jump exceptionHandler = branchTestPtr(NonZero, regT2);
292 move(TrustedImmPtr(&globalData->exceptionLocation), regT2);
293 storePtr(regT1, regT2);
394 emitGetVirtualRegister(value, regT2);
399 emitJumpSlowCaseIfNotJSCell(regT2, value);
412 // Initially, regT1 still contains proto and regT2 still contains value.
413 // As we loop regT2 will be updated with its prototype, recursively walking the prototype chain.
417 // Load the prototype of the object in regT2. If this is equal to regT1 - WIN!
419 loadPtr(Address(regT2, JSCell::structureOffset()), regT2);
420 loadPtr(Address(regT2, Structure::prototypeOffset()), regT2);
421 Jump isInstance = branchPtr(Equal, regT2, regT1);
422 emitJumpIfJSCell(regT2).linkTo(loop, this);
522 stubCall.addArgument(activation, regT2);
523 stubCall.addArgument(unmodifiedArgumentsRegister(arguments), regT2);
534 stubCall.addArgument(unmodifiedArgumentsRegister(dst), regT2);
568 loadPtr(Address(returnValueRegister, JSCell::structureOffset()), regT2);
569 Jump notObject = branch8(NotEqual, Address(regT2, Structure::typeInfoTypeOffset()), TrustedImm32(ObjectType));
733 loadPtr(Address(regT0, JSCell::structureOffset()), regT2);
734 addJump(branchTest8(NonZero, Address(regT2, Structure::typeInfoFlagsOffset()), TrustedImm32(MasqueradesAsUndefined)), target);
754 loadPtr(Address(regT0, JSCell::structureOffset()), regT2);
755 addJump(branchTest8(Zero, Address(regT2, Structure::typeInfoFlagsOffset()), TrustedImm32(MasqueradesAsUndefined)), target);
799 emitJumpSlowCaseIfNotImmediateIntegers(regT0, regT1, regT2);
847 emitJumpSlowCaseIfNotImmediateIntegers(regT0, regT1, regT2);
858 emitJumpSlowCaseIfNotImmediateIntegers(regT0, regT1, regT2);
867 emitJumpSlowCaseIfNotImmediateIntegers(regT0, regT1, regT2);
875 stubCall.addArgument(currentInstruction[1].u.operand, regT2);
899 loadPtr(Address(regT0, JSCell::structureOffset()), regT2);
900 isNotObject.append(branch8(NotEqual, Address(regT2, Structure::typeInfoTypeOffset()), TrustedImm32(ObjectType)));
945 loadPtr(Address(regT1, OBJECT_OFFSETOF(JSPropertyNameIterator, m_jsStrings)), regT2);
947 loadPtr(BaseIndex(regT2, regT0, TimesEight), regT2);
949 emitPutVirtualRegister(dst, regT2);
959 loadPtr(Address(regT0, JSCell::structureOffset()), regT2);
960 callHasProperty.append(branchPtr(NotEqual, regT2, Address(Address(regT1, OBJECT_OFFSETOF(JSPropertyNameIterator, m_cachedStructure)))));
968 loadPtr(Address(regT2, Structure::prototypeOffset()), regT2);
969 callHasProperty.append(emitJumpIfNotJSCell(regT2));
970 loadPtr(Address(regT2, JSCell::structureOffset()), regT2);
971 callHasProperty.append(branchPtr(NotEqual, regT2, Address(regT3)));
997 stubCall.addArgument(currentInstruction[1].u.operand, regT2);
1015 move(regT0, regT2);
1016 orPtr(regT1, regT2);
1017 addSlowCase(emitJumpIfJSCell(regT2));
1018 addSlowCase(emitJumpIfImmediateNumber(regT2));
1047 loadPtr(Address(regT0, JSCell::structureOffset()), regT2);
1048 addSlowCase(branch8(NotEqual, Address(regT2, Structure::typeInfoTypeOffset()), TrustedImm32(NumberType)));
1059 stubCall.addArgument(currentInstruction[3].u.operand, regT2);
1094 stubCall.addArgument(scrutinee, regT2);
1112 stubCall.addArgument(scrutinee, regT2);
1129 stubCall.addArgument(scrutinee, regT2);
1164 loadPtr(Address(regT0, JSCell::structureOffset()), regT2);
1165 set32Test8(NonZero, Address(regT2, Structure::typeInfoFlagsOffset()), TrustedImm32(MasqueradesAsUndefined), regT0);
1189 loadPtr(Address(regT0, JSCell::structureOffset()), regT2);
1190 set32Test8(Zero, Address(regT2, Structure::typeInfoFlagsOffset()), TrustedImm32(MasqueradesAsUndefined), regT0);
1347 stubCall.addArgument(currentInstruction[2].u.operand, regT2);
1374 stubPutByValCall.addArgument(property, regT2);
1375 stubPutByValCall.addArgument(value, regT2);
1482 stubCall.addArgument(baseVal, regT2);
1498 stubCall.addArgument(value, regT2);
1499 stubCall.addArgument(baseVal, regT2);
1500 stubCall.addArgument(proto, regT2);
1569 emitGetFromCallFrameHeader32(RegisterFile::ArgumentCount, regT2);
1570 addSlowCase(branch32(AboveOrEqual, regT1, regT2));
1583 mul32(TrustedImm32(sizeof(Register)), regT2, regT2);
1584 subPtr(regT2, regT0);
1611 stubCall.addArgument(arguments, regT2);
1612 stubCall.addArgument(property, regT2);
1705 addPtr(Imm32(argsOffset * sizeof(Register)), callFrameRegister, regT2); // regT2 is the target buffer
1708 addPtr(regT2, regT3);
1715 storePtr(regT3, BaseIndex(regT2, regT0, TimesEight, static_cast<unsigned>(0 - sizeof(Register))));
1718 storePtr(regT3, BaseIndex(regT2, regT0, TimesEight, static_cast<unsigned>(sizeof(void*) - sizeof(Register))));