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 | |
1378 LInstruction* LChunkBuilder::DoDebugBreak(HDebugBreak* instr) { | 1371 LInstruction* LChunkBuilder::DoDebugBreak(HDebugBreak* instr) { |
1379 return new(zone()) LDebugBreak(); | 1372 return new(zone()) LDebugBreak(); |
1380 } | 1373 } |
1381 | 1374 |
1382 | 1375 |
1383 LInstruction* LChunkBuilder::DoDeclareGlobals(HDeclareGlobals* instr) { | 1376 LInstruction* LChunkBuilder::DoDeclareGlobals(HDeclareGlobals* instr) { |
1384 LOperand* context = UseFixed(instr->context(), cp); | 1377 LOperand* context = UseFixed(instr->context(), cp); |
1385 return MarkAsCall(new(zone()) LDeclareGlobals(context), instr); | 1378 return MarkAsCall(new(zone()) LDeclareGlobals(context), instr); |
1386 } | 1379 } |
1387 | 1380 |
(...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2731 LOperand* context = UseFixed(instr->context(), cp); | 2724 LOperand* context = UseFixed(instr->context(), cp); |
2732 LOperand* function = UseRegisterAtStart(instr->function()); | 2725 LOperand* function = UseRegisterAtStart(instr->function()); |
2733 LAllocateBlockContext* result = | 2726 LAllocateBlockContext* result = |
2734 new(zone()) LAllocateBlockContext(context, function); | 2727 new(zone()) LAllocateBlockContext(context, function); |
2735 return MarkAsCall(DefineFixed(result, cp), instr); | 2728 return MarkAsCall(DefineFixed(result, cp), instr); |
2736 } | 2729 } |
2737 | 2730 |
2738 | 2731 |
2739 } // namespace internal | 2732 } // namespace internal |
2740 } // namespace v8 | 2733 } // namespace v8 |
OLD | NEW |