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

Side by Side Diff: runtime/vm/flow_graph_compiler_ia32.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_arm.cc ('k') | runtime/vm/flow_graph_compiler_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/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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 return deopt_info.raw(); 141 return deopt_info.raw();
142 } 142 }
143 143
144 144
145 void CompilerDeoptInfoWithStub::GenerateCode(FlowGraphCompiler* compiler, 145 void CompilerDeoptInfoWithStub::GenerateCode(FlowGraphCompiler* compiler,
146 intptr_t stub_ix) { 146 intptr_t stub_ix) {
147 // Calls do not need stubs, they share a deoptimization trampoline. 147 // Calls do not need stubs, they share a deoptimization trampoline.
148 ASSERT(reason() != kDeoptAtCall); 148 ASSERT(reason() != kDeoptAtCall);
149 Assembler* assem = compiler->assembler(); 149 Assembler* assem = compiler->assembler();
150 #define __ assem-> 150 #define __ assem->
151 __ Comment("Deopt stub for id %"Pd"", deopt_id()); 151 __ Comment("Deopt stub for id %" Pd "", deopt_id());
152 __ Bind(entry_label()); 152 __ Bind(entry_label());
153 if (FLAG_trap_on_deoptimization) __ int3(); 153 if (FLAG_trap_on_deoptimization) __ int3();
154 154
155 ASSERT(deopt_env() != NULL); 155 ASSERT(deopt_env() != NULL);
156 156
157 __ call(&StubCode::DeoptimizeLabel()); 157 __ call(&StubCode::DeoptimizeLabel());
158 set_pc_offset(assem->CodeSize()); 158 set_pc_offset(assem->CodeSize());
159 __ int3(); 159 __ int3();
160 #undef __ 160 #undef __
161 } 161 }
(...skipping 1747 matching lines...) Expand 10 before | Expand all | Expand 10 after
1909 __ movups(reg, Address(ESP, 0)); 1909 __ movups(reg, Address(ESP, 0));
1910 __ addl(ESP, Immediate(kFpuRegisterSize)); 1910 __ addl(ESP, Immediate(kFpuRegisterSize));
1911 } 1911 }
1912 1912
1913 1913
1914 #undef __ 1914 #undef __
1915 1915
1916 } // namespace dart 1916 } // namespace dart
1917 1917
1918 #endif // defined TARGET_ARCH_IA32 1918 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698