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

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

Issue 1759913002: Make precompiler work with product mode. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: addressed comments Created 4 years, 9 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 | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/intermediate_language_arm64.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 (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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/globals.h" // Needed here to get TARGET_ARCH_ARM. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
6 #if defined(TARGET_ARCH_ARM) 6 #if defined(TARGET_ARCH_ARM)
7 7
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 9
10 #include "vm/compiler.h" 10 #include "vm/compiler.h"
(...skipping 6590 matching lines...) Expand 10 before | Expand all | Expand 10 after
6601 6601
6602 6602
6603 LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone, 6603 LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone,
6604 bool opt) const { 6604 bool opt) const {
6605 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); 6605 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall);
6606 } 6606 }
6607 6607
6608 6608
6609 void GotoInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 6609 void GotoInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
6610 if (!compiler->is_optimizing()) { 6610 if (!compiler->is_optimizing()) {
6611 if (FLAG_emit_edge_counters) { 6611 if (FLAG_reorder_basic_blocks) {
6612 compiler->EmitEdgeCounter(block()->preorder_number()); 6612 compiler->EmitEdgeCounter(block()->preorder_number());
6613 } 6613 }
6614 // Add a deoptimization descriptor for deoptimizing instructions that 6614 // Add a deoptimization descriptor for deoptimizing instructions that
6615 // may be inserted before this instruction. 6615 // may be inserted before this instruction.
6616 compiler->AddCurrentDescriptor(RawPcDescriptors::kDeopt, 6616 compiler->AddCurrentDescriptor(RawPcDescriptors::kDeopt,
6617 GetDeoptId(), 6617 GetDeoptId(),
6618 TokenPosition::kNoSource); 6618 TokenPosition::kNoSource);
6619 } 6619 }
6620 if (HasParallelMove()) { 6620 if (HasParallelMove()) {
6621 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move()); 6621 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move());
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
6824 1, 6824 1,
6825 locs()); 6825 locs());
6826 __ Drop(1); 6826 __ Drop(1);
6827 __ Pop(result); 6827 __ Pop(result);
6828 } 6828 }
6829 6829
6830 6830
6831 } // namespace dart 6831 } // namespace dart
6832 6832
6833 #endif // defined TARGET_ARCH_ARM 6833 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/intermediate_language_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698