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 77% |
copy from test/mjsunit/runtime-gen/functiongetscript.js |
copy to test/mjsunit/runtime-gen/tomethod.js |
index bd4364447ec373a47478551bf6306384f9e937b0..0d4eb5553d5fe5dcf3567e75d7cbcd459b66882a 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 --harmony-proxies |
var _fun = function() {}; |
-%FunctionGetScript(_fun); |
+var _home_object = new Object(); |
+%ToMethod(_fun, _home_object); |