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

Unified Diff: src/full-codegen.cc

Issue 20680002: Rebase of partial ia32 implementation of optimized try/catch (started by Kevin Millikin, continued … (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix detection of CATCH frames (fixes debuger exception reporting anf breaks another assertion...). Created 7 years, 5 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
« no previous file with comments | « src/frames-inl.h ('k') | src/hydrogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/full-codegen.cc
diff --git a/src/full-codegen.cc b/src/full-codegen.cc
index 73362619935159ce6e96c4cc47b3582baf754946..758bfe72147fed7bae368cf0f2a947360a68c521 100644
--- a/src/full-codegen.cc
+++ b/src/full-codegen.cc
@@ -1430,10 +1430,12 @@ void FullCodeGenerator::VisitTryCatchStatement(TryCatchStatement* stmt) {
// Try block code. Sets up the exception handler chain.
__ bind(&try_entry);
__ PushTryHandler(StackHandler::CATCH, stmt->index());
+ PrepareForBailoutForId(stmt->TryEntryId(), NO_REGISTERS);
{ TryCatch try_body(this);
Visit(stmt->try_block());
}
__ PopTryHandler();
+ PrepareForBailoutForId(stmt->TryExitId(), NO_REGISTERS);
__ bind(&exit);
}
« no previous file with comments | « src/frames-inl.h ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698