OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_BUILTINS_BUILTINS_H_ | 5 #ifndef V8_BUILTINS_BUILTINS_H_ |
6 #define V8_BUILTINS_BUILTINS_H_ | 6 #define V8_BUILTINS_BUILTINS_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/handles.h" | 9 #include "src/handles.h" |
10 | 10 |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 CPP(Illegal) \ | 206 CPP(Illegal) \ |
207 CPP(RestrictedFunctionPropertiesThrower) \ | 207 CPP(RestrictedFunctionPropertiesThrower) \ |
208 CPP(RestrictedStrictArgumentsPropertiesThrower) \ | 208 CPP(RestrictedStrictArgumentsPropertiesThrower) \ |
209 CPP(UnsupportedThrower) \ | 209 CPP(UnsupportedThrower) \ |
210 \ | 210 \ |
211 /* Array */ \ | 211 /* Array */ \ |
212 ASM(ArrayCode) \ | 212 ASM(ArrayCode) \ |
213 ASM(InternalArrayCode) \ | 213 ASM(InternalArrayCode) \ |
214 CPP(ArrayConcat) \ | 214 CPP(ArrayConcat) \ |
215 /* ES6 section 22.1.2.2 Array.isArray */ \ | 215 /* ES6 section 22.1.2.2 Array.isArray */ \ |
216 TFJ(ArrayIsArray, 2) \ | 216 TFJ(ArrayIsArray, 1) \ |
217 /* ES7 #sec-array.prototype.includes */ \ | 217 /* ES7 #sec-array.prototype.includes */ \ |
218 TFJ(ArrayIncludes, 3) \ | 218 TFJ(ArrayIncludes, 2) \ |
219 TFJ(ArrayIndexOf, 3) \ | 219 TFJ(ArrayIndexOf, 2) \ |
220 CPP(ArrayPop) \ | 220 CPP(ArrayPop) \ |
221 CPP(ArrayPush) \ | 221 CPP(ArrayPush) \ |
222 CPP(ArrayShift) \ | 222 CPP(ArrayShift) \ |
223 CPP(ArraySlice) \ | 223 CPP(ArraySlice) \ |
224 CPP(ArraySplice) \ | 224 CPP(ArraySplice) \ |
225 CPP(ArrayUnshift) \ | 225 CPP(ArrayUnshift) \ |
226 /* ES6 #sec-array.prototype.entries */ \ | 226 /* ES6 #sec-array.prototype.entries */ \ |
227 TFJ(ArrayPrototypeEntries, 1) \ | 227 TFJ(ArrayPrototypeEntries, 0) \ |
228 /* ES6 #sec-array.prototype.keys */ \ | 228 /* ES6 #sec-array.prototype.keys */ \ |
229 TFJ(ArrayPrototypeKeys, 1) \ | 229 TFJ(ArrayPrototypeKeys, 0) \ |
230 /* ES6 #sec-array.prototype.values */ \ | 230 /* ES6 #sec-array.prototype.values */ \ |
231 TFJ(ArrayPrototypeValues, 1) \ | 231 TFJ(ArrayPrototypeValues, 0) \ |
232 /* ES6 #sec-%arrayiteratorprototype%.next */ \ | 232 /* ES6 #sec-%arrayiteratorprototype%.next */ \ |
233 TFJ(ArrayIteratorPrototypeNext, 1) \ | 233 TFJ(ArrayIteratorPrototypeNext, 0) \ |
234 \ | 234 \ |
235 /* ArrayBuffer */ \ | 235 /* ArrayBuffer */ \ |
236 CPP(ArrayBufferConstructor) \ | 236 CPP(ArrayBufferConstructor) \ |
237 CPP(ArrayBufferConstructor_ConstructStub) \ | 237 CPP(ArrayBufferConstructor_ConstructStub) \ |
238 CPP(ArrayBufferPrototypeGetByteLength) \ | 238 CPP(ArrayBufferPrototypeGetByteLength) \ |
239 CPP(ArrayBufferIsView) \ | 239 CPP(ArrayBufferIsView) \ |
240 \ | 240 \ |
241 /* Boolean */ \ | 241 /* Boolean */ \ |
242 CPP(BooleanConstructor) \ | 242 CPP(BooleanConstructor) \ |
243 CPP(BooleanConstructor_ConstructStub) \ | 243 CPP(BooleanConstructor_ConstructStub) \ |
244 /* ES6 section 19.3.3.2 Boolean.prototype.toString ( ) */ \ | 244 /* ES6 section 19.3.3.2 Boolean.prototype.toString ( ) */ \ |
245 TFJ(BooleanPrototypeToString, 1) \ | 245 TFJ(BooleanPrototypeToString, 0) \ |
246 /* ES6 section 19.3.3.3 Boolean.prototype.valueOf ( ) */ \ | 246 /* ES6 section 19.3.3.3 Boolean.prototype.valueOf ( ) */ \ |
247 TFJ(BooleanPrototypeValueOf, 1) \ | 247 TFJ(BooleanPrototypeValueOf, 0) \ |
248 \ | 248 \ |
249 /* CallSite */ \ | 249 /* CallSite */ \ |
250 CPP(CallSitePrototypeGetColumnNumber) \ | 250 CPP(CallSitePrototypeGetColumnNumber) \ |
251 CPP(CallSitePrototypeGetEvalOrigin) \ | 251 CPP(CallSitePrototypeGetEvalOrigin) \ |
252 CPP(CallSitePrototypeGetFileName) \ | 252 CPP(CallSitePrototypeGetFileName) \ |
253 CPP(CallSitePrototypeGetFunction) \ | 253 CPP(CallSitePrototypeGetFunction) \ |
254 CPP(CallSitePrototypeGetFunctionName) \ | 254 CPP(CallSitePrototypeGetFunctionName) \ |
255 CPP(CallSitePrototypeGetLineNumber) \ | 255 CPP(CallSitePrototypeGetLineNumber) \ |
256 CPP(CallSitePrototypeGetMethodName) \ | 256 CPP(CallSitePrototypeGetMethodName) \ |
257 CPP(CallSitePrototypeGetPosition) \ | 257 CPP(CallSitePrototypeGetPosition) \ |
(...skipping 26 matching lines...) Expand all Loading... |
284 CPP(DataViewPrototypeSetUint32) \ | 284 CPP(DataViewPrototypeSetUint32) \ |
285 CPP(DataViewPrototypeGetFloat32) \ | 285 CPP(DataViewPrototypeGetFloat32) \ |
286 CPP(DataViewPrototypeSetFloat32) \ | 286 CPP(DataViewPrototypeSetFloat32) \ |
287 CPP(DataViewPrototypeGetFloat64) \ | 287 CPP(DataViewPrototypeGetFloat64) \ |
288 CPP(DataViewPrototypeSetFloat64) \ | 288 CPP(DataViewPrototypeSetFloat64) \ |
289 \ | 289 \ |
290 /* Date */ \ | 290 /* Date */ \ |
291 CPP(DateConstructor) \ | 291 CPP(DateConstructor) \ |
292 CPP(DateConstructor_ConstructStub) \ | 292 CPP(DateConstructor_ConstructStub) \ |
293 /* ES6 section 20.3.4.2 Date.prototype.getDate ( ) */ \ | 293 /* ES6 section 20.3.4.2 Date.prototype.getDate ( ) */ \ |
294 TFJ(DatePrototypeGetDate, 1) \ | 294 TFJ(DatePrototypeGetDate, 0) \ |
295 /* ES6 section 20.3.4.3 Date.prototype.getDay ( ) */ \ | 295 /* ES6 section 20.3.4.3 Date.prototype.getDay ( ) */ \ |
296 TFJ(DatePrototypeGetDay, 1) \ | 296 TFJ(DatePrototypeGetDay, 0) \ |
297 /* ES6 section 20.3.4.4 Date.prototype.getFullYear ( ) */ \ | 297 /* ES6 section 20.3.4.4 Date.prototype.getFullYear ( ) */ \ |
298 TFJ(DatePrototypeGetFullYear, 1) \ | 298 TFJ(DatePrototypeGetFullYear, 0) \ |
299 /* ES6 section 20.3.4.5 Date.prototype.getHours ( ) */ \ | 299 /* ES6 section 20.3.4.5 Date.prototype.getHours ( ) */ \ |
300 TFJ(DatePrototypeGetHours, 1) \ | 300 TFJ(DatePrototypeGetHours, 0) \ |
301 /* ES6 section 20.3.4.6 Date.prototype.getMilliseconds ( ) */ \ | 301 /* ES6 section 20.3.4.6 Date.prototype.getMilliseconds ( ) */ \ |
302 TFJ(DatePrototypeGetMilliseconds, 1) \ | 302 TFJ(DatePrototypeGetMilliseconds, 0) \ |
303 /* ES6 section 20.3.4.7 Date.prototype.getMinutes ( ) */ \ | 303 /* ES6 section 20.3.4.7 Date.prototype.getMinutes ( ) */ \ |
304 TFJ(DatePrototypeGetMinutes, 1) \ | 304 TFJ(DatePrototypeGetMinutes, 0) \ |
305 /* ES6 section 20.3.4.8 Date.prototype.getMonth */ \ | 305 /* ES6 section 20.3.4.8 Date.prototype.getMonth */ \ |
306 TFJ(DatePrototypeGetMonth, 1) \ | 306 TFJ(DatePrototypeGetMonth, 0) \ |
307 /* ES6 section 20.3.4.9 Date.prototype.getSeconds ( ) */ \ | 307 /* ES6 section 20.3.4.9 Date.prototype.getSeconds ( ) */ \ |
308 TFJ(DatePrototypeGetSeconds, 1) \ | 308 TFJ(DatePrototypeGetSeconds, 0) \ |
309 /* ES6 section 20.3.4.10 Date.prototype.getTime ( ) */ \ | 309 /* ES6 section 20.3.4.10 Date.prototype.getTime ( ) */ \ |
310 TFJ(DatePrototypeGetTime, 1) \ | 310 TFJ(DatePrototypeGetTime, 0) \ |
311 /* ES6 section 20.3.4.11 Date.prototype.getTimezoneOffset ( ) */ \ | 311 /* ES6 section 20.3.4.11 Date.prototype.getTimezoneOffset ( ) */ \ |
312 TFJ(DatePrototypeGetTimezoneOffset, 1) \ | 312 TFJ(DatePrototypeGetTimezoneOffset, 0) \ |
313 /* ES6 section 20.3.4.12 Date.prototype.getUTCDate ( ) */ \ | 313 /* ES6 section 20.3.4.12 Date.prototype.getUTCDate ( ) */ \ |
314 TFJ(DatePrototypeGetUTCDate, 1) \ | 314 TFJ(DatePrototypeGetUTCDate, 0) \ |
315 /* ES6 section 20.3.4.13 Date.prototype.getUTCDay ( ) */ \ | 315 /* ES6 section 20.3.4.13 Date.prototype.getUTCDay ( ) */ \ |
316 TFJ(DatePrototypeGetUTCDay, 1) \ | 316 TFJ(DatePrototypeGetUTCDay, 0) \ |
317 /* ES6 section 20.3.4.14 Date.prototype.getUTCFullYear ( ) */ \ | 317 /* ES6 section 20.3.4.14 Date.prototype.getUTCFullYear ( ) */ \ |
318 TFJ(DatePrototypeGetUTCFullYear, 1) \ | 318 TFJ(DatePrototypeGetUTCFullYear, 0) \ |
319 /* ES6 section 20.3.4.15 Date.prototype.getUTCHours ( ) */ \ | 319 /* ES6 section 20.3.4.15 Date.prototype.getUTCHours ( ) */ \ |
320 TFJ(DatePrototypeGetUTCHours, 1) \ | 320 TFJ(DatePrototypeGetUTCHours, 0) \ |
321 /* ES6 section 20.3.4.16 Date.prototype.getUTCMilliseconds ( ) */ \ | 321 /* ES6 section 20.3.4.16 Date.prototype.getUTCMilliseconds ( ) */ \ |
322 TFJ(DatePrototypeGetUTCMilliseconds, 1) \ | 322 TFJ(DatePrototypeGetUTCMilliseconds, 0) \ |
323 /* ES6 section 20.3.4.17 Date.prototype.getUTCMinutes ( ) */ \ | 323 /* ES6 section 20.3.4.17 Date.prototype.getUTCMinutes ( ) */ \ |
324 TFJ(DatePrototypeGetUTCMinutes, 1) \ | 324 TFJ(DatePrototypeGetUTCMinutes, 0) \ |
325 /* ES6 section 20.3.4.18 Date.prototype.getUTCMonth ( ) */ \ | 325 /* ES6 section 20.3.4.18 Date.prototype.getUTCMonth ( ) */ \ |
326 TFJ(DatePrototypeGetUTCMonth, 1) \ | 326 TFJ(DatePrototypeGetUTCMonth, 0) \ |
327 /* ES6 section 20.3.4.19 Date.prototype.getUTCSeconds ( ) */ \ | 327 /* ES6 section 20.3.4.19 Date.prototype.getUTCSeconds ( ) */ \ |
328 TFJ(DatePrototypeGetUTCSeconds, 1) \ | 328 TFJ(DatePrototypeGetUTCSeconds, 0) \ |
329 CPP(DatePrototypeGetYear) \ | 329 CPP(DatePrototypeGetYear) \ |
330 CPP(DatePrototypeSetYear) \ | 330 CPP(DatePrototypeSetYear) \ |
331 CPP(DateNow) \ | 331 CPP(DateNow) \ |
332 CPP(DateParse) \ | 332 CPP(DateParse) \ |
333 CPP(DatePrototypeSetDate) \ | 333 CPP(DatePrototypeSetDate) \ |
334 CPP(DatePrototypeSetFullYear) \ | 334 CPP(DatePrototypeSetFullYear) \ |
335 CPP(DatePrototypeSetHours) \ | 335 CPP(DatePrototypeSetHours) \ |
336 CPP(DatePrototypeSetMilliseconds) \ | 336 CPP(DatePrototypeSetMilliseconds) \ |
337 CPP(DatePrototypeSetMinutes) \ | 337 CPP(DatePrototypeSetMinutes) \ |
338 CPP(DatePrototypeSetMonth) \ | 338 CPP(DatePrototypeSetMonth) \ |
(...skipping 25 matching lines...) Expand all Loading... |
364 CPP(MakeSyntaxError) \ | 364 CPP(MakeSyntaxError) \ |
365 CPP(MakeTypeError) \ | 365 CPP(MakeTypeError) \ |
366 CPP(MakeURIError) \ | 366 CPP(MakeURIError) \ |
367 \ | 367 \ |
368 /* Function */ \ | 368 /* Function */ \ |
369 CPP(FunctionConstructor) \ | 369 CPP(FunctionConstructor) \ |
370 ASM(FunctionPrototypeApply) \ | 370 ASM(FunctionPrototypeApply) \ |
371 CPP(FunctionPrototypeBind) \ | 371 CPP(FunctionPrototypeBind) \ |
372 ASM(FunctionPrototypeCall) \ | 372 ASM(FunctionPrototypeCall) \ |
373 /* ES6 section 19.2.3.6 Function.prototype [ @@hasInstance ] ( V ) */ \ | 373 /* ES6 section 19.2.3.6 Function.prototype [ @@hasInstance ] ( V ) */ \ |
374 TFJ(FunctionPrototypeHasInstance, 2) \ | 374 TFJ(FunctionPrototypeHasInstance, 1) \ |
375 CPP(FunctionPrototypeToString) \ | 375 CPP(FunctionPrototypeToString) \ |
376 \ | 376 \ |
377 /* Generator and Async */ \ | 377 /* Generator and Async */ \ |
378 CPP(GeneratorFunctionConstructor) \ | 378 CPP(GeneratorFunctionConstructor) \ |
379 /* ES6 section 25.3.1.2 Generator.prototype.next ( value ) */ \ | 379 /* ES6 section 25.3.1.2 Generator.prototype.next ( value ) */ \ |
380 TFJ(GeneratorPrototypeNext, 2) \ | 380 TFJ(GeneratorPrototypeNext, 1) \ |
381 /* ES6 section 25.3.1.3 Generator.prototype.return ( value ) */ \ | 381 /* ES6 section 25.3.1.3 Generator.prototype.return ( value ) */ \ |
382 TFJ(GeneratorPrototypeReturn, 2) \ | 382 TFJ(GeneratorPrototypeReturn, 1) \ |
383 /* ES6 section 25.3.1.4 Generator.prototype.throw ( exception ) */ \ | 383 /* ES6 section 25.3.1.4 Generator.prototype.throw ( exception ) */ \ |
384 TFJ(GeneratorPrototypeThrow, 2) \ | 384 TFJ(GeneratorPrototypeThrow, 1) \ |
385 CPP(AsyncFunctionConstructor) \ | 385 CPP(AsyncFunctionConstructor) \ |
386 \ | 386 \ |
387 /* Global object */ \ | 387 /* Global object */ \ |
388 CPP(GlobalDecodeURI) \ | 388 CPP(GlobalDecodeURI) \ |
389 CPP(GlobalDecodeURIComponent) \ | 389 CPP(GlobalDecodeURIComponent) \ |
390 CPP(GlobalEncodeURI) \ | 390 CPP(GlobalEncodeURI) \ |
391 CPP(GlobalEncodeURIComponent) \ | 391 CPP(GlobalEncodeURIComponent) \ |
392 CPP(GlobalEscape) \ | 392 CPP(GlobalEscape) \ |
393 CPP(GlobalUnescape) \ | 393 CPP(GlobalUnescape) \ |
394 CPP(GlobalEval) \ | 394 CPP(GlobalEval) \ |
395 /* ES6 section 18.2.2 isFinite ( number ) */ \ | 395 /* ES6 section 18.2.2 isFinite ( number ) */ \ |
396 TFJ(GlobalIsFinite, 2) \ | 396 TFJ(GlobalIsFinite, 1) \ |
397 /* ES6 section 18.2.3 isNaN ( number ) */ \ | 397 /* ES6 section 18.2.3 isNaN ( number ) */ \ |
398 TFJ(GlobalIsNaN, 2) \ | 398 TFJ(GlobalIsNaN, 1) \ |
399 \ | 399 \ |
400 /* ES6 #sec-%iteratorprototype%-@@iterator */ \ | 400 /* ES6 #sec-%iteratorprototype%-@@iterator */ \ |
401 TFJ(IteratorPrototypeIterator, 1) \ | 401 TFJ(IteratorPrototypeIterator, 0) \ |
402 \ | 402 \ |
403 /* JSON */ \ | 403 /* JSON */ \ |
404 CPP(JsonParse) \ | 404 CPP(JsonParse) \ |
405 CPP(JsonStringify) \ | 405 CPP(JsonStringify) \ |
406 \ | 406 \ |
407 /* Math */ \ | 407 /* Math */ \ |
408 /* ES6 section 20.2.2.1 Math.abs ( x ) */ \ | 408 /* ES6 section 20.2.2.1 Math.abs ( x ) */ \ |
409 TFJ(MathAbs, 2) \ | 409 TFJ(MathAbs, 1) \ |
410 /* ES6 section 20.2.2.2 Math.acos ( x ) */ \ | 410 /* ES6 section 20.2.2.2 Math.acos ( x ) */ \ |
411 TFJ(MathAcos, 2) \ | 411 TFJ(MathAcos, 1) \ |
412 /* ES6 section 20.2.2.3 Math.acosh ( x ) */ \ | 412 /* ES6 section 20.2.2.3 Math.acosh ( x ) */ \ |
413 TFJ(MathAcosh, 2) \ | 413 TFJ(MathAcosh, 1) \ |
414 /* ES6 section 20.2.2.4 Math.asin ( x ) */ \ | 414 /* ES6 section 20.2.2.4 Math.asin ( x ) */ \ |
415 TFJ(MathAsin, 2) \ | 415 TFJ(MathAsin, 1) \ |
416 /* ES6 section 20.2.2.5 Math.asinh ( x ) */ \ | 416 /* ES6 section 20.2.2.5 Math.asinh ( x ) */ \ |
417 TFJ(MathAsinh, 2) \ | 417 TFJ(MathAsinh, 1) \ |
418 /* ES6 section 20.2.2.6 Math.atan ( x ) */ \ | 418 /* ES6 section 20.2.2.6 Math.atan ( x ) */ \ |
419 TFJ(MathAtan, 2) \ | 419 TFJ(MathAtan, 1) \ |
420 /* ES6 section 20.2.2.7 Math.atanh ( x ) */ \ | 420 /* ES6 section 20.2.2.7 Math.atanh ( x ) */ \ |
421 TFJ(MathAtanh, 2) \ | 421 TFJ(MathAtanh, 1) \ |
422 /* ES6 section 20.2.2.8 Math.atan2 ( y, x ) */ \ | 422 /* ES6 section 20.2.2.8 Math.atan2 ( y, x ) */ \ |
423 TFJ(MathAtan2, 3) \ | 423 TFJ(MathAtan2, 2) \ |
424 /* ES6 section 20.2.2.9 Math.cbrt ( x ) */ \ | 424 /* ES6 section 20.2.2.9 Math.cbrt ( x ) */ \ |
425 TFJ(MathCbrt, 2) \ | 425 TFJ(MathCbrt, 1) \ |
426 /* ES6 section 20.2.2.10 Math.ceil ( x ) */ \ | 426 /* ES6 section 20.2.2.10 Math.ceil ( x ) */ \ |
427 TFJ(MathCeil, 2) \ | 427 TFJ(MathCeil, 1) \ |
428 /* ES6 section 20.2.2.11 Math.clz32 ( x ) */ \ | 428 /* ES6 section 20.2.2.11 Math.clz32 ( x ) */ \ |
429 TFJ(MathClz32, 2) \ | 429 TFJ(MathClz32, 1) \ |
430 /* ES6 section 20.2.2.12 Math.cos ( x ) */ \ | 430 /* ES6 section 20.2.2.12 Math.cos ( x ) */ \ |
431 TFJ(MathCos, 2) \ | 431 TFJ(MathCos, 1) \ |
432 /* ES6 section 20.2.2.13 Math.cosh ( x ) */ \ | 432 /* ES6 section 20.2.2.13 Math.cosh ( x ) */ \ |
433 TFJ(MathCosh, 2) \ | 433 TFJ(MathCosh, 1) \ |
434 /* ES6 section 20.2.2.14 Math.exp ( x ) */ \ | 434 /* ES6 section 20.2.2.14 Math.exp ( x ) */ \ |
435 TFJ(MathExp, 2) \ | 435 TFJ(MathExp, 1) \ |
436 /* ES6 section 20.2.2.15 Math.expm1 ( x ) */ \ | 436 /* ES6 section 20.2.2.15 Math.expm1 ( x ) */ \ |
437 TFJ(MathExpm1, 2) \ | 437 TFJ(MathExpm1, 1) \ |
438 /* ES6 section 20.2.2.16 Math.floor ( x ) */ \ | 438 /* ES6 section 20.2.2.16 Math.floor ( x ) */ \ |
439 TFJ(MathFloor, 2) \ | 439 TFJ(MathFloor, 1) \ |
440 /* ES6 section 20.2.2.17 Math.fround ( x ) */ \ | 440 /* ES6 section 20.2.2.17 Math.fround ( x ) */ \ |
441 TFJ(MathFround, 2) \ | 441 TFJ(MathFround, 1) \ |
442 /* ES6 section 20.2.2.18 Math.hypot ( value1, value2, ...values ) */ \ | 442 /* ES6 section 20.2.2.18 Math.hypot ( value1, value2, ...values ) */ \ |
443 CPP(MathHypot) \ | 443 CPP(MathHypot) \ |
444 /* ES6 section 20.2.2.19 Math.imul ( x, y ) */ \ | 444 /* ES6 section 20.2.2.19 Math.imul ( x, y ) */ \ |
445 TFJ(MathImul, 3) \ | 445 TFJ(MathImul, 2) \ |
446 /* ES6 section 20.2.2.20 Math.log ( x ) */ \ | 446 /* ES6 section 20.2.2.20 Math.log ( x ) */ \ |
447 TFJ(MathLog, 2) \ | 447 TFJ(MathLog, 1) \ |
448 /* ES6 section 20.2.2.21 Math.log1p ( x ) */ \ | 448 /* ES6 section 20.2.2.21 Math.log1p ( x ) */ \ |
449 TFJ(MathLog1p, 2) \ | 449 TFJ(MathLog1p, 1) \ |
450 /* ES6 section 20.2.2.22 Math.log10 ( x ) */ \ | 450 /* ES6 section 20.2.2.22 Math.log10 ( x ) */ \ |
451 TFJ(MathLog10, 2) \ | 451 TFJ(MathLog10, 1) \ |
452 /* ES6 section 20.2.2.23 Math.log2 ( x ) */ \ | 452 /* ES6 section 20.2.2.23 Math.log2 ( x ) */ \ |
453 TFJ(MathLog2, 2) \ | 453 TFJ(MathLog2, 1) \ |
454 /* ES6 section 20.2.2.24 Math.max ( value1, value2 , ...values ) */ \ | 454 /* ES6 section 20.2.2.24 Math.max ( value1, value2 , ...values ) */ \ |
455 ASM(MathMax) \ | 455 ASM(MathMax) \ |
456 /* ES6 section 20.2.2.25 Math.min ( value1, value2 , ...values ) */ \ | 456 /* ES6 section 20.2.2.25 Math.min ( value1, value2 , ...values ) */ \ |
457 ASM(MathMin) \ | 457 ASM(MathMin) \ |
458 /* ES6 section 20.2.2.26 Math.pow ( x, y ) */ \ | 458 /* ES6 section 20.2.2.26 Math.pow ( x, y ) */ \ |
459 TFJ(MathPow, 3) \ | 459 TFJ(MathPow, 2) \ |
460 /* ES6 section 20.2.2.27 Math.random */ \ | 460 /* ES6 section 20.2.2.27 Math.random */ \ |
461 TFJ(MathRandom, 1) \ | 461 TFJ(MathRandom, 0) \ |
462 /* ES6 section 20.2.2.28 Math.round ( x ) */ \ | 462 /* ES6 section 20.2.2.28 Math.round ( x ) */ \ |
463 TFJ(MathRound, 2) \ | 463 TFJ(MathRound, 1) \ |
464 /* ES6 section 20.2.2.29 Math.sign ( x ) */ \ | 464 /* ES6 section 20.2.2.29 Math.sign ( x ) */ \ |
465 TFJ(MathSign, 2) \ | 465 TFJ(MathSign, 1) \ |
466 /* ES6 section 20.2.2.30 Math.sin ( x ) */ \ | 466 /* ES6 section 20.2.2.30 Math.sin ( x ) */ \ |
467 TFJ(MathSin, 2) \ | 467 TFJ(MathSin, 1) \ |
468 /* ES6 section 20.2.2.31 Math.sinh ( x ) */ \ | 468 /* ES6 section 20.2.2.31 Math.sinh ( x ) */ \ |
469 TFJ(MathSinh, 2) \ | 469 TFJ(MathSinh, 1) \ |
470 /* ES6 section 20.2.2.32 Math.sqrt ( x ) */ \ | 470 /* ES6 section 20.2.2.32 Math.sqrt ( x ) */ \ |
471 TFJ(MathTan, 2) \ | 471 TFJ(MathTan, 1) \ |
472 /* ES6 section 20.2.2.33 Math.tan ( x ) */ \ | 472 /* ES6 section 20.2.2.33 Math.tan ( x ) */ \ |
473 TFJ(MathTanh, 2) \ | 473 TFJ(MathTanh, 1) \ |
474 /* ES6 section 20.2.2.34 Math.tanh ( x ) */ \ | 474 /* ES6 section 20.2.2.34 Math.tanh ( x ) */ \ |
475 TFJ(MathSqrt, 2) \ | 475 TFJ(MathSqrt, 1) \ |
476 /* ES6 section 20.2.2.35 Math.trunc ( x ) */ \ | 476 /* ES6 section 20.2.2.35 Math.trunc ( x ) */ \ |
477 TFJ(MathTrunc, 2) \ | 477 TFJ(MathTrunc, 1) \ |
478 \ | 478 \ |
479 /* Number */ \ | 479 /* Number */ \ |
480 /* ES6 section 20.1.1.1 Number ( [ value ] ) for the [[Call]] case */ \ | 480 /* ES6 section 20.1.1.1 Number ( [ value ] ) for the [[Call]] case */ \ |
481 ASM(NumberConstructor) \ | 481 ASM(NumberConstructor) \ |
482 /* ES6 section 20.1.1.1 Number ( [ value ] ) for the [[Construct]] case */ \ | 482 /* ES6 section 20.1.1.1 Number ( [ value ] ) for the [[Construct]] case */ \ |
483 ASM(NumberConstructor_ConstructStub) \ | 483 ASM(NumberConstructor_ConstructStub) \ |
484 /* ES6 section 20.1.2.2 Number.isFinite ( number ) */ \ | 484 /* ES6 section 20.1.2.2 Number.isFinite ( number ) */ \ |
485 TFJ(NumberIsFinite, 2) \ | 485 TFJ(NumberIsFinite, 1) \ |
486 /* ES6 section 20.1.2.3 Number.isInteger ( number ) */ \ | 486 /* ES6 section 20.1.2.3 Number.isInteger ( number ) */ \ |
487 TFJ(NumberIsInteger, 2) \ | 487 TFJ(NumberIsInteger, 1) \ |
488 /* ES6 section 20.1.2.4 Number.isNaN ( number ) */ \ | 488 /* ES6 section 20.1.2.4 Number.isNaN ( number ) */ \ |
489 TFJ(NumberIsNaN, 2) \ | 489 TFJ(NumberIsNaN, 1) \ |
490 /* ES6 section 20.1.2.5 Number.isSafeInteger ( number ) */ \ | 490 /* ES6 section 20.1.2.5 Number.isSafeInteger ( number ) */ \ |
491 TFJ(NumberIsSafeInteger, 2) \ | 491 TFJ(NumberIsSafeInteger, 1) \ |
492 /* ES6 section 20.1.2.12 Number.parseFloat ( string ) */ \ | 492 /* ES6 section 20.1.2.12 Number.parseFloat ( string ) */ \ |
493 TFJ(NumberParseFloat, 2) \ | 493 TFJ(NumberParseFloat, 1) \ |
494 /* ES6 section 20.1.2.13 Number.parseInt ( string, radix ) */ \ | 494 /* ES6 section 20.1.2.13 Number.parseInt ( string, radix ) */ \ |
495 TFJ(NumberParseInt, 3) \ | 495 TFJ(NumberParseInt, 2) \ |
496 CPP(NumberPrototypeToExponential) \ | 496 CPP(NumberPrototypeToExponential) \ |
497 CPP(NumberPrototypeToFixed) \ | 497 CPP(NumberPrototypeToFixed) \ |
498 CPP(NumberPrototypeToLocaleString) \ | 498 CPP(NumberPrototypeToLocaleString) \ |
499 CPP(NumberPrototypeToPrecision) \ | 499 CPP(NumberPrototypeToPrecision) \ |
500 CPP(NumberPrototypeToString) \ | 500 CPP(NumberPrototypeToString) \ |
501 /* ES6 section 20.1.3.7 Number.prototype.valueOf ( ) */ \ | 501 /* ES6 section 20.1.3.7 Number.prototype.valueOf ( ) */ \ |
502 TFJ(NumberPrototypeValueOf, 1) \ | 502 TFJ(NumberPrototypeValueOf, 0) \ |
503 TFS(Add, BUILTIN, kNoExtraICState, BinaryOp) \ | 503 TFS(Add, BUILTIN, kNoExtraICState, BinaryOp) \ |
504 TFS(Subtract, BUILTIN, kNoExtraICState, BinaryOp) \ | 504 TFS(Subtract, BUILTIN, kNoExtraICState, BinaryOp) \ |
505 TFS(Multiply, BUILTIN, kNoExtraICState, BinaryOp) \ | 505 TFS(Multiply, BUILTIN, kNoExtraICState, BinaryOp) \ |
506 TFS(Divide, BUILTIN, kNoExtraICState, BinaryOp) \ | 506 TFS(Divide, BUILTIN, kNoExtraICState, BinaryOp) \ |
507 TFS(Modulus, BUILTIN, kNoExtraICState, BinaryOp) \ | 507 TFS(Modulus, BUILTIN, kNoExtraICState, BinaryOp) \ |
508 TFS(BitwiseAnd, BUILTIN, kNoExtraICState, BinaryOp) \ | 508 TFS(BitwiseAnd, BUILTIN, kNoExtraICState, BinaryOp) \ |
509 TFS(BitwiseOr, BUILTIN, kNoExtraICState, BinaryOp) \ | 509 TFS(BitwiseOr, BUILTIN, kNoExtraICState, BinaryOp) \ |
510 TFS(BitwiseXor, BUILTIN, kNoExtraICState, BinaryOp) \ | 510 TFS(BitwiseXor, BUILTIN, kNoExtraICState, BinaryOp) \ |
511 TFS(ShiftLeft, BUILTIN, kNoExtraICState, BinaryOp) \ | 511 TFS(ShiftLeft, BUILTIN, kNoExtraICState, BinaryOp) \ |
512 TFS(ShiftRight, BUILTIN, kNoExtraICState, BinaryOp) \ | 512 TFS(ShiftRight, BUILTIN, kNoExtraICState, BinaryOp) \ |
513 TFS(ShiftRightLogical, BUILTIN, kNoExtraICState, BinaryOp) \ | 513 TFS(ShiftRightLogical, BUILTIN, kNoExtraICState, BinaryOp) \ |
514 TFS(LessThan, BUILTIN, kNoExtraICState, Compare) \ | 514 TFS(LessThan, BUILTIN, kNoExtraICState, Compare) \ |
515 TFS(LessThanOrEqual, BUILTIN, kNoExtraICState, Compare) \ | 515 TFS(LessThanOrEqual, BUILTIN, kNoExtraICState, Compare) \ |
516 TFS(GreaterThan, BUILTIN, kNoExtraICState, Compare) \ | 516 TFS(GreaterThan, BUILTIN, kNoExtraICState, Compare) \ |
517 TFS(GreaterThanOrEqual, BUILTIN, kNoExtraICState, Compare) \ | 517 TFS(GreaterThanOrEqual, BUILTIN, kNoExtraICState, Compare) \ |
518 TFS(Equal, BUILTIN, kNoExtraICState, Compare) \ | 518 TFS(Equal, BUILTIN, kNoExtraICState, Compare) \ |
519 TFS(NotEqual, BUILTIN, kNoExtraICState, Compare) \ | 519 TFS(NotEqual, BUILTIN, kNoExtraICState, Compare) \ |
520 TFS(StrictEqual, BUILTIN, kNoExtraICState, Compare) \ | 520 TFS(StrictEqual, BUILTIN, kNoExtraICState, Compare) \ |
521 TFS(StrictNotEqual, BUILTIN, kNoExtraICState, Compare) \ | 521 TFS(StrictNotEqual, BUILTIN, kNoExtraICState, Compare) \ |
522 \ | 522 \ |
523 /* Object */ \ | 523 /* Object */ \ |
524 CPP(ObjectAssign) \ | 524 CPP(ObjectAssign) \ |
525 TFJ(ObjectCreate, 3) \ | 525 TFJ(ObjectCreate, 2) \ |
526 CPP(ObjectDefineGetter) \ | 526 CPP(ObjectDefineGetter) \ |
527 CPP(ObjectDefineProperties) \ | 527 CPP(ObjectDefineProperties) \ |
528 CPP(ObjectDefineProperty) \ | 528 CPP(ObjectDefineProperty) \ |
529 CPP(ObjectDefineSetter) \ | 529 CPP(ObjectDefineSetter) \ |
530 CPP(ObjectEntries) \ | 530 CPP(ObjectEntries) \ |
531 CPP(ObjectFreeze) \ | 531 CPP(ObjectFreeze) \ |
532 CPP(ObjectGetOwnPropertyDescriptor) \ | 532 CPP(ObjectGetOwnPropertyDescriptor) \ |
533 CPP(ObjectGetOwnPropertyDescriptors) \ | 533 CPP(ObjectGetOwnPropertyDescriptors) \ |
534 CPP(ObjectGetOwnPropertyNames) \ | 534 CPP(ObjectGetOwnPropertyNames) \ |
535 CPP(ObjectGetOwnPropertySymbols) \ | 535 CPP(ObjectGetOwnPropertySymbols) \ |
536 CPP(ObjectGetPrototypeOf) \ | 536 CPP(ObjectGetPrototypeOf) \ |
537 CPP(ObjectSetPrototypeOf) \ | 537 CPP(ObjectSetPrototypeOf) \ |
538 /* ES6 section 19.1.3.2 Object.prototype.hasOwnProperty */ \ | 538 /* ES6 section 19.1.3.2 Object.prototype.hasOwnProperty */ \ |
539 TFJ(ObjectHasOwnProperty, 2) \ | 539 TFJ(ObjectHasOwnProperty, 1) \ |
540 CPP(ObjectIs) \ | 540 CPP(ObjectIs) \ |
541 CPP(ObjectIsExtensible) \ | 541 CPP(ObjectIsExtensible) \ |
542 CPP(ObjectIsFrozen) \ | 542 CPP(ObjectIsFrozen) \ |
543 CPP(ObjectIsSealed) \ | 543 CPP(ObjectIsSealed) \ |
544 CPP(ObjectKeys) \ | 544 CPP(ObjectKeys) \ |
545 CPP(ObjectLookupGetter) \ | 545 CPP(ObjectLookupGetter) \ |
546 CPP(ObjectLookupSetter) \ | 546 CPP(ObjectLookupSetter) \ |
547 CPP(ObjectPreventExtensions) \ | 547 CPP(ObjectPreventExtensions) \ |
548 /* ES6 section 19.1.3.6 Object.prototype.toString () */ \ | 548 /* ES6 section 19.1.3.6 Object.prototype.toString () */ \ |
549 TFJ(ObjectProtoToString, 1) \ | 549 TFJ(ObjectProtoToString, 0) \ |
550 CPP(ObjectPrototypePropertyIsEnumerable) \ | 550 CPP(ObjectPrototypePropertyIsEnumerable) \ |
551 CPP(ObjectPrototypeGetProto) \ | 551 CPP(ObjectPrototypeGetProto) \ |
552 CPP(ObjectPrototypeSetProto) \ | 552 CPP(ObjectPrototypeSetProto) \ |
553 CPP(ObjectSeal) \ | 553 CPP(ObjectSeal) \ |
554 CPP(ObjectValues) \ | 554 CPP(ObjectValues) \ |
555 \ | 555 \ |
556 TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \ | 556 TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \ |
557 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \ | 557 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \ |
558 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \ | 558 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \ |
559 \ | 559 \ |
(...skipping 20 matching lines...) Expand all Loading... |
580 CPP(RegExpCapture1Getter) \ | 580 CPP(RegExpCapture1Getter) \ |
581 CPP(RegExpCapture2Getter) \ | 581 CPP(RegExpCapture2Getter) \ |
582 CPP(RegExpCapture3Getter) \ | 582 CPP(RegExpCapture3Getter) \ |
583 CPP(RegExpCapture4Getter) \ | 583 CPP(RegExpCapture4Getter) \ |
584 CPP(RegExpCapture5Getter) \ | 584 CPP(RegExpCapture5Getter) \ |
585 CPP(RegExpCapture6Getter) \ | 585 CPP(RegExpCapture6Getter) \ |
586 CPP(RegExpCapture7Getter) \ | 586 CPP(RegExpCapture7Getter) \ |
587 CPP(RegExpCapture8Getter) \ | 587 CPP(RegExpCapture8Getter) \ |
588 CPP(RegExpCapture9Getter) \ | 588 CPP(RegExpCapture9Getter) \ |
589 CPP(RegExpConstructor) \ | 589 CPP(RegExpConstructor) \ |
590 TFJ(RegExpInternalMatch, 3) \ | 590 TFJ(RegExpInternalMatch, 2) \ |
591 CPP(RegExpInputGetter) \ | 591 CPP(RegExpInputGetter) \ |
592 CPP(RegExpInputSetter) \ | 592 CPP(RegExpInputSetter) \ |
593 CPP(RegExpLastMatchGetter) \ | 593 CPP(RegExpLastMatchGetter) \ |
594 CPP(RegExpLastParenGetter) \ | 594 CPP(RegExpLastParenGetter) \ |
595 CPP(RegExpLeftContextGetter) \ | 595 CPP(RegExpLeftContextGetter) \ |
596 CPP(RegExpPrototypeCompile) \ | 596 CPP(RegExpPrototypeCompile) \ |
597 TFJ(RegExpPrototypeExec, 2) \ | 597 TFJ(RegExpPrototypeExec, 1) \ |
598 TFJ(RegExpPrototypeFlagsGetter, 1) \ | 598 TFJ(RegExpPrototypeFlagsGetter, 0) \ |
599 TFJ(RegExpPrototypeGlobalGetter, 1) \ | 599 TFJ(RegExpPrototypeGlobalGetter, 0) \ |
600 TFJ(RegExpPrototypeIgnoreCaseGetter, 1) \ | 600 TFJ(RegExpPrototypeIgnoreCaseGetter, 0) \ |
601 CPP(RegExpPrototypeMatch) \ | 601 CPP(RegExpPrototypeMatch) \ |
602 TFJ(RegExpPrototypeMultilineGetter, 1) \ | 602 TFJ(RegExpPrototypeMultilineGetter, 0) \ |
603 TFJ(RegExpPrototypeReplace, 3) \ | 603 TFJ(RegExpPrototypeReplace, 2) \ |
604 CPP(RegExpPrototypeSearch) \ | 604 CPP(RegExpPrototypeSearch) \ |
605 CPP(RegExpPrototypeSourceGetter) \ | 605 CPP(RegExpPrototypeSourceGetter) \ |
606 CPP(RegExpPrototypeSpeciesGetter) \ | 606 CPP(RegExpPrototypeSpeciesGetter) \ |
607 CPP(RegExpPrototypeSplit) \ | 607 CPP(RegExpPrototypeSplit) \ |
608 TFJ(RegExpPrototypeStickyGetter, 1) \ | 608 TFJ(RegExpPrototypeStickyGetter, 0) \ |
609 CPP(RegExpPrototypeTest) \ | 609 CPP(RegExpPrototypeTest) \ |
610 CPP(RegExpPrototypeToString) \ | 610 CPP(RegExpPrototypeToString) \ |
611 TFJ(RegExpPrototypeUnicodeGetter, 1) \ | 611 TFJ(RegExpPrototypeUnicodeGetter, 0) \ |
612 CPP(RegExpRightContextGetter) \ | 612 CPP(RegExpRightContextGetter) \ |
613 \ | 613 \ |
614 /* SharedArrayBuffer */ \ | 614 /* SharedArrayBuffer */ \ |
615 CPP(SharedArrayBufferPrototypeGetByteLength) \ | 615 CPP(SharedArrayBufferPrototypeGetByteLength) \ |
616 TFJ(AtomicsLoad, 3) \ | 616 TFJ(AtomicsLoad, 2) \ |
617 TFJ(AtomicsStore, 4) \ | 617 TFJ(AtomicsStore, 3) \ |
618 \ | 618 \ |
619 /* String */ \ | 619 /* String */ \ |
620 ASM(StringConstructor) \ | 620 ASM(StringConstructor) \ |
621 ASM(StringConstructor_ConstructStub) \ | 621 ASM(StringConstructor_ConstructStub) \ |
622 CPP(StringFromCodePoint) \ | 622 CPP(StringFromCodePoint) \ |
623 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ | 623 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ |
624 TFJ(StringFromCharCode, 2) \ | 624 TFJ(StringFromCharCode, 1) \ |
625 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ | 625 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ |
626 TFJ(StringPrototypeCharAt, 2) \ | 626 TFJ(StringPrototypeCharAt, 1) \ |
627 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ | 627 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ |
628 TFJ(StringPrototypeCharCodeAt, 2) \ | 628 TFJ(StringPrototypeCharCodeAt, 1) \ |
629 /* ES6 section 21.1.3.6 */ \ | 629 /* ES6 section 21.1.3.6 */ \ |
630 /* String.prototype.endsWith ( searchString [ , endPosition ] ) */ \ | 630 /* String.prototype.endsWith ( searchString [ , endPosition ] ) */ \ |
631 CPP(StringPrototypeEndsWith) \ | 631 CPP(StringPrototypeEndsWith) \ |
632 /* ES6 section 21.1.3.7 */ \ | 632 /* ES6 section 21.1.3.7 */ \ |
633 /* String.prototype.includes ( searchString [ , position ] ) */ \ | 633 /* String.prototype.includes ( searchString [ , position ] ) */ \ |
634 CPP(StringPrototypeIncludes) \ | 634 CPP(StringPrototypeIncludes) \ |
635 /* ES6 section 21.1.3.8 */ \ | 635 /* ES6 section 21.1.3.8 */ \ |
636 /* String.prototype.indexOf ( searchString [ , position ] ) */ \ | 636 /* String.prototype.indexOf ( searchString [ , position ] ) */ \ |
637 CPP(StringPrototypeIndexOf) \ | 637 CPP(StringPrototypeIndexOf) \ |
638 /* ES6 section 21.1.3.9 */ \ | 638 /* ES6 section 21.1.3.9 */ \ |
639 /* String.prototype.lastIndexOf ( searchString [ , position ] ) */ \ | 639 /* String.prototype.lastIndexOf ( searchString [ , position ] ) */ \ |
640 CPP(StringPrototypeLastIndexOf) \ | 640 CPP(StringPrototypeLastIndexOf) \ |
641 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \ | 641 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \ |
642 CPP(StringPrototypeLocaleCompare) \ | 642 CPP(StringPrototypeLocaleCompare) \ |
643 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \ | 643 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \ |
644 CPP(StringPrototypeNormalize) \ | 644 CPP(StringPrototypeNormalize) \ |
645 /* ES6 section B.2.3.1 String.prototype.substr ( start, length ) */ \ | 645 /* ES6 section B.2.3.1 String.prototype.substr ( start, length ) */ \ |
646 TFJ(StringPrototypeSubstr, 3) \ | 646 TFJ(StringPrototypeSubstr, 2) \ |
647 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \ | 647 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \ |
648 TFJ(StringPrototypeSubstring, 3) \ | 648 TFJ(StringPrototypeSubstring, 2) \ |
649 /* ES6 section 21.1.3.20 */ \ | 649 /* ES6 section 21.1.3.20 */ \ |
650 /* String.prototype.startsWith ( searchString [ , position ] ) */ \ | 650 /* String.prototype.startsWith ( searchString [ , position ] ) */ \ |
651 CPP(StringPrototypeStartsWith) \ | 651 CPP(StringPrototypeStartsWith) \ |
652 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ | 652 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ |
653 TFJ(StringPrototypeToString, 1) \ | 653 TFJ(StringPrototypeToString, 0) \ |
654 CPP(StringPrototypeTrim) \ | 654 CPP(StringPrototypeTrim) \ |
655 CPP(StringPrototypeTrimLeft) \ | 655 CPP(StringPrototypeTrimLeft) \ |
656 CPP(StringPrototypeTrimRight) \ | 656 CPP(StringPrototypeTrimRight) \ |
657 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ | 657 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ |
658 TFJ(StringPrototypeValueOf, 1) \ | 658 TFJ(StringPrototypeValueOf, 0) \ |
659 /* ES6 #sec-string.prototype-@@iterator */ \ | 659 /* ES6 #sec-string.prototype-@@iterator */ \ |
660 TFJ(StringPrototypeIterator, 1) \ | 660 TFJ(StringPrototypeIterator, 0) \ |
661 \ | 661 \ |
662 /* StringIterator */ \ | 662 /* StringIterator */ \ |
663 TFJ(StringIteratorPrototypeNext, 1) \ | 663 TFJ(StringIteratorPrototypeNext, 0) \ |
664 \ | 664 \ |
665 /* Symbol */ \ | 665 /* Symbol */ \ |
666 CPP(SymbolConstructor) \ | 666 CPP(SymbolConstructor) \ |
667 CPP(SymbolConstructor_ConstructStub) \ | 667 CPP(SymbolConstructor_ConstructStub) \ |
668 /* ES6 section 19.4.3.4 Symbol.prototype [ @@toPrimitive ] ( hint ) */ \ | 668 /* ES6 section 19.4.3.4 Symbol.prototype [ @@toPrimitive ] ( hint ) */ \ |
669 TFJ(SymbolPrototypeToPrimitive, 2) \ | 669 TFJ(SymbolPrototypeToPrimitive, 1) \ |
670 /* ES6 section 19.4.3.2 Symbol.prototype.toString ( ) */ \ | 670 /* ES6 section 19.4.3.2 Symbol.prototype.toString ( ) */ \ |
671 TFJ(SymbolPrototypeToString, 1) \ | 671 TFJ(SymbolPrototypeToString, 0) \ |
672 /* ES6 section 19.4.3.3 Symbol.prototype.valueOf ( ) */ \ | 672 /* ES6 section 19.4.3.3 Symbol.prototype.valueOf ( ) */ \ |
673 TFJ(SymbolPrototypeValueOf, 1) \ | 673 TFJ(SymbolPrototypeValueOf, 0) \ |
674 \ | 674 \ |
675 /* TypedArray */ \ | 675 /* TypedArray */ \ |
676 CPP(TypedArrayPrototypeBuffer) \ | 676 CPP(TypedArrayPrototypeBuffer) \ |
677 /* ES6 section 22.2.3.2 get %TypedArray%.prototype.byteLength */ \ | 677 /* ES6 section 22.2.3.2 get %TypedArray%.prototype.byteLength */ \ |
678 TFJ(TypedArrayPrototypeByteLength, 1) \ | 678 TFJ(TypedArrayPrototypeByteLength, 0) \ |
679 /* ES6 section 22.2.3.3 get %TypedArray%.prototype.byteOffset */ \ | 679 /* ES6 section 22.2.3.3 get %TypedArray%.prototype.byteOffset */ \ |
680 TFJ(TypedArrayPrototypeByteOffset, 1) \ | 680 TFJ(TypedArrayPrototypeByteOffset, 0) \ |
681 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \ | 681 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \ |
682 TFJ(TypedArrayPrototypeLength, 1) \ | 682 TFJ(TypedArrayPrototypeLength, 0) \ |
683 /* ES6 #sec-%typedarray%.prototype.entries */ \ | 683 /* ES6 #sec-%typedarray%.prototype.entries */ \ |
684 TFJ(TypedArrayPrototypeEntries, 1) \ | 684 TFJ(TypedArrayPrototypeEntries, 0) \ |
685 /* ES6 #sec-%typedarray%.prototype.keys */ \ | 685 /* ES6 #sec-%typedarray%.prototype.keys */ \ |
686 TFJ(TypedArrayPrototypeKeys, 1) \ | 686 TFJ(TypedArrayPrototypeKeys, 0) \ |
687 /* ES6 #sec-%typedarray%.prototype.values */ \ | 687 /* ES6 #sec-%typedarray%.prototype.values */ \ |
688 TFJ(TypedArrayPrototypeValues, 1) \ | 688 TFJ(TypedArrayPrototypeValues, 0) \ |
689 \ | 689 \ |
690 CPP(ModuleNamespaceIterator) \ | 690 CPP(ModuleNamespaceIterator) \ |
691 CPP(FixedArrayIteratorNext) | 691 CPP(FixedArrayIteratorNext) |
692 | 692 |
693 #define IGNORE_BUILTIN(...) | 693 #define IGNORE_BUILTIN(...) |
694 | 694 |
695 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V) | 695 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V) |
696 | 696 |
697 #define BUILTIN_LIST_C(V) \ | 697 #define BUILTIN_LIST_C(V) \ |
698 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ | 698 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 | 832 |
833 friend class Isolate; | 833 friend class Isolate; |
834 | 834 |
835 DISALLOW_COPY_AND_ASSIGN(Builtins); | 835 DISALLOW_COPY_AND_ASSIGN(Builtins); |
836 }; | 836 }; |
837 | 837 |
838 } // namespace internal | 838 } // namespace internal |
839 } // namespace v8 | 839 } // namespace v8 |
840 | 840 |
841 #endif // V8_BUILTINS_BUILTINS_H_ | 841 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |