/external/webkit/Source/JavaScriptCore/jit/ |
ThunkGenerators.cpp | 43 // Load string length to regT2, and start the process of loading the data pointer into regT0 44 jit.load32(MacroAssembler::Address(SpecializedThunkJIT::regT0, ThunkHelpers::jsStringLengthOffset()), SpecializedThunkJIT::regT2); 52 jit.appendFailure(jit.branch32(MacroAssembler::AboveOrEqual, SpecializedThunkJIT::regT1, SpecializedThunkJIT::regT2));
|
JITCall.cpp | 73 addPtr(Imm32(registerOffset), regT1, regT2); 80 mul32(TrustedImm32(sizeof(Register)), regT2, regT2); 82 addPtr(Imm32((int32_t)offset), regT2, regT3); 85 addPtr(regT2, callFrameRegister); 98 stubCall.addArgument(regT2);
|
JITCall32_64.cpp | 71 emitLoadPayload(argCountRegister, regT2); // argCount 72 addPtr(Imm32(registerOffset), regT2, regT3); // registerOffset 84 move(regT2, regT1); // argCount 101 stubCall.addArgument(regT2); 112 emitGetFromCallFrameHeaderPtr(RegisterFile::ReturnPC, regT2); 115 restoreReturnAddressBeforeReturn(regT2); 126 loadPtr(Address(regT0, JSCell::structureOffset()), regT2); 127 Jump notObject = branch8(NotEqual, Address(regT2, Structure::typeInfoTypeOffset()), TrustedImm32(ObjectType)); 129 emitGetFromCallFrameHeaderPtr(RegisterFile::ReturnPC, regT2); 132 restoreReturnAddressBeforeReturn(regT2); [all...] |
JSInterfaceJIT.h | 65 static const RegisterID regT2 = X86Registers::ecx; 84 static const RegisterID regT2 = X86Registers::ecx; 98 static const RegisterID regT2 = ARMRegisters::r2; 118 static const RegisterID regT2 = ARMRegisters::r2; 144 static const RegisterID regT2 = MIPSRegisters::t4; 162 static const RegisterID regT2 = SH4Registers::r2;
|
JITArithmetic32_64.cpp | 117 emitLoad(op2, regT3, regT2); 119 addJump(branch32(LessThanOrEqual, regT2, Imm32(getConstantOperand(op1).asInt32())), target); 125 emitLoad2(op1, regT1, regT0, op2, regT3, regT2); 128 addJump(branch32(GreaterThanOrEqual, regT0, regT2), target); 205 emitLoad(op2, regT3, regT2); 207 addJump(branch32(GreaterThan, regT2, Imm32(getConstantOperand(op1).asInt32())), target); 213 emitLoad2(op1, regT1, regT0, op2, regT3, regT2); 216 addJump(branch32(LessThan, regT0, regT2), target); 292 emitLoad(op2, regT3, regT2); 294 addJump(branch32(invert ? LessThan : GreaterThanOrEqual, regT2, Imm32(getConstantOperand(op1).asInt32())), target) [all...] |
JITPropertyAccess.cpp | 61 jit.load32(Address(regT0, ThunkHelpers::jsStringLengthOffset()), regT2); 66 failures.append(jit.branch32(AboveOrEqual, regT1, regT2)); 104 loadPtr(Address(regT0, JSArray::storageOffset()), regT2); 107 loadPtr(BaseIndex(regT2, regT1, ScalePtr, OBJECT_OFFSETOF(ArrayStorage, m_vector[0])), regT0); 136 stubCall.addArgument(base, regT2); 137 stubCall.addArgument(property, regT2); 162 loadPtr(Address(regT0, JSCell::structureOffset()), regT2); 163 addSlowCase(branchPtr(NotEqual, regT2, Address(regT1, OBJECT_OFFSETOF(JSPropertyNameIterator, m_cachedStructure)))); 184 stubCall.addArgument(base, regT2); 185 stubCall.addArgument(property, regT2); [all...] |
JITPropertyAccess32_64.cpp | 217 DataLabelPtr protoStructureToCompare, protoObj = moveWithPatch(TrustedImmPtr(0), regT2); 218 Jump protoStructureCheck = branchPtrWithPatch(NotEqual, Address(regT2, JSCell::structureOffset()), protoStructureToCompare, TrustedImmPtr(reinterpret_cast<void*>(patchGetByIdDefaultStructure))); 283 failures.append(jit.branch32(AboveOrEqual, regT2, regT1)); 286 jit.load16(BaseIndex(regT0, regT2, TimesTwo, 0), regT0); 308 emitLoad2(base, regT1, regT0, property, regT3, regT2); 315 addSlowCase(branch32(AboveOrEqual, regT2, Address(regT0, JSArray::vectorLengthOffset()))); 317 load32(BaseIndex(regT3, regT2, TimesEight, OBJECT_OFFSETOF(ArrayStorage, m_vector[0]) + OBJECT_OFFSETOF(JSValue, u.asBits.tag)), regT1); // tag 318 load32(BaseIndex(regT3, regT2, TimesEight, OBJECT_OFFSETOF(ArrayStorage, m_vector[0]) + OBJECT_OFFSETOF(JSValue, u.asBits.payload)), regT0); // payload 360 emitLoad2(base, regT1, regT0, property, regT3, regT2); 365 addSlowCase(branch32(AboveOrEqual, regT2, Address(regT0, JSArray::vectorLengthOffset()))) [all...] |
JITOpcodes.cpp | 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)) [all...] |
JITOpcodes32_64.cpp | 59 load32(Address(regT0, OBJECT_OFFSETOF(JSString, m_length)), regT2); 61 Jump string_failureCases3 = branch32(Above, regT2, TrustedImm32(INT_MAX)); 62 move(regT2, regT0); 72 // regT0 holds callee, regT1 holds argCount. regT2 will hold the FunctionExecutable. 85 // regT0 holds callee, regT1 holds argCount. regT2 will hold the FunctionExecutable. 100 // regT0 holds callee, regT1 holds argCount. regT2 will hold the FunctionExecutable. 104 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2); 106 Jump hasCodeBlock3 = branch32(GreaterThanOrEqual, Address(regT2, OBJECT_OFFSETOF(FunctionExecutable, m_numParametersForCall)), TrustedImm32(0)); 113 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2); 116 loadPtr(Address(regT2, OBJECT_OFFSETOF(FunctionExecutable, m_jitCodeForCallWithArityCheck)), regT0) [all...] |