| 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 982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 993 | 993 |
| 994 LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal( | 994 LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal( |
| 995 HInstanceOfKnownGlobal* instr) { | 995 HInstanceOfKnownGlobal* instr) { |
| 996 LInstanceOfKnownGlobal* result = | 996 LInstanceOfKnownGlobal* result = |
| 997 new(zone()) LInstanceOfKnownGlobal(UseFixed(instr->left(), a0), | 997 new(zone()) LInstanceOfKnownGlobal(UseFixed(instr->left(), a0), |
| 998 FixedTemp(t0)); | 998 FixedTemp(t0)); |
| 999 return MarkAsCall(DefineFixed(result, v0), instr); | 999 return MarkAsCall(DefineFixed(result, v0), instr); |
| 1000 } | 1000 } |
| 1001 | 1001 |
| 1002 | 1002 |
| 1003 LInstruction* LChunkBuilder::DoInstanceSize(HInstanceSize* instr) { |
| 1004 LOperand* object = UseRegisterAtStart(instr->object()); |
| 1005 return DefineAsRegister(new(zone()) LInstanceSize(object)); |
| 1006 } |
| 1007 |
| 1008 |
| 1003 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { | 1009 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { |
| 1004 LOperand* receiver = UseRegisterAtStart(instr->receiver()); | 1010 LOperand* receiver = UseRegisterAtStart(instr->receiver()); |
| 1005 LOperand* function = UseRegisterAtStart(instr->function()); | 1011 LOperand* function = UseRegisterAtStart(instr->function()); |
| 1006 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); | 1012 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); |
| 1007 return AssignEnvironment(DefineSameAsFirst(result)); | 1013 return AssignEnvironment(DefineSameAsFirst(result)); |
| 1008 } | 1014 } |
| 1009 | 1015 |
| 1010 | 1016 |
| 1011 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { | 1017 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { |
| 1012 LOperand* function = UseFixed(instr->function(), a1); | 1018 LOperand* function = UseFixed(instr->function(), a1); |
| (...skipping 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2393 | 2399 |
| 2394 | 2400 |
| 2395 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2401 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2396 LOperand* object = UseRegister(instr->object()); | 2402 LOperand* object = UseRegister(instr->object()); |
| 2397 LOperand* index = UseRegister(instr->index()); | 2403 LOperand* index = UseRegister(instr->index()); |
| 2398 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2404 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2399 } | 2405 } |
| 2400 | 2406 |
| 2401 | 2407 |
| 2402 } } // namespace v8::internal | 2408 } } // namespace v8::internal |
| OLD | NEW |