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

Side by Side Diff: src/compiler/pipeline.cc

Issue 2486223002: [turbofan] Enable accessor inlining when compiling from bytecode. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | test/cctest/cctest.status » ('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/pipeline.h" 5 #include "src/compiler/pipeline.h"
6 6
7 #include <fstream> // NOLINT(readability/streams) 7 #include <fstream> // NOLINT(readability/streams)
8 #include <memory> 8 #include <memory>
9 #include <sstream> 9 #include <sstream>
10 10
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 } else { 592 } else {
593 if (!FLAG_always_opt) { 593 if (!FLAG_always_opt) {
594 info()->MarkAsBailoutOnUninitialized(); 594 info()->MarkAsBailoutOnUninitialized();
595 } 595 }
596 if (FLAG_turbo_inlining) { 596 if (FLAG_turbo_inlining) {
597 info()->MarkAsInliningEnabled(); 597 info()->MarkAsInliningEnabled();
598 } 598 }
599 } 599 }
600 if (!info()->shared_info()->asm_function() || FLAG_turbo_asm_deoptimization) { 600 if (!info()->shared_info()->asm_function() || FLAG_turbo_asm_deoptimization) {
601 info()->MarkAsDeoptimizationEnabled(); 601 info()->MarkAsDeoptimizationEnabled();
602 }
603 if (!info()->is_optimizing_from_bytecode()) {
604 if (FLAG_inline_accessors) { 602 if (FLAG_inline_accessors) {
605 info()->MarkAsAccessorInliningEnabled(); 603 info()->MarkAsAccessorInliningEnabled();
606 } 604 }
605 }
606 if (!info()->is_optimizing_from_bytecode()) {
607 if (info()->is_deoptimization_enabled() && FLAG_turbo_type_feedback) { 607 if (info()->is_deoptimization_enabled() && FLAG_turbo_type_feedback) {
608 info()->MarkAsTypeFeedbackEnabled(); 608 info()->MarkAsTypeFeedbackEnabled();
609 } 609 }
610 if (!Compiler::EnsureDeoptimizationSupport(info())) return FAILED; 610 if (!Compiler::EnsureDeoptimizationSupport(info())) return FAILED;
611 } 611 }
612 612
613 linkage_ = new (&zone_) Linkage(Linkage::ComputeIncoming(&zone_, info())); 613 linkage_ = new (&zone_) Linkage(Linkage::ComputeIncoming(&zone_, info()));
614 614
615 if (!pipeline_.CreateGraph()) { 615 if (!pipeline_.CreateGraph()) {
616 if (isolate()->has_pending_exception()) return FAILED; // Stack overflowed. 616 if (isolate()->has_pending_exception()) return FAILED; // Stack overflowed.
(...skipping 1378 matching lines...) Expand 10 before | Expand all | Expand 10 after
1995 data->DeleteRegisterAllocationZone(); 1995 data->DeleteRegisterAllocationZone();
1996 } 1996 }
1997 1997
1998 CompilationInfo* PipelineImpl::info() const { return data_->info(); } 1998 CompilationInfo* PipelineImpl::info() const { return data_->info(); }
1999 1999
2000 Isolate* PipelineImpl::isolate() const { return info()->isolate(); } 2000 Isolate* PipelineImpl::isolate() const { return info()->isolate(); }
2001 2001
2002 } // namespace compiler 2002 } // namespace compiler
2003 } // namespace internal 2003 } // namespace internal
2004 } // namespace v8 2004 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | test/cctest/cctest.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698