| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without | 
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are | 
| 4 // met: | 4 // met: | 
| 5 // | 5 // | 
| 6 //     * Redistributions of source code must retain the above copyright | 6 //     * Redistributions of source code must retain the above copyright | 
| 7 //       notice, this list of conditions and the following disclaimer. | 7 //       notice, this list of conditions and the following disclaimer. | 
| 8 //     * Redistributions in binary form must reproduce the above | 8 //     * Redistributions in binary form must reproduce the above | 
| 9 //       copyright notice, this list of conditions and the following | 9 //       copyright notice, this list of conditions and the following | 
| 10 //       disclaimer in the documentation and/or other materials provided | 10 //       disclaimer in the documentation and/or other materials provided | 
| (...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1090 | 1090 | 
| 1091 LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal( | 1091 LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal( | 
| 1092     HInstanceOfKnownGlobal* instr) { | 1092     HInstanceOfKnownGlobal* instr) { | 
| 1093   LInstanceOfKnownGlobal* result = | 1093   LInstanceOfKnownGlobal* result = | 
| 1094       new(zone()) LInstanceOfKnownGlobal(UseFixed(instr->left(), a0), | 1094       new(zone()) LInstanceOfKnownGlobal(UseFixed(instr->left(), a0), | 
| 1095                                          FixedTemp(t0)); | 1095                                          FixedTemp(t0)); | 
| 1096   return MarkAsCall(DefineFixed(result, v0), instr); | 1096   return MarkAsCall(DefineFixed(result, v0), instr); | 
| 1097 } | 1097 } | 
| 1098 | 1098 | 
| 1099 | 1099 | 
|  | 1100 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { | 
|  | 1101   LOperand* receiver = UseRegisterAtStart(instr->receiver()); | 
|  | 1102   LOperand* function = UseRegisterAtStart(instr->function()); | 
|  | 1103   LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); | 
|  | 1104   return AssignEnvironment(DefineSameAsFirst(result)); | 
|  | 1105 } | 
|  | 1106 | 
|  | 1107 | 
| 1100 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { | 1108 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { | 
| 1101   LOperand* function = UseFixed(instr->function(), a1); | 1109   LOperand* function = UseFixed(instr->function(), a1); | 
| 1102   LOperand* receiver = UseFixed(instr->receiver(), a0); | 1110   LOperand* receiver = UseFixed(instr->receiver(), a0); | 
| 1103   LOperand* length = UseFixed(instr->length(), a2); | 1111   LOperand* length = UseFixed(instr->length(), a2); | 
| 1104   LOperand* elements = UseFixed(instr->elements(), a3); | 1112   LOperand* elements = UseFixed(instr->elements(), a3); | 
| 1105   LApplyArguments* result = new(zone()) LApplyArguments(function, | 1113   LApplyArguments* result = new(zone()) LApplyArguments(function, | 
| 1106                                                         receiver, | 1114                                                         receiver, | 
| 1107                                                         length, | 1115                                                         length, | 
| 1108                                                         elements); | 1116                                                         elements); | 
| 1109   return MarkAsCall(DefineFixed(result, v0), instr, CAN_DEOPTIMIZE_EAGERLY); | 1117   return MarkAsCall(DefineFixed(result, v0), instr, CAN_DEOPTIMIZE_EAGERLY); | 
| (...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2313 | 2321 | 
| 2314 | 2322 | 
| 2315 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2323 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 
| 2316   LOperand* object = UseRegister(instr->object()); | 2324   LOperand* object = UseRegister(instr->object()); | 
| 2317   LOperand* index = UseRegister(instr->index()); | 2325   LOperand* index = UseRegister(instr->index()); | 
| 2318   return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2326   return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 
| 2319 } | 2327 } | 
| 2320 | 2328 | 
| 2321 | 2329 | 
| 2322 } }  // namespace v8::internal | 2330 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|