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/ppc/lithium-ppc.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/mips64/lithium-mips64.cc ('k') | src/crankshaft/s390/lithium-s390.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/ppc/lithium-ppc.h" 5 #include "src/crankshaft/ppc/lithium-ppc.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/hydrogen-osr.h" 9 #include "src/crankshaft/hydrogen-osr.h"
10 #include "src/crankshaft/lithium-inl.h" 10 #include "src/crankshaft/lithium-inl.h"
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 LInstruction* bailout = LChunkBuilderBase::AssignEnvironment( 920 LInstruction* bailout = LChunkBuilderBase::AssignEnvironment(
921 new (zone()) LLazyBailout(), hydrogen_env); 921 new (zone()) LLazyBailout(), hydrogen_env);
922 bailout->set_hydrogen_value(hydrogen_value_for_lazy_bailout); 922 bailout->set_hydrogen_value(hydrogen_value_for_lazy_bailout);
923 chunk_->AddInstruction(bailout, current_block_); 923 chunk_->AddInstruction(bailout, current_block_);
924 } 924 }
925 } 925 }
926 926
927 927
928 LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) { 928 LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) {
929 LInstruction* result = new (zone()) LPrologue(); 929 LInstruction* result = new (zone()) LPrologue();
930 if (info_->num_heap_slots() > 0) { 930 if (info_->scope()->num_heap_slots() > 0) {
931 result = MarkAsCall(result, instr); 931 result = MarkAsCall(result, instr);
932 } 932 }
933 return result; 933 return result;
934 } 934 }
935 935
936 936
937 LInstruction* LChunkBuilder::DoGoto(HGoto* instr) { 937 LInstruction* LChunkBuilder::DoGoto(HGoto* instr) {
938 return new (zone()) LGoto(instr->FirstSuccessor()); 938 return new (zone()) LGoto(instr->FirstSuccessor());
939 } 939 }
940 940
(...skipping 1574 matching lines...) Expand 10 before | Expand all | Expand 10 after
2515 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2515 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2516 LOperand* object = UseRegister(instr->object()); 2516 LOperand* object = UseRegister(instr->object());
2517 LOperand* index = UseTempRegister(instr->index()); 2517 LOperand* index = UseTempRegister(instr->index());
2518 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index); 2518 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index);
2519 LInstruction* result = DefineSameAsFirst(load); 2519 LInstruction* result = DefineSameAsFirst(load);
2520 return AssignPointerMap(result); 2520 return AssignPointerMap(result);
2521 } 2521 }
2522 2522
2523 } // namespace internal 2523 } // namespace internal
2524 } // namespace v8 2524 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/mips64/lithium-mips64.cc ('k') | src/crankshaft/s390/lithium-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698