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

Side by Side Diff: src/compiler/js-inlining.cc

Issue 2394213003: Named all zones in the project (Closed)
Patch Set: Merge branch 'master' into zonenames Created 4 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/graph-visualizer.cc ('k') | src/compiler/jump-threading.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/compiler/js-inlining.h" 5 #include "src/compiler/js-inlining.h"
6 6
7 #include "src/ast/ast-numbering.h" 7 #include "src/ast/ast-numbering.h"
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/compilation-info.h" 9 #include "src/compilation-info.h"
10 #include "src/compiler.h" 10 #include "src/compiler.h"
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 } else { 464 } else {
465 TRACE( 465 TRACE(
466 "Inlining %s into %s regardless of surrounding try-block to catcher " 466 "Inlining %s into %s regardless of surrounding try-block to catcher "
467 "#%d:%s\n", 467 "#%d:%s\n",
468 shared_info->DebugName()->ToCString().get(), 468 shared_info->DebugName()->ToCString().get(),
469 info_->shared_info()->DebugName()->ToCString().get(), 469 info_->shared_info()->DebugName()->ToCString().get(),
470 exception_target->id(), exception_target->op()->mnemonic()); 470 exception_target->id(), exception_target->op()->mnemonic());
471 } 471 }
472 } 472 }
473 473
474 Zone zone(info_->isolate()->allocator()); 474 Zone zone(info_->isolate()->allocator(), ZONE_NAME);
475 ParseInfo parse_info(&zone, shared_info); 475 ParseInfo parse_info(&zone, shared_info);
476 CompilationInfo info(&parse_info, function); 476 CompilationInfo info(&parse_info, function);
477 if (info_->is_deoptimization_enabled()) info.MarkAsDeoptimizationEnabled(); 477 if (info_->is_deoptimization_enabled()) info.MarkAsDeoptimizationEnabled();
478 if (info_->is_type_feedback_enabled()) info.MarkAsTypeFeedbackEnabled(); 478 if (info_->is_type_feedback_enabled()) info.MarkAsTypeFeedbackEnabled();
479 if (info_->is_optimizing_from_bytecode()) info.MarkAsOptimizeFromBytecode(); 479 if (info_->is_optimizing_from_bytecode()) info.MarkAsOptimizeFromBytecode();
480 480
481 if (info.is_optimizing_from_bytecode() && !Compiler::EnsureBytecode(&info)) { 481 if (info.is_optimizing_from_bytecode() && !Compiler::EnsureBytecode(&info)) {
482 TRACE("Not inlining %s into %s because bytecode generation failed\n", 482 TRACE("Not inlining %s into %s because bytecode generation failed\n",
483 shared_info->DebugName()->ToCString().get(), 483 shared_info->DebugName()->ToCString().get(),
484 info_->shared_info()->DebugName()->ToCString().get()); 484 info_->shared_info()->DebugName()->ToCString().get());
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 691
692 CommonOperatorBuilder* JSInliner::common() const { return jsgraph()->common(); } 692 CommonOperatorBuilder* JSInliner::common() const { return jsgraph()->common(); }
693 693
694 SimplifiedOperatorBuilder* JSInliner::simplified() const { 694 SimplifiedOperatorBuilder* JSInliner::simplified() const {
695 return jsgraph()->simplified(); 695 return jsgraph()->simplified();
696 } 696 }
697 697
698 } // namespace compiler 698 } // namespace compiler
699 } // namespace internal 699 } // namespace internal
700 } // namespace v8 700 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/graph-visualizer.cc ('k') | src/compiler/jump-threading.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698