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_H_ | 5 #ifndef V8_RUNTIME_H_ |
6 #define V8_RUNTIME_H_ | 6 #define V8_RUNTIME_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/zone.h" | 9 #include "src/zone.h" |
10 | 10 |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 F(NotifyDeoptimized, 1, 1) \ | 546 F(NotifyDeoptimized, 1, 1) \ |
547 F(NotifyStubFailure, 0, 1) \ | 547 F(NotifyStubFailure, 0, 1) \ |
548 \ | 548 \ |
549 /* Utilities */ \ | 549 /* Utilities */ \ |
550 F(AllocateInNewSpace, 1, 1) \ | 550 F(AllocateInNewSpace, 1, 1) \ |
551 F(AllocateInTargetSpace, 2, 1) \ | 551 F(AllocateInTargetSpace, 2, 1) \ |
552 F(AllocateHeapNumber, 0, 1) \ | 552 F(AllocateHeapNumber, 0, 1) \ |
553 F(NumberToSmi, 1, 1) \ | 553 F(NumberToSmi, 1, 1) \ |
554 F(NumberToStringSkipCache, 1, 1) \ | 554 F(NumberToStringSkipCache, 1, 1) \ |
555 \ | 555 \ |
556 F(NewArgumentsFast, 3, 1) \ | 556 F(NewSloppyArguments, 3, 1) \ |
557 F(NewStrictArgumentsFast, 3, 1) \ | 557 F(NewStrictArguments, 3, 1) \ |
558 \ | 558 \ |
559 /* Harmony generators */ \ | 559 /* Harmony generators */ \ |
560 F(CreateJSGeneratorObject, 0, 1) \ | 560 F(CreateJSGeneratorObject, 0, 1) \ |
561 F(SuspendJSGeneratorObject, 1, 1) \ | 561 F(SuspendJSGeneratorObject, 1, 1) \ |
562 F(ResumeJSGeneratorObject, 3, 1) \ | 562 F(ResumeJSGeneratorObject, 3, 1) \ |
563 F(ThrowGeneratorStateError, 1, 1) \ | 563 F(ThrowGeneratorStateError, 1, 1) \ |
564 \ | 564 \ |
565 /* Arrays */ \ | 565 /* Arrays */ \ |
566 F(ArrayConstructor, -1, 1) \ | 566 F(ArrayConstructor, -1, 1) \ |
567 F(InternalArrayConstructor, -1, 1) \ | 567 F(InternalArrayConstructor, -1, 1) \ |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
891 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 891 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
892 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 892 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
893 | 893 |
894 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 894 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
895 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 895 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
896 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 896 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
897 | 897 |
898 } } // namespace v8::internal | 898 } } // namespace v8::internal |
899 | 899 |
900 #endif // V8_RUNTIME_H_ | 900 #endif // V8_RUNTIME_H_ |
OLD | NEW |