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

Unified Diff: src/hydrogen.cc

Issue 23983043: Fix Environment size mismatch in r6849. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | « no previous file | test/mjsunit/regress/regress-binop.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index 3ece7bd8e69b32691a9d57b6dec4821c6bbe12df..b49f2bd5a2c18394f59dd4c6bf3504f44aba5b33 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -7644,6 +7644,11 @@ HValue* HGraphBuilder::TruncateToNumber(HValue* value, Handle<Type>* expected) {
}
}
+ // We put temporary values on the stack, which don't correspond to anything
+ // in baseline code. Since nothing is observable we avoid recording those
+ // pushes with a NoObservableSideEffectsScope.
+ NoObservableSideEffectsScope no_effects(this);
+
Handle<Type> expected_type = *expected;
// Separate the number type from the rest.
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-binop.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698