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

Unified Diff: test/mjsunit/compiler/inline-function-apply.js

Issue 12255033: Fix f.apply() optimization when declared arguments are mutated. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Toon Verwaest. Created 7 years, 10 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/hydrogen.cc ('k') | test/mjsunit/regress/regress-2539.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/compiler/inline-function-apply.js
diff --git a/test/mjsunit/compiler/inline-function-apply.js b/test/mjsunit/compiler/inline-function-apply.js
index 76bfa4510acbd0c1f94328901e5369163f12570c..6b761f4df8b506387f58e6fa17e61ca656b965e5 100644
--- a/test/mjsunit/compiler/inline-function-apply.js
+++ b/test/mjsunit/compiler/inline-function-apply.js
@@ -48,8 +48,7 @@
}
function B(x,y) {
- // TODO(2539): Enable the mutation below once bug is fixed.
- //x = 0; y = 0;
+ x = 0; y = 0;
var r = "B" + dispatcher.func.apply(this, arguments);
assertSame(argumentsCount, arguments.length);
for (var i = 0; i < arguments.length; i++) {
« no previous file with comments | « src/hydrogen.cc ('k') | test/mjsunit/regress/regress-2539.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698