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

Unified Diff: test/mjsunit/runtime-gen/tomethod.js

Issue 418143007: FYI Implementing 'super' keyword (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: one more test Created 6 years, 4 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
Index: test/mjsunit/runtime-gen/tomethod.js
diff --git a/test/mjsunit/runtime-gen/functiongetscript.js b/test/mjsunit/runtime-gen/tomethod.js
similarity index 75%
copy from test/mjsunit/runtime-gen/functiongetscript.js
copy to test/mjsunit/runtime-gen/tomethod.js
index c64199019dbafc91f45315c4562598c4b6c3c8cd..307cce5d4b0cf10e4f1885a5f633ed5c0f673837 100644
--- a/test/mjsunit/runtime-gen/functiongetscript.js
+++ b/test/mjsunit/runtime-gen/tomethod.js
@@ -2,4 +2,5 @@
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony
var _fun = function() {};
-%FunctionGetScript(_fun);
+var _home_object = new Object();
+%ToMethod(_fun, _home_object);

Powered by Google App Engine
This is Rietveld 408576698