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

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

Issue 23072026: fix cpp11 compile errors (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/flow_graph_inliner.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/flow_graph_compiler.h" 8 #include "vm/flow_graph_compiler.h"
9 9
10 #include "vm/ast_printer.h" 10 #include "vm/ast_printer.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 return deopt_info.raw(); 138 return deopt_info.raw();
139 } 139 }
140 140
141 141
142 void CompilerDeoptInfoWithStub::GenerateCode(FlowGraphCompiler* compiler, 142 void CompilerDeoptInfoWithStub::GenerateCode(FlowGraphCompiler* compiler,
143 intptr_t stub_ix) { 143 intptr_t stub_ix) {
144 // Calls do not need stubs, they share a deoptimization trampoline. 144 // Calls do not need stubs, they share a deoptimization trampoline.
145 ASSERT(reason() != kDeoptAtCall); 145 ASSERT(reason() != kDeoptAtCall);
146 Assembler* assem = compiler->assembler(); 146 Assembler* assem = compiler->assembler();
147 #define __ assem-> 147 #define __ assem->
148 __ Comment("Deopt stub for id %"Pd"", deopt_id()); 148 __ Comment("Deopt stub for id %" Pd "", deopt_id());
149 __ Bind(entry_label()); 149 __ Bind(entry_label());
150 if (FLAG_trap_on_deoptimization) __ int3(); 150 if (FLAG_trap_on_deoptimization) __ int3();
151 151
152 ASSERT(deopt_env() != NULL); 152 ASSERT(deopt_env() != NULL);
153 153
154 __ call(&StubCode::DeoptimizeLabel()); 154 __ call(&StubCode::DeoptimizeLabel());
155 set_pc_offset(assem->CodeSize()); 155 set_pc_offset(assem->CodeSize());
156 __ int3(); 156 __ int3();
157 #undef __ 157 #undef __
158 } 158 }
(...skipping 1730 matching lines...) Expand 10 before | Expand all | Expand 10 after
1889 __ movups(reg, Address(RSP, 0)); 1889 __ movups(reg, Address(RSP, 0));
1890 __ addq(RSP, Immediate(kFpuRegisterSize)); 1890 __ addq(RSP, Immediate(kFpuRegisterSize));
1891 } 1891 }
1892 1892
1893 1893
1894 #undef __ 1894 #undef __
1895 1895
1896 } // namespace dart 1896 } // namespace dart
1897 1897
1898 #endif // defined TARGET_ARCH_X64 1898 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/flow_graph_inliner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698