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

Side by Side Diff: runtime/vm/intermediate_language_x64.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/intermediate_language_mips.cc ('k') | runtime/vm/object.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_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
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 6112 matching lines...) Expand 10 before | Expand all | Expand 10 after
6123 6123
6124 6124
6125 LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone, 6125 LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone,
6126 bool opt) const { 6126 bool opt) const {
6127 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); 6127 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall);
6128 } 6128 }
6129 6129
6130 6130
6131 void GotoInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 6131 void GotoInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
6132 if (!compiler->is_optimizing()) { 6132 if (!compiler->is_optimizing()) {
6133 if (FLAG_emit_edge_counters) { 6133 if (FLAG_reorder_basic_blocks) {
6134 compiler->EmitEdgeCounter(block()->preorder_number()); 6134 compiler->EmitEdgeCounter(block()->preorder_number());
6135 } 6135 }
6136 // Add a deoptimization descriptor for deoptimizing instructions that 6136 // Add a deoptimization descriptor for deoptimizing instructions that
6137 // may be inserted before this instruction. 6137 // may be inserted before this instruction.
6138 compiler->AddCurrentDescriptor(RawPcDescriptors::kDeopt, 6138 compiler->AddCurrentDescriptor(RawPcDescriptors::kDeopt,
6139 GetDeoptId(), 6139 GetDeoptId(),
6140 TokenPosition::kNoSource); 6140 TokenPosition::kNoSource);
6141 } 6141 }
6142 if (HasParallelMove()) { 6142 if (HasParallelMove()) {
6143 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move()); 6143 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move());
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
6397 __ Drop(1); 6397 __ Drop(1);
6398 __ popq(result); 6398 __ popq(result);
6399 } 6399 }
6400 6400
6401 6401
6402 } // namespace dart 6402 } // namespace dart
6403 6403
6404 #undef __ 6404 #undef __
6405 6405
6406 #endif // defined TARGET_ARCH_X64 6406 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_mips.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698