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 2392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2403 | 2403 |
2404 LInstruction* LChunkBuilder::DoThisFunction(HThisFunction* instr) { | 2404 LInstruction* LChunkBuilder::DoThisFunction(HThisFunction* instr) { |
2405 if (instr->HasNoUses()) { | 2405 if (instr->HasNoUses()) { |
2406 return NULL; | 2406 return NULL; |
2407 } else { | 2407 } else { |
2408 return DefineAsRegister(new(zone()) LThisFunction); | 2408 return DefineAsRegister(new(zone()) LThisFunction); |
2409 } | 2409 } |
2410 } | 2410 } |
2411 | 2411 |
2412 | 2412 |
2413 LInstruction* LChunkBuilder::DoToFastProperties(HToFastProperties* instr) { | |
2414 LOperand* object = UseFixed(instr->value(), x0); | |
2415 LToFastProperties* result = new(zone()) LToFastProperties(object); | |
2416 return MarkAsCall(DefineFixed(result, x0), instr); | |
2417 } | |
2418 | |
2419 | |
2420 LInstruction* LChunkBuilder::DoTransitionElementsKind( | 2413 LInstruction* LChunkBuilder::DoTransitionElementsKind( |
2421 HTransitionElementsKind* instr) { | 2414 HTransitionElementsKind* instr) { |
2422 if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) { | 2415 if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) { |
2423 LOperand* object = UseRegister(instr->object()); | 2416 LOperand* object = UseRegister(instr->object()); |
2424 LTransitionElementsKind* result = | 2417 LTransitionElementsKind* result = |
2425 new(zone()) LTransitionElementsKind(object, NULL, | 2418 new(zone()) LTransitionElementsKind(object, NULL, |
2426 TempRegister(), TempRegister()); | 2419 TempRegister(), TempRegister()); |
2427 return result; | 2420 return result; |
2428 } else { | 2421 } else { |
2429 LOperand* object = UseFixed(instr->object(), x0); | 2422 LOperand* object = UseFixed(instr->object(), x0); |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2643 | 2636 |
2644 | 2637 |
2645 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { | 2638 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { |
2646 LOperand* context = UseRegisterAtStart(instr->context()); | 2639 LOperand* context = UseRegisterAtStart(instr->context()); |
2647 return new(zone()) LStoreFrameContext(context); | 2640 return new(zone()) LStoreFrameContext(context); |
2648 } | 2641 } |
2649 | 2642 |
2650 | 2643 |
2651 } // namespace internal | 2644 } // namespace internal |
2652 } // namespace v8 | 2645 } // namespace v8 |
OLD | NEW |