OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 int position); | 680 int position); |
681 | 681 |
682 // Helper functions used stubs. | 682 // Helper functions used stubs. |
683 static void PerformGC(Object* result); | 683 static void PerformGC(Object* result); |
684 }; | 684 }; |
685 | 685 |
686 | 686 |
687 //--------------------------------------------------------------------------- | 687 //--------------------------------------------------------------------------- |
688 // Constants used by interface to runtime functions. | 688 // Constants used by interface to runtime functions. |
689 | 689 |
690 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 690 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
691 class DeclareGlobalsStrictModeFlag: public BitField<StrictModeFlag, 1, 1> {}; | 691 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
692 class DeclareGlobalsNativeFlag: public BitField<bool, 2, 1> {}; | 692 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
693 | 693 |
694 } } // namespace v8::internal | 694 } } // namespace v8::internal |
695 | 695 |
696 #endif // V8_RUNTIME_H_ | 696 #endif // V8_RUNTIME_H_ |
OLD | NEW |