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

Side by Side Diff: src/crankshaft/ia32/lithium-ia32.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/ia32/lithium-codegen-ia32.cc ('k') | src/crankshaft/mips/lithium-mips.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/ia32/lithium-ia32.h" 5 #include "src/crankshaft/ia32/lithium-ia32.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #if V8_TARGET_ARCH_IA32 9 #if V8_TARGET_ARCH_IA32
10 10
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 LInstruction* bailout = LChunkBuilderBase::AssignEnvironment( 938 LInstruction* bailout = LChunkBuilderBase::AssignEnvironment(
939 new (zone()) LLazyBailout(), hydrogen_env); 939 new (zone()) LLazyBailout(), hydrogen_env);
940 bailout->set_hydrogen_value(hydrogen_value_for_lazy_bailout); 940 bailout->set_hydrogen_value(hydrogen_value_for_lazy_bailout);
941 chunk_->AddInstruction(bailout, current_block_); 941 chunk_->AddInstruction(bailout, current_block_);
942 } 942 }
943 } 943 }
944 944
945 945
946 LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) { 946 LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) {
947 LInstruction* result = new (zone()) LPrologue(); 947 LInstruction* result = new (zone()) LPrologue();
948 if (info_->num_heap_slots() > 0) { 948 if (info_->scope()->num_heap_slots() > 0) {
949 result = MarkAsCall(result, instr); 949 result = MarkAsCall(result, instr);
950 } 950 }
951 return result; 951 return result;
952 } 952 }
953 953
954 954
955 LInstruction* LChunkBuilder::DoGoto(HGoto* instr) { 955 LInstruction* LChunkBuilder::DoGoto(HGoto* instr) {
956 return new(zone()) LGoto(instr->FirstSuccessor()); 956 return new(zone()) LGoto(instr->FirstSuccessor());
957 } 957 }
958 958
(...skipping 1665 matching lines...) Expand 10 before | Expand all | Expand 10 after
2624 LOperand* index = UseTempRegister(instr->index()); 2624 LOperand* index = UseTempRegister(instr->index());
2625 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index); 2625 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index);
2626 LInstruction* result = DefineSameAsFirst(load); 2626 LInstruction* result = DefineSameAsFirst(load);
2627 return AssignPointerMap(result); 2627 return AssignPointerMap(result);
2628 } 2628 }
2629 2629
2630 } // namespace internal 2630 } // namespace internal
2631 } // namespace v8 2631 } // namespace v8
2632 2632
2633 #endif // V8_TARGET_ARCH_IA32 2633 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/crankshaft/ia32/lithium-codegen-ia32.cc ('k') | src/crankshaft/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698