Lines Matching refs:functions
48 // Helper function used to install functions on objects.
49 function InstallFunctions(object, attributes, functions) {
50 if (functions.length >= 8) {
51 %OptimizeObjectForAddingMultipleProperties(object, functions.length >> 1);
53 for (var i = 0; i < functions.length; i += 2) {
54 var key = functions[i];
55 var f = functions[i + 1];
63 // Emulates JSC by installing functions on a hidden prototype that
65 // functions on String.prototype etc. and then restore the old function
67 function InstallFunctionsOnHiddenPrototype(object, attributes, functions) {
70 InstallFunctions(hidden_prototype, attributes, functions);
939 // Setup non-enumerable functions on the Object.prototype object.
1137 // Setup non-enumerable functions on the Number prototype object.
1233 // We already have caller and arguments properties on functions,
1238 // To be consistent with our normal functions we leave this as it is.