| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/arm64/lithium-arm64.h" | 5 #include "src/crankshaft/arm64/lithium-arm64.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" | 9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" |
| 10 #include "src/crankshaft/hydrogen-osr.h" | 10 #include "src/crankshaft/hydrogen-osr.h" |
| (...skipping 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1361 if (instr->HasNoUses()) return NULL; | 1361 if (instr->HasNoUses()) return NULL; |
| 1362 | 1362 |
| 1363 if (info()->IsStub()) { | 1363 if (info()->IsStub()) { |
| 1364 return DefineFixed(new(zone()) LContext, cp); | 1364 return DefineFixed(new(zone()) LContext, cp); |
| 1365 } | 1365 } |
| 1366 | 1366 |
| 1367 return DefineAsRegister(new(zone()) LContext); | 1367 return DefineAsRegister(new(zone()) LContext); |
| 1368 } | 1368 } |
| 1369 | 1369 |
| 1370 | 1370 |
| 1371 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { |
| 1372 LOperand* object = UseFixed(instr->value(), x0); |
| 1373 LDateField* result = new(zone()) LDateField(object, instr->index()); |
| 1374 return MarkAsCall(DefineFixed(result, x0), instr, CANNOT_DEOPTIMIZE_EAGERLY); |
| 1375 } |
| 1376 |
| 1377 |
| 1371 LInstruction* LChunkBuilder::DoDebugBreak(HDebugBreak* instr) { | 1378 LInstruction* LChunkBuilder::DoDebugBreak(HDebugBreak* instr) { |
| 1372 return new(zone()) LDebugBreak(); | 1379 return new(zone()) LDebugBreak(); |
| 1373 } | 1380 } |
| 1374 | 1381 |
| 1375 | 1382 |
| 1376 LInstruction* LChunkBuilder::DoDeclareGlobals(HDeclareGlobals* instr) { | 1383 LInstruction* LChunkBuilder::DoDeclareGlobals(HDeclareGlobals* instr) { |
| 1377 LOperand* context = UseFixed(instr->context(), cp); | 1384 LOperand* context = UseFixed(instr->context(), cp); |
| 1378 return MarkAsCall(new(zone()) LDeclareGlobals(context), instr); | 1385 return MarkAsCall(new(zone()) LDeclareGlobals(context), instr); |
| 1379 } | 1386 } |
| 1380 | 1387 |
| (...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2724 LOperand* context = UseFixed(instr->context(), cp); | 2731 LOperand* context = UseFixed(instr->context(), cp); |
| 2725 LOperand* function = UseRegisterAtStart(instr->function()); | 2732 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2726 LAllocateBlockContext* result = | 2733 LAllocateBlockContext* result = |
| 2727 new(zone()) LAllocateBlockContext(context, function); | 2734 new(zone()) LAllocateBlockContext(context, function); |
| 2728 return MarkAsCall(DefineFixed(result, cp), instr); | 2735 return MarkAsCall(DefineFixed(result, cp), instr); |
| 2729 } | 2736 } |
| 2730 | 2737 |
| 2731 | 2738 |
| 2732 } // namespace internal | 2739 } // namespace internal |
| 2733 } // namespace v8 | 2740 } // namespace v8 |
| OLD | NEW |