OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 F(ThrowReferenceError, 1, 1) \ | 316 F(ThrowReferenceError, 1, 1) \ |
317 F(StackGuard, 0, 1) \ | 317 F(StackGuard, 0, 1) \ |
318 F(Interrupt, 0, 1) \ | 318 F(Interrupt, 0, 1) \ |
319 F(PromoteScheduledException, 0, 1) \ | 319 F(PromoteScheduledException, 0, 1) \ |
320 \ | 320 \ |
321 /* Contexts */ \ | 321 /* Contexts */ \ |
322 F(NewFunctionContext, 1, 1) \ | 322 F(NewFunctionContext, 1, 1) \ |
323 F(PushWithContext, 2, 1) \ | 323 F(PushWithContext, 2, 1) \ |
324 F(PushCatchContext, 3, 1) \ | 324 F(PushCatchContext, 3, 1) \ |
325 F(PushBlockContext, 2, 1) \ | 325 F(PushBlockContext, 2, 1) \ |
| 326 F(PushModuleContext, 2, 1) \ |
326 F(DeleteContextSlot, 2, 1) \ | 327 F(DeleteContextSlot, 2, 1) \ |
327 F(LoadContextSlot, 2, 2) \ | 328 F(LoadContextSlot, 2, 2) \ |
328 F(LoadContextSlotNoReferenceError, 2, 2) \ | 329 F(LoadContextSlotNoReferenceError, 2, 2) \ |
329 F(StoreContextSlot, 4, 1) \ | 330 F(StoreContextSlot, 4, 1) \ |
330 \ | 331 \ |
331 /* Declarations and initialization */ \ | 332 /* Declarations and initialization */ \ |
332 F(DeclareGlobals, 3, 1) \ | 333 F(DeclareGlobals, 3, 1) \ |
333 F(DeclareContextSlot, 4, 1) \ | 334 F(DeclareContextSlot, 4, 1) \ |
334 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \ | 335 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \ |
335 F(InitializeConstGlobal, 2, 1) \ | 336 F(InitializeConstGlobal, 2, 1) \ |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
696 //--------------------------------------------------------------------------- | 697 //--------------------------------------------------------------------------- |
697 // Constants used by interface to runtime functions. | 698 // Constants used by interface to runtime functions. |
698 | 699 |
699 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 700 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
700 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 701 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
701 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 702 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
702 | 703 |
703 } } // namespace v8::internal | 704 } } // namespace v8::internal |
704 | 705 |
705 #endif // V8_RUNTIME_H_ | 706 #endif // V8_RUNTIME_H_ |
OLD | NEW |