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

Side by Side Diff: src/crankshaft/arm/lithium-arm.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/compiler/ast-graph-builder.cc ('k') | src/crankshaft/arm64/lithium-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 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/arm/lithium-arm.h" 5 #include "src/crankshaft/arm/lithium-arm.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/arm/lithium-codegen-arm.h" 9 #include "src/crankshaft/arm/lithium-codegen-arm.h"
10 #include "src/crankshaft/hydrogen-osr.h" 10 #include "src/crankshaft/hydrogen-osr.h"
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 LInstruction* bailout = LChunkBuilderBase::AssignEnvironment( 905 LInstruction* bailout = LChunkBuilderBase::AssignEnvironment(
906 new (zone()) LLazyBailout(), hydrogen_env); 906 new (zone()) LLazyBailout(), hydrogen_env);
907 bailout->set_hydrogen_value(hydrogen_value_for_lazy_bailout); 907 bailout->set_hydrogen_value(hydrogen_value_for_lazy_bailout);
908 chunk_->AddInstruction(bailout, current_block_); 908 chunk_->AddInstruction(bailout, current_block_);
909 } 909 }
910 } 910 }
911 911
912 912
913 LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) { 913 LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) {
914 LInstruction* result = new (zone()) LPrologue(); 914 LInstruction* result = new (zone()) LPrologue();
915 if (info_->num_heap_slots() > 0) { 915 if (info_->scope()->num_heap_slots() > 0) {
916 result = MarkAsCall(result, instr); 916 result = MarkAsCall(result, instr);
917 } 917 }
918 return result; 918 return result;
919 } 919 }
920 920
921 921
922 LInstruction* LChunkBuilder::DoGoto(HGoto* instr) { 922 LInstruction* LChunkBuilder::DoGoto(HGoto* instr) {
923 return new(zone()) LGoto(instr->FirstSuccessor()); 923 return new(zone()) LGoto(instr->FirstSuccessor());
924 } 924 }
925 925
(...skipping 1632 matching lines...) Expand 10 before | Expand all | Expand 10 after
2558 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2558 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2559 LOperand* object = UseRegister(instr->object()); 2559 LOperand* object = UseRegister(instr->object());
2560 LOperand* index = UseTempRegister(instr->index()); 2560 LOperand* index = UseTempRegister(instr->index());
2561 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index); 2561 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index);
2562 LInstruction* result = DefineSameAsFirst(load); 2562 LInstruction* result = DefineSameAsFirst(load);
2563 return AssignPointerMap(result); 2563 return AssignPointerMap(result);
2564 } 2564 }
2565 2565
2566 } // namespace internal 2566 } // namespace internal
2567 } // namespace v8 2567 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/crankshaft/arm64/lithium-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698