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

Unified Diff: runtime/vm/flow_graph_compiler_x64.cc

Issue 10453098: Move Throw and ReThrow to the location based code generation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/flow_graph_compiler_x64.cc
diff --git a/runtime/vm/flow_graph_compiler_x64.cc b/runtime/vm/flow_graph_compiler_x64.cc
index ba2fc440c8c05102b6a981b28b2b22a7e8186945..6db4d3b856b477538852aee1447fc279fdfdcd9b 100644
--- a/runtime/vm/flow_graph_compiler_x64.cc
+++ b/runtime/vm/flow_graph_compiler_x64.cc
@@ -1232,23 +1232,14 @@ void FlowGraphCompiler::VisitReturn(ReturnInstr* instr) {
void FlowGraphCompiler::VisitThrow(ThrowInstr* instr) {
- ASSERT(instr->exception()->IsUse());
- GenerateCallRuntime(instr->cid(),
- instr->token_index(),
- instr->try_index(),
- kThrowRuntimeEntry);
- __ int3();
+ // Moved to intermediate_language_x64.cc.
+ UNREACHABLE();
}
void FlowGraphCompiler::VisitReThrow(ReThrowInstr* instr) {
- ASSERT(instr->exception()->IsUse());
- ASSERT(instr->stack_trace()->IsUse());
- GenerateCallRuntime(instr->cid(),
- instr->token_index(),
- instr->try_index(),
- kReThrowRuntimeEntry);
- __ int3();
+ // Moved to intermediate_language_x64.cc.
+ UNREACHABLE();
}

Powered by Google App Engine
This is Rietveld 408576698