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

Side by Side Diff: runtime/vm/intermediate_language_ia32.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_arm64.cc ('k') | runtime/vm/intermediate_language_mips.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_IA32. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32.
6 #if defined(TARGET_ARCH_IA32) 6 #if defined(TARGET_ARCH_IA32)
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 6489 matching lines...) Expand 10 before | Expand all | Expand 10 after
6500 6500
6501 6501
6502 LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone, 6502 LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone,
6503 bool opt) const { 6503 bool opt) const {
6504 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); 6504 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall);
6505 } 6505 }
6506 6506
6507 6507
6508 void GotoInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 6508 void GotoInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
6509 if (!compiler->is_optimizing()) { 6509 if (!compiler->is_optimizing()) {
6510 if (FLAG_emit_edge_counters) { 6510 if (FLAG_reorder_basic_blocks) {
6511 compiler->EmitEdgeCounter(block()->preorder_number()); 6511 compiler->EmitEdgeCounter(block()->preorder_number());
6512 } 6512 }
6513 // Add a deoptimization descriptor for deoptimizing instructions that 6513 // Add a deoptimization descriptor for deoptimizing instructions that
6514 // may be inserted before this instruction. 6514 // may be inserted before this instruction.
6515 compiler->AddCurrentDescriptor(RawPcDescriptors::kDeopt, 6515 compiler->AddCurrentDescriptor(RawPcDescriptors::kDeopt,
6516 GetDeoptId(), 6516 GetDeoptId(),
6517 TokenPosition::kNoSource); 6517 TokenPosition::kNoSource);
6518 } 6518 }
6519 if (HasParallelMove()) { 6519 if (HasParallelMove()) {
6520 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move()); 6520 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move());
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
6833 __ Drop(1); 6833 __ Drop(1);
6834 __ popl(result); 6834 __ popl(result);
6835 } 6835 }
6836 6836
6837 6837
6838 } // namespace dart 6838 } // namespace dart
6839 6839
6840 #undef __ 6840 #undef __
6841 6841
6842 #endif // defined TARGET_ARCH_IA32 6842 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_arm64.cc ('k') | runtime/vm/intermediate_language_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698