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

Unified Diff: test/mjsunit/mjsunit.js

Issue 349423003: Fix mjsunit's assertOptimized and assertUnoptimized. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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/mjsunit-assertoptimized.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/mjsunit.js
diff --git a/test/mjsunit/mjsunit.js b/test/mjsunit/mjsunit.js
index bcd4913b3b775b59983b116281e1a267ebc0a011..043027908853d0dfd9169553dae00a19a3efde55 100644
--- a/test/mjsunit/mjsunit.js
+++ b/test/mjsunit/mjsunit.js
@@ -391,9 +391,8 @@ var assertUnoptimized;
} catch (e) {
throw new Error("natives syntax not allowed");
}
- } else {
- OptimizationStatusImpl(fun, sync_opt);
}
+ return OptimizationStatusImpl(fun, sync_opt);
}
assertUnoptimized = function assertUnoptimized(fun, sync_opt, name_opt) {
« no previous file with comments | « no previous file | test/mjsunit/mjsunit-assertoptimized.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698