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

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

Issue 2039913006: DBC: Eager deoptimization and CheckSmi instruction. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments Created 4 years, 6 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/instructions_dbc.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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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_DBC. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_DBC.
6 #if defined(TARGET_ARCH_DBC) 6 #if defined(TARGET_ARCH_DBC)
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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 // In optimized code this descriptor is needed for exception handling. 202 // In optimized code this descriptor is needed for exception handling.
203 AddCurrentDescriptor(RawPcDescriptors::kDeopt, 203 AddCurrentDescriptor(RawPcDescriptors::kDeopt,
204 deopt_id_after, 204 deopt_id_after,
205 instr->token_pos()); 205 instr->token_pos());
206 } 206 }
207 } 207 }
208 208
209 209
210 void CompilerDeoptInfoWithStub::GenerateCode(FlowGraphCompiler* compiler, 210 void CompilerDeoptInfoWithStub::GenerateCode(FlowGraphCompiler* compiler,
211 intptr_t stub_ix) { 211 intptr_t stub_ix) {
212 UNIMPLEMENTED(); 212 UNREACHABLE();
213 } 213 }
214 214
215 215
216 #define __ assembler()-> 216 #define __ assembler()->
217 217
218 218
219 void FlowGraphCompiler::GenerateAssertAssignable(TokenPosition token_pos, 219 void FlowGraphCompiler::GenerateAssertAssignable(TokenPosition token_pos,
220 intptr_t deopt_id, 220 intptr_t deopt_id,
221 const AbstractType& dst_type, 221 const AbstractType& dst_type,
222 const String& dst_name, 222 const String& dst_name,
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { 498 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) {
499 UNIMPLEMENTED(); 499 UNIMPLEMENTED();
500 } 500 }
501 501
502 502
503 #undef __ 503 #undef __
504 504
505 } // namespace dart 505 } // namespace dart
506 506
507 #endif // defined TARGET_ARCH_DBC 507 #endif // defined TARGET_ARCH_DBC
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/instructions_dbc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698