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

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

Issue 335653002: Have one, long-lived map for bound functions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments 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 | « src/v8natives.js ('k') | tools/generate-runtime-tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/runtime-gen/functionbindarguments.js
diff --git a/test/mjsunit/runtime-gen/setaccessorproperty.js b/test/mjsunit/runtime-gen/functionbindarguments.js
similarity index 50%
copy from test/mjsunit/runtime-gen/setaccessorproperty.js
copy to test/mjsunit/runtime-gen/functionbindarguments.js
index 1f805f72633ff9d48d16759f1d7d4d791d74c8c6..cc842fab582f0ba0c252b26140ea99739f0b1370 100644
--- a/test/mjsunit/runtime-gen/setaccessorproperty.js
+++ b/test/mjsunit/runtime-gen/functionbindarguments.js
@@ -1,10 +1,8 @@
// Copyright 2014 the V8 project authors. All rights reserved.
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony
-var _object = new Object();
-var _name = "name";
+var _bound_function = function() {};
+var _bindee = new Object();
var arg2 = undefined;
-var arg3 = undefined;
-var _attribute = 1;
-var _access_control = 1;
-%SetAccessorProperty(_object, _name, arg2, arg3, _attribute, _access_control);
+var _new_length = 1.5;
+%FunctionBindArguments(_bound_function, _bindee, arg2, _new_length);
« no previous file with comments | « src/v8natives.js ('k') | tools/generate-runtime-tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698