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

Side by Side Diff: src/compiler/code-generator.cc

Issue 1304053004: Deprecate semi-correct CompilationInfo::flags predicate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix test-pipeline.cc Created 5 years, 4 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.cc ('k') | src/full-codegen/full-codegen.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/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/linkage.h" 8 #include "src/compiler/linkage.h"
9 #include "src/compiler/pipeline.h" 9 #include "src/compiler/pipeline.h"
10 #include "src/frames-inl.h" 10 #include "src/frames-inl.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 if (jump_tables_) { 160 if (jump_tables_) {
161 masm()->Align(kPointerSize); 161 masm()->Align(kPointerSize);
162 for (JumpTable* table = jump_tables_; table; table = table->next()) { 162 for (JumpTable* table = jump_tables_; table; table = table->next()) {
163 masm()->bind(table->label()); 163 masm()->bind(table->label());
164 AssembleJumpTable(table->targets(), table->target_count()); 164 AssembleJumpTable(table->targets(), table->target_count());
165 } 165 }
166 } 166 }
167 167
168 safepoints()->Emit(masm(), frame()->GetSpillSlotCount()); 168 safepoints()->Emit(masm(), frame()->GetSpillSlotCount());
169 169
170 Handle<Code> result = v8::internal::CodeGenerator::MakeCodeEpilogue( 170 Handle<Code> result =
171 masm(), info->flags(), info); 171 v8::internal::CodeGenerator::MakeCodeEpilogue(masm(), info);
172 result->set_is_turbofanned(true); 172 result->set_is_turbofanned(true);
173 result->set_stack_slots(frame()->GetSpillSlotCount()); 173 result->set_stack_slots(frame()->GetSpillSlotCount());
174 result->set_safepoint_table_offset(safepoints()->GetCodeOffset()); 174 result->set_safepoint_table_offset(safepoints()->GetCodeOffset());
175 175
176 // Emit exception handler table. 176 // Emit exception handler table.
177 if (!handlers_.empty()) { 177 if (!handlers_.empty()) {
178 Handle<HandlerTable> table = 178 Handle<HandlerTable> table =
179 Handle<HandlerTable>::cast(isolate()->factory()->NewFixedArray( 179 Handle<HandlerTable>::cast(isolate()->factory()->NewFixedArray(
180 HandlerTable::LengthForReturn(static_cast<int>(handlers_.size())), 180 HandlerTable::LengthForReturn(static_cast<int>(handlers_.size())),
181 TENURED)); 181 TENURED));
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 : masm_(gen->masm()), next_(gen->ools_) { 668 : masm_(gen->masm()), next_(gen->ools_) {
669 gen->ools_ = this; 669 gen->ools_ = this;
670 } 670 }
671 671
672 672
673 OutOfLineCode::~OutOfLineCode() {} 673 OutOfLineCode::~OutOfLineCode() {}
674 674
675 } // namespace compiler 675 } // namespace compiler
676 } // namespace internal 676 } // namespace internal
677 } // namespace v8 677 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/full-codegen/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698