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

Unified Diff: src/ast.cc

Issue 6881079: Make throw inlineable only if the exception is inlineable. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix indentation. Created 9 years, 8 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 | « no previous file | test/mjsunit/regress/regress-1337.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast.cc
diff --git a/src/ast.cc b/src/ast.cc
index 303189d096051d5b1edae4b55a329b965e1e51ac..6422f9a1135671e1d4884a021a210d987f1100ab 100644
--- a/src/ast.cc
+++ b/src/ast.cc
@@ -413,7 +413,7 @@ bool DebuggerStatement::IsInlineable() const {
bool Throw::IsInlineable() const {
- return true;
+ return exception()->IsInlineable();
}
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-1337.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698