| 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 <stddef.h> |     8 #include <stddef.h> | 
|     9 #include <stdint.h> |     9 #include <stdint.h> | 
|    10  |    10  | 
| (...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   923 }; |   923 }; | 
|   924  |   924  | 
|   925  |   925  | 
|   926 enum MaybeAssignedFlag { kNotAssigned, kMaybeAssigned }; |   926 enum MaybeAssignedFlag { kNotAssigned, kMaybeAssigned }; | 
|   927  |   927  | 
|   928  |   928  | 
|   929 // Serialized in PreparseData, so numeric values should not be changed. |   929 // Serialized in PreparseData, so numeric values should not be changed. | 
|   930 enum ParseErrorType { kSyntaxError = 0, kReferenceError = 1 }; |   930 enum ParseErrorType { kSyntaxError = 0, kReferenceError = 1 }; | 
|   931  |   931  | 
|   932  |   932  | 
|   933 enum ClearExceptionFlag { |  | 
|   934   KEEP_EXCEPTION, |  | 
|   935   CLEAR_EXCEPTION |  | 
|   936 }; |  | 
|   937  |  | 
|   938  |  | 
|   939 enum MinusZeroMode { |   933 enum MinusZeroMode { | 
|   940   TREAT_MINUS_ZERO_AS_ZERO, |   934   TREAT_MINUS_ZERO_AS_ZERO, | 
|   941   FAIL_ON_MINUS_ZERO |   935   FAIL_ON_MINUS_ZERO | 
|   942 }; |   936 }; | 
|   943  |   937  | 
|   944  |   938  | 
|   945 enum Signedness { kSigned, kUnsigned }; |   939 enum Signedness { kSigned, kUnsigned }; | 
|   946  |   940  | 
|   947 enum FunctionKind { |   941 enum FunctionKind { | 
|   948   kNormalFunction = 0, |   942   kNormalFunction = 0, | 
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1051   return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >> |  1045   return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >> | 
|  1052                                kPointerSizeLog2); |  1046                                kPointerSizeLog2); | 
|  1053 } |  1047 } | 
|  1054  |  1048  | 
|  1055 }  // namespace internal |  1049 }  // namespace internal | 
|  1056 }  // namespace v8 |  1050 }  // namespace v8 | 
|  1057  |  1051  | 
|  1058 namespace i = v8::internal; |  1052 namespace i = v8::internal; | 
|  1059  |  1053  | 
|  1060 #endif  // V8_GLOBALS_H_ |  1054 #endif  // V8_GLOBALS_H_ | 
| OLD | NEW |