OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_RUNTIME_RUNTIME_H_ | 5 #ifndef V8_RUNTIME_RUNTIME_H_ |
6 #define V8_RUNTIME_RUNTIME_H_ | 6 #define V8_RUNTIME_RUNTIME_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/objects.h" | 9 #include "src/objects.h" |
10 #include "src/zone.h" | 10 #include "src/zone.h" |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 F(NewRestParamSlow, 1, 1) \ | 458 F(NewRestParamSlow, 1, 1) \ |
459 \ | 459 \ |
460 /* Harmony generators */ \ | 460 /* Harmony generators */ \ |
461 F(CreateJSGeneratorObject, 0, 1) \ | 461 F(CreateJSGeneratorObject, 0, 1) \ |
462 F(SuspendJSGeneratorObject, 1, 1) \ | 462 F(SuspendJSGeneratorObject, 1, 1) \ |
463 F(ResumeJSGeneratorObject, 3, 1) \ | 463 F(ResumeJSGeneratorObject, 3, 1) \ |
464 F(GeneratorClose, 1, 1) \ | 464 F(GeneratorClose, 1, 1) \ |
465 \ | 465 \ |
466 /* Arrays */ \ | 466 /* Arrays */ \ |
467 F(ArrayConstructor, -1, 1) \ | 467 F(ArrayConstructor, -1, 1) \ |
| 468 F(ArrayConstructorWithSubclassing, -1, 1) \ |
468 F(InternalArrayConstructor, -1, 1) \ | 469 F(InternalArrayConstructor, -1, 1) \ |
469 \ | 470 \ |
470 /* Literals */ \ | 471 /* Literals */ \ |
471 F(MaterializeRegExpLiteral, 4, 1) \ | 472 F(MaterializeRegExpLiteral, 4, 1) \ |
472 F(CreateObjectLiteral, 4, 1) \ | 473 F(CreateObjectLiteral, 4, 1) \ |
473 F(CreateArrayLiteral, 4, 1) \ | 474 F(CreateArrayLiteral, 4, 1) \ |
474 F(CreateArrayLiteralStubBailout, 3, 1) \ | 475 F(CreateArrayLiteralStubBailout, 3, 1) \ |
475 \ | 476 \ |
476 /* Statements */ \ | 477 /* Statements */ \ |
477 F(NewClosure, 3, 1) \ | 478 F(NewClosure, 3, 1) \ |
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
900 | 901 |
901 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 902 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
902 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 903 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
903 STATIC_ASSERT(LANGUAGE_END == 3); | 904 STATIC_ASSERT(LANGUAGE_END == 3); |
904 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 905 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
905 | 906 |
906 } // namespace internal | 907 } // namespace internal |
907 } // namespace v8 | 908 } // namespace v8 |
908 | 909 |
909 #endif // V8_RUNTIME_RUNTIME_H_ | 910 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |