| 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 #if V8_TARGET_ARCH_X64 | 9 #if V8_TARGET_ARCH_X64 |
| 10 | 10 |
| (...skipping 2564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2575 | 2575 |
| 2576 LInstruction* LChunkBuilder::DoToFastProperties(HToFastProperties* instr) { | 2576 LInstruction* LChunkBuilder::DoToFastProperties(HToFastProperties* instr) { |
| 2577 LOperand* object = UseFixed(instr->value(), rax); | 2577 LOperand* object = UseFixed(instr->value(), rax); |
| 2578 LToFastProperties* result = new(zone()) LToFastProperties(object); | 2578 LToFastProperties* result = new(zone()) LToFastProperties(object); |
| 2579 return MarkAsCall(DefineFixed(result, rax), instr); | 2579 return MarkAsCall(DefineFixed(result, rax), instr); |
| 2580 } | 2580 } |
| 2581 | 2581 |
| 2582 | 2582 |
| 2583 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { | 2583 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { |
| 2584 LOperand* context = UseFixed(instr->context(), rsi); | 2584 LOperand* context = UseFixed(instr->context(), rsi); |
| 2585 LOperand* value = UseAtStart(instr->value()); | 2585 LOperand* value = UseFixed(instr->value(), rbx); |
| 2586 LTypeof* result = new(zone()) LTypeof(context, value); | 2586 LTypeof* result = new(zone()) LTypeof(context, value); |
| 2587 return MarkAsCall(DefineFixed(result, rax), instr); | 2587 return MarkAsCall(DefineFixed(result, rax), instr); |
| 2588 } | 2588 } |
| 2589 | 2589 |
| 2590 | 2590 |
| 2591 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { | 2591 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { |
| 2592 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); | 2592 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); |
| 2593 } | 2593 } |
| 2594 | 2594 |
| 2595 | 2595 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2702 LOperand* function = UseRegisterAtStart(instr->function()); | 2702 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2703 LAllocateBlockContext* result = | 2703 LAllocateBlockContext* result = |
| 2704 new(zone()) LAllocateBlockContext(context, function); | 2704 new(zone()) LAllocateBlockContext(context, function); |
| 2705 return MarkAsCall(DefineFixed(result, rsi), instr); | 2705 return MarkAsCall(DefineFixed(result, rsi), instr); |
| 2706 } | 2706 } |
| 2707 | 2707 |
| 2708 | 2708 |
| 2709 } } // namespace v8::internal | 2709 } } // namespace v8::internal |
| 2710 | 2710 |
| 2711 #endif // V8_TARGET_ARCH_X64 | 2711 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |