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

Side by Side Diff: runtime/vm/compiler.cc

Issue 1685963002: Pass field to mutator thread so that it can be marked as boxed and all dependent code deoptimized (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: y Created 4 years, 10 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/compiler.h" 5 #include "vm/compiler.h"
6 6
7 #include "vm/assembler.h" 7 #include "vm/assembler.h"
8 8
9 #include "vm/ast_printer.h" 9 #include "vm/ast_printer.h"
10 #include "vm/block_scheduler.h" 10 #include "vm/block_scheduler.h"
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 "BuildFlowGraph"); 629 "BuildFlowGraph");
630 #endif // !PRODUCT 630 #endif // !PRODUCT
631 flow_graph = pipeline->BuildFlowGraph(zone, 631 flow_graph = pipeline->BuildFlowGraph(zone,
632 parsed_function(), 632 parsed_function(),
633 *ic_data_array, 633 *ic_data_array,
634 osr_id()); 634 osr_id());
635 } 635 }
636 636
637 const bool print_flow_graph = 637 const bool print_flow_graph =
638 (FLAG_print_flow_graph || 638 (FLAG_print_flow_graph ||
639 (optimized() && FLAG_print_flow_graph_optimized)) && 639 (optimized() && FLAG_print_flow_graph_optimized)) &&
siva 2016/02/10 17:57:35 indentation seems off over here.
srdjan 2016/02/10 19:18:51 Done.
640 FlowGraphPrinter::ShouldPrint(function); 640 FlowGraphPrinter::ShouldPrint(function);
641 641
642 if (print_flow_graph) { 642 if (print_flow_graph) {
643 if (osr_id() == Compiler::kNoOSRDeoptId) { 643 if (osr_id() == Compiler::kNoOSRDeoptId) {
644 FlowGraphPrinter::PrintGraph("Before Optimizations", flow_graph); 644 FlowGraphPrinter::PrintGraph("Before Optimizations", flow_graph);
645 } else { 645 } else {
646 FlowGraphPrinter::PrintGraph("For OSR", flow_graph); 646 FlowGraphPrinter::PrintGraph("For OSR", flow_graph);
647 } 647 }
648 } 648 }
649 649
(...skipping 1234 matching lines...) Expand 10 before | Expand all | Expand 10 after
1884 } 1884 }
1885 1885
1886 1886
1887 void BackgroundCompiler::EnsureInit(Thread* thread) { 1887 void BackgroundCompiler::EnsureInit(Thread* thread) {
1888 UNREACHABLE(); 1888 UNREACHABLE();
1889 } 1889 }
1890 1890
1891 #endif // DART_PRECOMPILED_RUNTIME 1891 #endif // DART_PRECOMPILED_RUNTIME
1892 1892
1893 } // namespace dart 1893 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698