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

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

Issue 1390073004: Revert of [turbofan] Add initial support for global specialization. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@AstGraphBuilder
Patch Set: Created 5 years, 2 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/access-builder.cc ('k') | src/compiler/js-context-specialization.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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 : HandlerTable::UNCAUGHT; 186 : HandlerTable::UNCAUGHT;
187 table->SetReturnOffset(static_cast<int>(i), handlers_[i].pc_offset); 187 table->SetReturnOffset(static_cast<int>(i), handlers_[i].pc_offset);
188 table->SetReturnHandler(static_cast<int>(i), position, prediction); 188 table->SetReturnHandler(static_cast<int>(i), position, prediction);
189 } 189 }
190 result->set_handler_table(*table); 190 result->set_handler_table(*table);
191 } 191 }
192 192
193 PopulateDeoptimizationData(result); 193 PopulateDeoptimizationData(result);
194 194
195 // Ensure there is space for lazy deoptimization in the relocation info. 195 // Ensure there is space for lazy deoptimization in the relocation info.
196 if (info->ShouldEnsureSpaceForLazyDeopt()) { 196 if (!info->ShouldEnsureSpaceForLazyDeopt()) {
197 Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(result); 197 Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(result);
198 } 198 }
199 199
200 // Emit a code line info recording stop event. 200 // Emit a code line info recording stop event.
201 void* line_info = recorder->DetachJITHandlerData(); 201 void* line_info = recorder->DetachJITHandlerData();
202 LOG_CODE_EVENT(isolate(), CodeEndLinePosInfoRecordEvent(*result, line_info)); 202 LOG_CODE_EVENT(isolate(), CodeEndLinePosInfoRecordEvent(*result, line_info));
203 203
204 return result; 204 return result;
205 } 205 }
206 206
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 : masm_(gen->masm()), next_(gen->ools_) { 664 : masm_(gen->masm()), next_(gen->ools_) {
665 gen->ools_ = this; 665 gen->ools_ = this;
666 } 666 }
667 667
668 668
669 OutOfLineCode::~OutOfLineCode() {} 669 OutOfLineCode::~OutOfLineCode() {}
670 670
671 } // namespace compiler 671 } // namespace compiler
672 } // namespace internal 672 } // namespace internal
673 } // namespace v8 673 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/access-builder.cc ('k') | src/compiler/js-context-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698