| 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 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 int position); | 669 int position); |
| 670 | 670 |
| 671 // Helper functions used stubs. | 671 // Helper functions used stubs. |
| 672 static void PerformGC(Object* result); | 672 static void PerformGC(Object* result); |
| 673 }; | 673 }; |
| 674 | 674 |
| 675 | 675 |
| 676 //--------------------------------------------------------------------------- | 676 //--------------------------------------------------------------------------- |
| 677 // Constants used by interface to runtime functions. | 677 // Constants used by interface to runtime functions. |
| 678 | 678 |
| 679 enum kDeclareGlobalsFlags { | 679 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 680 kDeclareGlobalsEvalFlag = 1 << 0, | 680 class DeclareGlobalsStrictModeFlag: public BitField<StrictModeFlag, 1, 1> {}; |
| 681 kDeclareGlobalsStrictModeFlag = 1 << 1, | 681 class DeclareGlobalsNativeFlag: public BitField<bool, 2, 1> {}; |
| 682 kDeclareGlobalsNativeFlag = 1 << 2 | |
| 683 }; | |
| 684 | 682 |
| 685 } } // namespace v8::internal | 683 } } // namespace v8::internal |
| 686 | 684 |
| 687 #endif // V8_RUNTIME_H_ | 685 #endif // V8_RUNTIME_H_ |
| OLD | NEW |