Changeset 155418 in webkit for trunk/Source/JavaScriptCore/jit/JITOpcodes.cpp
- Timestamp:
- Sep 9, 2013, 11:01:03 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JITOpcodes.cpp
r155415 r155418 120 120 void JIT::emit_op_check_has_instance(Instruction* currentInstruction) 121 121 { 122 unsignedbaseVal = currentInstruction[3].u.operand;122 int baseVal = currentInstruction[3].u.operand; 123 123 124 124 emitGetVirtualRegister(baseVal, regT0); … … 134 134 void JIT::emit_op_instanceof(Instruction* currentInstruction) 135 135 { 136 unsigneddst = currentInstruction[1].u.operand;137 unsignedvalue = currentInstruction[2].u.operand;138 unsignedproto = currentInstruction[3].u.operand;136 int dst = currentInstruction[1].u.operand; 137 int value = currentInstruction[2].u.operand; 138 int proto = currentInstruction[3].u.operand; 139 139 140 140 // Load the operands (baseVal, proto, and value respectively) into registers. … … 174 174 void JIT::emit_op_is_undefined(Instruction* currentInstruction) 175 175 { 176 unsigneddst = currentInstruction[1].u.operand;177 unsignedvalue = currentInstruction[2].u.operand;176 int dst = currentInstruction[1].u.operand; 177 int value = currentInstruction[2].u.operand; 178 178 179 179 emitGetVirtualRegister(value, regT0); … … 202 202 void JIT::emit_op_is_boolean(Instruction* currentInstruction) 203 203 { 204 unsigneddst = currentInstruction[1].u.operand;205 unsignedvalue = currentInstruction[2].u.operand;204 int dst = currentInstruction[1].u.operand; 205 int value = currentInstruction[2].u.operand; 206 206 207 207 emitGetVirtualRegister(value, regT0); … … 214 214 void JIT::emit_op_is_number(Instruction* currentInstruction) 215 215 { 216 unsigneddst = currentInstruction[1].u.operand;217 unsignedvalue = currentInstruction[2].u.operand;216 int dst = currentInstruction[1].u.operand; 217 int value = currentInstruction[2].u.operand; 218 218 219 219 emitGetVirtualRegister(value, regT0); … … 225 225 void JIT::emit_op_is_string(Instruction* currentInstruction) 226 226 { 227 unsigneddst = currentInstruction[1].u.operand;228 unsignedvalue = currentInstruction[2].u.operand;227 int dst = currentInstruction[1].u.operand; 228 int value = currentInstruction[2].u.operand; 229 229 230 230 emitGetVirtualRegister(value, regT0); … … 377 377 void JIT::emit_op_jeq_null(Instruction* currentInstruction) 378 378 { 379 unsignedsrc = currentInstruction[1].u.operand;379 int src = currentInstruction[1].u.operand; 380 380 unsigned target = currentInstruction[2].u.operand; 381 381 … … 400 400 void JIT::emit_op_jneq_null(Instruction* currentInstruction) 401 401 { 402 unsignedsrc = currentInstruction[1].u.operand;402 int src = currentInstruction[1].u.operand; 403 403 unsigned target = currentInstruction[2].u.operand; 404 404 … … 423 423 void JIT::emit_op_jneq_ptr(Instruction* currentInstruction) 424 424 { 425 unsignedsrc = currentInstruction[1].u.operand;425 int src = currentInstruction[1].u.operand; 426 426 Special::Pointer ptr = currentInstruction[2].u.specialPointer; 427 427 unsigned target = currentInstruction[3].u.operand; … … 618 618 void JIT::compileOpStrictEq(Instruction* currentInstruction, CompileOpStrictEqType type) 619 619 { 620 unsigneddst = currentInstruction[1].u.operand;621 unsignedsrc1 = currentInstruction[2].u.operand;622 unsignedsrc2 = currentInstruction[3].u.operand;620 int dst = currentInstruction[1].u.operand; 621 int src1 = currentInstruction[2].u.operand; 622 int src2 = currentInstruction[3].u.operand; 623 623 624 624 emitGetVirtualRegisters(src1, regT0, src2, regT1); … … 767 767 void JIT::emit_op_eq_null(Instruction* currentInstruction) 768 768 { 769 unsigneddst = currentInstruction[1].u.operand;770 unsignedsrc1 = currentInstruction[2].u.operand;769 int dst = currentInstruction[1].u.operand; 770 int src1 = currentInstruction[2].u.operand; 771 771 772 772 emitGetVirtualRegister(src1, regT0); … … 799 799 void JIT::emit_op_neq_null(Instruction* currentInstruction) 800 800 { 801 unsigneddst = currentInstruction[1].u.operand;802 unsignedsrc1 = currentInstruction[2].u.operand;801 int dst = currentInstruction[1].u.operand; 802 int src1 = currentInstruction[2].u.operand; 803 803 804 804 emitGetVirtualRegister(src1, regT0); … … 842 842 void JIT::emit_op_create_activation(Instruction* currentInstruction) 843 843 { 844 unsigneddst = currentInstruction[1].u.operand;844 int dst = currentInstruction[1].u.operand; 845 845 846 846 Jump activationCreated = branchTest64(NonZero, Address(callFrameRegister, sizeof(Register) * dst)); … … 852 852 void JIT::emit_op_create_arguments(Instruction* currentInstruction) 853 853 { 854 unsigneddst = currentInstruction[1].u.operand;854 int dst = currentInstruction[1].u.operand; 855 855 856 856 Jump argsCreated = branchTest64(NonZero, Address(callFrameRegister, sizeof(Register) * dst)); … … 863 863 void JIT::emit_op_init_lazy_reg(Instruction* currentInstruction) 864 864 { 865 unsigneddst = currentInstruction[1].u.operand;865 int dst = currentInstruction[1].u.operand; 866 866 867 867 store64(TrustedImm64((int64_t)0), Address(callFrameRegister, sizeof(Register) * dst)); … … 882 882 void JIT::emit_op_get_callee(Instruction* currentInstruction) 883 883 { 884 unsignedresult = currentInstruction[1].u.operand;884 int result = currentInstruction[1].u.operand; 885 885 emitGetFromCallFrameHeaderPtr(JSStack::Callee, regT0); 886 886 emitValueProfilingSite(regT4); … … 1040 1040 void JIT::emitSlow_op_check_has_instance(Instruction* currentInstruction, Vector<SlowCaseEntry>::iterator& iter) 1041 1041 { 1042 unsigneddst = currentInstruction[1].u.operand;1043 unsignedvalue = currentInstruction[2].u.operand;1044 unsignedbaseVal = currentInstruction[3].u.operand;1042 int dst = currentInstruction[1].u.operand; 1043 int value = currentInstruction[2].u.operand; 1044 int baseVal = currentInstruction[3].u.operand; 1045 1045 1046 1046 linkSlowCaseIfNotJSCell(iter, baseVal); … … 1056 1056 void JIT::emitSlow_op_instanceof(Instruction* currentInstruction, Vector<SlowCaseEntry>::iterator& iter) 1057 1057 { 1058 unsigneddst = currentInstruction[1].u.operand;1059 unsignedvalue = currentInstruction[2].u.operand;1060 unsignedproto = currentInstruction[3].u.operand;1058 int dst = currentInstruction[1].u.operand; 1059 int value = currentInstruction[2].u.operand; 1060 int proto = currentInstruction[3].u.operand; 1061 1061 1062 1062 linkSlowCaseIfNotJSCell(iter, value); … … 1092 1092 { 1093 1093 linkSlowCase(iter); 1094 unsigneddst = currentInstruction[1].u.operand;1095 unsignedbase = currentInstruction[2].u.operand;1094 int dst = currentInstruction[1].u.operand; 1095 int base = currentInstruction[2].u.operand; 1096 1096 const Identifier* ident = &(m_codeBlock->identifier(currentInstruction[3].u.operand)); 1097 1097 … … 1125 1125 void JIT::emitSlow_op_get_argument_by_val(Instruction* currentInstruction, Vector<SlowCaseEntry>::iterator& iter) 1126 1126 { 1127 unsigneddst = currentInstruction[1].u.operand;1128 unsignedarguments = currentInstruction[2].u.operand;1129 unsignedproperty = currentInstruction[3].u.operand;1127 int dst = currentInstruction[1].u.operand; 1128 int arguments = currentInstruction[2].u.operand; 1129 int property = currentInstruction[3].u.operand; 1130 1130 1131 1131 linkSlowCase(iter);
Note:
See TracChangeset
for help on using the changeset viewer.