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

Unified Diff: src/full-codegen.cc

Issue 10910161: Partial ia32 implementation of optimized try/catch (by Kevin Millikin) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed build. Created 8 years, 3 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/heap.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 9592e0afa21c45aec364adb1e1557fae8f4d0551..9ad75cd836e3936d220863a369644fee6e318065 100644
--- a/src/full-codegen.cc
+++ b/src/full-codegen.cc
@@ -1243,10 +1243,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/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698