Home | History | Annotate | Download | only in src

Lines Matching refs:Constructor

37   not_constructor:               ["%0", " is not a constructor"],
83 data_view_not_array_buffer: ["First argument to DataView constructor must be an ArrayBuffer"],
84 constructor_not_function: ["Constructor ", "%0", " requires 'new'"],
120 invalid_regexp_flags: ["Invalid flags supplied to RegExp constructor '", "%0", "'"],
212 var constructor = %GetDataProperty(obj, "constructor");
213 if (typeof constructor == "function") {
214 var constructorName = constructor.name;
263 var constructor = obj.constructor;
264 if (typeof constructor == "function") {
265 var constructorName = constructor.name;
275 function MakeGenericError(constructor, type, args) {
277 return new constructor(FormatMessage(type, args));
282 * Set up the Script function and constructor.
285 %SetProperty(Script.prototype, 'constructor', Script,
627 * @constructor
728 * @constructor
915 var constructor = (receiver != null && IS_OBJECT(receiver))
916 ? %GetDataProperty(receiver, "constructor") : null;
917 if (!constructor) return false;
918 return GET_PRIVATE(this, CallSiteFunctionKey) === constructor;
1117 var constructor = receiver.constructor;
1118 if (!constructor) {
1122 var constructorName = constructor.name;
1200 %SetProperty(f.prototype, 'constructor', f, DONT_ENUM);