Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(770)

Side by Side Diff: src/globals.h

Issue 1762323002: [compiler] Move ClearExceptionFlag into Compiler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: More places. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/debug/debug.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/debug/debug.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698