Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: src/crankshaft/arm64/lithium-arm64.cc

Issue 1863333004: [turbofan] Deprecate CompilationInfo::has_scope predicate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/crankshaft/arm/lithium-arm.cc ('k') | src/crankshaft/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 754
755 755
756 LInstruction* LChunkBuilder::AssignEnvironment(LInstruction* instr) { 756 LInstruction* LChunkBuilder::AssignEnvironment(LInstruction* instr) {
757 HEnvironment* hydrogen_env = current_block_->last_environment(); 757 HEnvironment* hydrogen_env = current_block_->last_environment();
758 return LChunkBuilderBase::AssignEnvironment(instr, hydrogen_env); 758 return LChunkBuilderBase::AssignEnvironment(instr, hydrogen_env);
759 } 759 }
760 760
761 761
762 LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) { 762 LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) {
763 LInstruction* result = new (zone()) LPrologue(); 763 LInstruction* result = new (zone()) LPrologue();
764 if (info_->num_heap_slots() > 0) { 764 if (info_->scope()->num_heap_slots() > 0) {
765 result = MarkAsCall(result, instr); 765 result = MarkAsCall(result, instr);
766 } 766 }
767 return result; 767 return result;
768 } 768 }
769 769
770 770
771 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { 771 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) {
772 // The control instruction marking the end of a block that completed 772 // The control instruction marking the end of a block that completed
773 // abruptly (e.g., threw an exception). There is nothing specific to do. 773 // abruptly (e.g., threw an exception). There is nothing specific to do.
774 return NULL; 774 return NULL;
(...skipping 1875 matching lines...) Expand 10 before | Expand all | Expand 10 after
2650 2650
2651 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { 2651 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) {
2652 LOperand* receiver = UseRegister(instr->receiver()); 2652 LOperand* receiver = UseRegister(instr->receiver());
2653 LOperand* function = UseRegister(instr->function()); 2653 LOperand* function = UseRegister(instr->function());
2654 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); 2654 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function);
2655 return AssignEnvironment(DefineAsRegister(result)); 2655 return AssignEnvironment(DefineAsRegister(result));
2656 } 2656 }
2657 2657
2658 } // namespace internal 2658 } // namespace internal
2659 } // namespace v8 2659 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/arm/lithium-arm.cc ('k') | src/crankshaft/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698