Lines Matching refs:constructor
32 function TestInlinedConstructor(constructor, closure) { argument
38 result = closure(constructor, 11, noDeopt, counter);
42 result = closure(constructor, 23, noDeopt, counter);
47 result = closure(constructor, 42, noDeopt, counter);
51 result = closure(constructor, 127, forceDeopt, counter);
57 %ClearFunctionTypeFeedback(constructor);
60 function value_context(constructor, val, deopt, counter) { argument
61 var obj = new constructor(val, deopt, counter);
65 function test_context(constructor, val, deopt, counter) { argument
66 if (!new constructor(val, deopt, counter)) {
72 function effect_context(constructor, val, deopt, counter) { argument
73 new constructor(val, deopt, counter);
77 function TestInAllContexts(constructor) { argument
78 TestInlinedConstructor(constructor, value_context);
79 TestInlinedConstructor(constructor, test_context);
80 TestInlinedConstructor(constructor, effect_context);