v8/test/mjsunit/runtime-gen/functionbindarguments.js
jkummerow@chromium.org 6e29768eb6 Have one, long-lived map for bound functions.
This avoids creating a new map for every bound function. Bonus: some cleanup in Runtime_FunctionBindArguments.

R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/335653002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21839 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-13 12:19:04 +00:00

9 lines
353 B
JavaScript

// 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 _bound_function = function() {};
var _bindee = new Object();
var arg2 = undefined;
var _new_length = 1.5;
%FunctionBindArguments(_bound_function, _bindee, arg2, _new_length);