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

Unified Diff: runtime/vm/exceptions.cc

Issue 678763004: Make CTX allocatable by the register allocator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: incorporated latest comments Created 6 years, 2 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/exceptions.cc
===================================================================
--- runtime/vm/exceptions.cc (revision 41393)
+++ runtime/vm/exceptions.cc (working copy)
@@ -280,13 +280,6 @@
RawObject* raw_exception = exception_object.raw();
RawObject* raw_stacktrace = stacktrace_object.raw();
- // The following operation is part of the 'epilogue' of the CallToRuntime,
- // CallBootstrapCFunction, and CallNativeCFunction stubs. In the case of an
- // exception, we skip the epilogues and must set the correct state here.
- // The other operations performed as part of the 'epilogue' are handled
- // by the simulator's Longjmp or the JumpToExceptionHandler stub.
- isolate->set_top_context(Context::null());
-
#if defined(USING_SIMULATOR)
// Unwinding of the C++ frames and destroying of their stack resources is done
// by the simulator, because the target stack_pointer is a simulated stack

Powered by Google App Engine
This is Rietveld 408576698