| 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_MIPS | 9 #if V8_TARGET_ARCH_MIPS |
| 10 | 10 |
| (...skipping 2479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2490 | 2490 |
| 2491 LInstruction* LChunkBuilder::DoToFastProperties(HToFastProperties* instr) { | 2491 LInstruction* LChunkBuilder::DoToFastProperties(HToFastProperties* instr) { |
| 2492 LOperand* object = UseFixed(instr->value(), a0); | 2492 LOperand* object = UseFixed(instr->value(), a0); |
| 2493 LToFastProperties* result = new(zone()) LToFastProperties(object); | 2493 LToFastProperties* result = new(zone()) LToFastProperties(object); |
| 2494 return MarkAsCall(DefineFixed(result, v0), instr); | 2494 return MarkAsCall(DefineFixed(result, v0), instr); |
| 2495 } | 2495 } |
| 2496 | 2496 |
| 2497 | 2497 |
| 2498 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { | 2498 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { |
| 2499 LOperand* context = UseFixed(instr->context(), cp); | 2499 LOperand* context = UseFixed(instr->context(), cp); |
| 2500 LTypeof* result = new(zone()) LTypeof(context, UseFixed(instr->value(), a0)); | 2500 LOperand* value = UseFixed(instr->value(), a3); |
| 2501 LTypeof* result = new (zone()) LTypeof(context, value); |
| 2501 return MarkAsCall(DefineFixed(result, v0), instr); | 2502 return MarkAsCall(DefineFixed(result, v0), instr); |
| 2502 } | 2503 } |
| 2503 | 2504 |
| 2504 | 2505 |
| 2505 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { | 2506 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { |
| 2506 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); | 2507 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); |
| 2507 } | 2508 } |
| 2508 | 2509 |
| 2509 | 2510 |
| 2510 LInstruction* LChunkBuilder::DoIsConstructCallAndBranch( | 2511 LInstruction* LChunkBuilder::DoIsConstructCallAndBranch( |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2614 LOperand* context = UseFixed(instr->context(), cp); | 2615 LOperand* context = UseFixed(instr->context(), cp); |
| 2615 LOperand* function = UseRegisterAtStart(instr->function()); | 2616 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2616 LAllocateBlockContext* result = | 2617 LAllocateBlockContext* result = |
| 2617 new(zone()) LAllocateBlockContext(context, function); | 2618 new(zone()) LAllocateBlockContext(context, function); |
| 2618 return MarkAsCall(DefineFixed(result, cp), instr); | 2619 return MarkAsCall(DefineFixed(result, cp), instr); |
| 2619 } | 2620 } |
| 2620 | 2621 |
| 2621 } } // namespace v8::internal | 2622 } } // namespace v8::internal |
| 2622 | 2623 |
| 2623 #endif // V8_TARGET_ARCH_MIPS | 2624 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |