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

Side by Side Diff: src/compiler.cc

Issue 1407913003: [turbofan] Remove obsolete JSTypeFeedbackSpecializer and JSTypeFeedbackLowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@NamedAccess
Patch Set: REBASE 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.h ('k') | src/compiler/ast-graph-builder.h » ('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/compiler.h" 5 #include "src/compiler.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "src/ast-numbering.h" 9 #include "src/ast-numbering.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 os << "]" << std::endl; 436 os << "]" << std::endl;
437 } 437 }
438 438
439 if (info()->shared_info()->asm_function()) { 439 if (info()->shared_info()->asm_function()) {
440 if (info()->osr_frame()) info()->MarkAsFrameSpecializing(); 440 if (info()->osr_frame()) info()->MarkAsFrameSpecializing();
441 info()->MarkAsFunctionContextSpecializing(); 441 info()->MarkAsFunctionContextSpecializing();
442 } else if (info()->has_global_object() && 442 } else if (info()->has_global_object() &&
443 FLAG_native_context_specialization) { 443 FLAG_native_context_specialization) {
444 info()->MarkAsNativeContextSpecializing(); 444 info()->MarkAsNativeContextSpecializing();
445 info()->MarkAsTypingEnabled(); 445 info()->MarkAsTypingEnabled();
446 } else if (FLAG_turbo_type_feedback) {
447 info()->MarkAsTypeFeedbackEnabled();
448 info()->EnsureFeedbackVector();
449 } 446 }
450 if (!info()->shared_info()->asm_function() || 447 if (!info()->shared_info()->asm_function() ||
451 FLAG_turbo_asm_deoptimization) { 448 FLAG_turbo_asm_deoptimization) {
452 info()->MarkAsDeoptimizationEnabled(); 449 info()->MarkAsDeoptimizationEnabled();
453 } 450 }
454 451
455 Timer t(this, &time_taken_to_create_graph_); 452 Timer t(this, &time_taken_to_create_graph_);
456 compiler::Pipeline pipeline(info()); 453 compiler::Pipeline pipeline(info());
457 pipeline.GenerateCode(); 454 pipeline.GenerateCode();
458 if (!info()->code().is_null()) { 455 if (!info()->code().is_null()) {
(...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after
1791 } 1788 }
1792 1789
1793 #if DEBUG 1790 #if DEBUG
1794 void CompilationInfo::PrintAstForTesting() { 1791 void CompilationInfo::PrintAstForTesting() {
1795 PrintF("--- Source from AST ---\n%s\n", 1792 PrintF("--- Source from AST ---\n%s\n",
1796 PrettyPrinter(isolate()).PrintProgram(literal())); 1793 PrettyPrinter(isolate()).PrintProgram(literal()));
1797 } 1794 }
1798 #endif 1795 #endif
1799 } // namespace internal 1796 } // namespace internal
1800 } // namespace v8 1797 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler.h ('k') | src/compiler/ast-graph-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698