Lines Matching refs:func
129 for (let func of getTestFuncs()) {
131 assertThrows(function(){func(value)}, TypeError);
132 assertThrows(function(){func(value)}, TypeError);
133 assertThrows(function(){func(value)}, TypeError);
134 %OptimizeFunctionOnNextCall(func);
135 assertThrows(function(){func(value)}, TypeError);
136 %DeoptimizeFunction(func);
141 for (let func of getTestFuncs()) {
142 func(1);
143 func(1);
144 func(1);
146 assertThrows(function(){func(value)}, TypeError);
147 assertThrows(function(){func(value)}, TypeError);
148 assertThrows(function(){func(value)}, TypeError);
149 %OptimizeFunctionOnNextCall(func);
150 assertThrows(function(){func(value)}, TypeError);
151 %DeoptimizeFunction(func);
156 for (let func of getTestFuncs()) {
157 func(9999999999999);
158 func(9999999999999);
159 func(9999999999999);
161 assertThrows(function(){func(value)}, TypeError);
162 assertThrows(function(){func(value)}, TypeError);
163 assertThrows(function(){func(value)}, TypeError);
164 %OptimizeFunctionOnNextCall(func);
165 assertThrows(function(){func(value)}, TypeError);
166 %DeoptimizeFunction(func);