| 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 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 749 KEEP_EXCEPTION, | 749 KEEP_EXCEPTION, |
| 750 CLEAR_EXCEPTION | 750 CLEAR_EXCEPTION |
| 751 }; | 751 }; |
| 752 | 752 |
| 753 | 753 |
| 754 enum MinusZeroMode { | 754 enum MinusZeroMode { |
| 755 TREAT_MINUS_ZERO_AS_ZERO, | 755 TREAT_MINUS_ZERO_AS_ZERO, |
| 756 FAIL_ON_MINUS_ZERO | 756 FAIL_ON_MINUS_ZERO |
| 757 }; | 757 }; |
| 758 | 758 |
| 759 enum FunctionKind { |
| 760 kNormalFunction, |
| 761 kGeneratorFunction, |
| 762 kArrowFunction, |
| 763 kConciseMethod |
| 764 }; |
| 759 } } // namespace v8::internal | 765 } } // namespace v8::internal |
| 760 | 766 |
| 761 namespace i = v8::internal; | 767 namespace i = v8::internal; |
| 762 | 768 |
| 763 #endif // V8_GLOBALS_H_ | 769 #endif // V8_GLOBALS_H_ |
| OLD | NEW |