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 "src/crankshaft/mips64/lithium-mips64.h" | 5 #include "src/crankshaft/mips64/lithium-mips64.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #if V8_TARGET_ARCH_MIPS64 | 9 #if V8_TARGET_ARCH_MIPS64 |
10 | 10 |
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 LInstruction* bailout = LChunkBuilderBase::AssignEnvironment( | 915 LInstruction* bailout = LChunkBuilderBase::AssignEnvironment( |
916 new (zone()) LLazyBailout(), hydrogen_env); | 916 new (zone()) LLazyBailout(), hydrogen_env); |
917 bailout->set_hydrogen_value(hydrogen_value_for_lazy_bailout); | 917 bailout->set_hydrogen_value(hydrogen_value_for_lazy_bailout); |
918 chunk_->AddInstruction(bailout, current_block_); | 918 chunk_->AddInstruction(bailout, current_block_); |
919 } | 919 } |
920 } | 920 } |
921 | 921 |
922 | 922 |
923 LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) { | 923 LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) { |
924 LInstruction* result = new (zone()) LPrologue(); | 924 LInstruction* result = new (zone()) LPrologue(); |
925 if (info_->num_heap_slots() > 0) { | 925 if (info_->scope()->num_heap_slots() > 0) { |
926 result = MarkAsCall(result, instr); | 926 result = MarkAsCall(result, instr); |
927 } | 927 } |
928 return result; | 928 return result; |
929 } | 929 } |
930 | 930 |
931 | 931 |
932 LInstruction* LChunkBuilder::DoGoto(HGoto* instr) { | 932 LInstruction* LChunkBuilder::DoGoto(HGoto* instr) { |
933 return new(zone()) LGoto(instr->FirstSuccessor()); | 933 return new(zone()) LGoto(instr->FirstSuccessor()); |
934 } | 934 } |
935 | 935 |
(...skipping 1576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2512 LOperand* index = UseTempRegister(instr->index()); | 2512 LOperand* index = UseTempRegister(instr->index()); |
2513 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index); | 2513 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index); |
2514 LInstruction* result = DefineSameAsFirst(load); | 2514 LInstruction* result = DefineSameAsFirst(load); |
2515 return AssignPointerMap(result); | 2515 return AssignPointerMap(result); |
2516 } | 2516 } |
2517 | 2517 |
2518 } // namespace internal | 2518 } // namespace internal |
2519 } // namespace v8 | 2519 } // namespace v8 |
2520 | 2520 |
2521 #endif // V8_TARGET_ARCH_MIPS64 | 2521 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |