OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <sstream> | 5 #include <sstream> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #include "src/arm/lithium-codegen-arm.h" | 9 #include "src/arm/lithium-codegen-arm.h" |
10 #include "src/hydrogen-osr.h" | 10 #include "src/hydrogen-osr.h" |
(...skipping 2532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2543 | 2543 |
2544 LInstruction* LChunkBuilder::DoToFastProperties(HToFastProperties* instr) { | 2544 LInstruction* LChunkBuilder::DoToFastProperties(HToFastProperties* instr) { |
2545 LOperand* object = UseFixed(instr->value(), r0); | 2545 LOperand* object = UseFixed(instr->value(), r0); |
2546 LToFastProperties* result = new(zone()) LToFastProperties(object); | 2546 LToFastProperties* result = new(zone()) LToFastProperties(object); |
2547 return MarkAsCall(DefineFixed(result, r0), instr); | 2547 return MarkAsCall(DefineFixed(result, r0), instr); |
2548 } | 2548 } |
2549 | 2549 |
2550 | 2550 |
2551 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { | 2551 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { |
2552 LOperand* context = UseFixed(instr->context(), cp); | 2552 LOperand* context = UseFixed(instr->context(), cp); |
2553 LTypeof* result = new(zone()) LTypeof(context, UseFixed(instr->value(), r0)); | 2553 LOperand* value = UseFixed(instr->value(), r3); |
| 2554 LTypeof* result = new (zone()) LTypeof(context, value); |
2554 return MarkAsCall(DefineFixed(result, r0), instr); | 2555 return MarkAsCall(DefineFixed(result, r0), instr); |
2555 } | 2556 } |
2556 | 2557 |
2557 | 2558 |
2558 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { | 2559 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { |
2559 return new(zone()) LTypeofIsAndBranch(UseRegister(instr->value())); | 2560 return new(zone()) LTypeofIsAndBranch(UseRegister(instr->value())); |
2560 } | 2561 } |
2561 | 2562 |
2562 | 2563 |
2563 LInstruction* LChunkBuilder::DoIsConstructCallAndBranch( | 2564 LInstruction* LChunkBuilder::DoIsConstructCallAndBranch( |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2664 LInstruction* LChunkBuilder::DoAllocateBlockContext( | 2665 LInstruction* LChunkBuilder::DoAllocateBlockContext( |
2665 HAllocateBlockContext* instr) { | 2666 HAllocateBlockContext* instr) { |
2666 LOperand* context = UseFixed(instr->context(), cp); | 2667 LOperand* context = UseFixed(instr->context(), cp); |
2667 LOperand* function = UseRegisterAtStart(instr->function()); | 2668 LOperand* function = UseRegisterAtStart(instr->function()); |
2668 LAllocateBlockContext* result = | 2669 LAllocateBlockContext* result = |
2669 new(zone()) LAllocateBlockContext(context, function); | 2670 new(zone()) LAllocateBlockContext(context, function); |
2670 return MarkAsCall(DefineFixed(result, cp), instr); | 2671 return MarkAsCall(DefineFixed(result, cp), instr); |
2671 } | 2672 } |
2672 | 2673 |
2673 } } // namespace v8::internal | 2674 } } // namespace v8::internal |
OLD | NEW |