| 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_GLOBALS_H_ | 5 #ifndef V8_GLOBALS_H_ |
| 6 #define V8_GLOBALS_H_ | 6 #define V8_GLOBALS_H_ |
| 7 | 7 |
| 8 #include "include/v8stdint.h" | 8 #include "include/v8stdint.h" |
| 9 | 9 |
| 10 #include "src/base/build_config.h" | 10 #include "src/base/build_config.h" |
| (...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 715 // | 715 // |
| 716 // The following enum specifies a flag that indicates if the binding needs a | 716 // The following enum specifies a flag that indicates if the binding needs a |
| 717 // distinct initialization step (kNeedsInitialization) or if the binding is | 717 // distinct initialization step (kNeedsInitialization) or if the binding is |
| 718 // immediately initialized upon creation (kCreatedInitialized). | 718 // immediately initialized upon creation (kCreatedInitialized). |
| 719 enum InitializationFlag { | 719 enum InitializationFlag { |
| 720 kNeedsInitialization, | 720 kNeedsInitialization, |
| 721 kCreatedInitialized | 721 kCreatedInitialized |
| 722 }; | 722 }; |
| 723 | 723 |
| 724 | 724 |
| 725 enum MaybeAssignedFlag { kNotAssigned, kMaybeAssigned }; |
| 726 |
| 727 |
| 725 enum ClearExceptionFlag { | 728 enum ClearExceptionFlag { |
| 726 KEEP_EXCEPTION, | 729 KEEP_EXCEPTION, |
| 727 CLEAR_EXCEPTION | 730 CLEAR_EXCEPTION |
| 728 }; | 731 }; |
| 729 | 732 |
| 730 | 733 |
| 731 enum MinusZeroMode { | 734 enum MinusZeroMode { |
| 732 TREAT_MINUS_ZERO_AS_ZERO, | 735 TREAT_MINUS_ZERO_AS_ZERO, |
| 733 FAIL_ON_MINUS_ZERO | 736 FAIL_ON_MINUS_ZERO |
| 734 }; | 737 }; |
| 735 | 738 |
| 736 } } // namespace v8::internal | 739 } } // namespace v8::internal |
| 737 | 740 |
| 738 namespace i = v8::internal; | 741 namespace i = v8::internal; |
| 739 | 742 |
| 740 #endif // V8_GLOBALS_H_ | 743 #endif // V8_GLOBALS_H_ |
| OLD | NEW |