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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 F(NewObjectFromBound, 1, 1) \ | 323 F(NewObjectFromBound, 1, 1) \ |
324 F(FinalizeInstanceSize, 1, 1) \ | 324 F(FinalizeInstanceSize, 1, 1) \ |
325 F(Throw, 1, 1) \ | 325 F(Throw, 1, 1) \ |
326 F(ReThrow, 1, 1) \ | 326 F(ReThrow, 1, 1) \ |
327 F(ThrowReferenceError, 1, 1) \ | 327 F(ThrowReferenceError, 1, 1) \ |
328 F(StackGuard, 0, 1) \ | 328 F(StackGuard, 0, 1) \ |
329 F(Interrupt, 0, 1) \ | 329 F(Interrupt, 0, 1) \ |
330 F(PromoteScheduledException, 0, 1) \ | 330 F(PromoteScheduledException, 0, 1) \ |
331 \ | 331 \ |
332 /* Contexts */ \ | 332 /* Contexts */ \ |
| 333 F(NewGlobalContext, 2, 1) \ |
333 F(NewFunctionContext, 1, 1) \ | 334 F(NewFunctionContext, 1, 1) \ |
334 F(PushWithContext, 2, 1) \ | 335 F(PushWithContext, 2, 1) \ |
335 F(PushCatchContext, 3, 1) \ | 336 F(PushCatchContext, 3, 1) \ |
336 F(PushBlockContext, 2, 1) \ | 337 F(PushBlockContext, 2, 1) \ |
337 F(PushModuleContext, 1, 1) \ | 338 F(PushModuleContext, 1, 1) \ |
338 F(DeleteContextSlot, 2, 1) \ | 339 F(DeleteContextSlot, 2, 1) \ |
339 F(LoadContextSlot, 2, 2) \ | 340 F(LoadContextSlot, 2, 2) \ |
340 F(LoadContextSlotNoReferenceError, 2, 2) \ | 341 F(LoadContextSlotNoReferenceError, 2, 2) \ |
341 F(StoreContextSlot, 4, 1) \ | 342 F(StoreContextSlot, 4, 1) \ |
342 \ | 343 \ |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 //--------------------------------------------------------------------------- | 715 //--------------------------------------------------------------------------- |
715 // Constants used by interface to runtime functions. | 716 // Constants used by interface to runtime functions. |
716 | 717 |
717 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 718 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
718 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 719 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
719 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 720 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
720 | 721 |
721 } } // namespace v8::internal | 722 } } // namespace v8::internal |
722 | 723 |
723 #endif // V8_RUNTIME_H_ | 724 #endif // V8_RUNTIME_H_ |
OLD | NEW |