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

Side by Side Diff: src/globals.h

Issue 2518283002: [ignition] Report NumberOrOddball feedback for relational comparisons. (Closed)
Patch Set: Created 4 years 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/compiler/simplified-lowering.cc ('k') | src/interpreter/interpreter.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 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 // to a more generic type when we combine feedback. 1246 // to a more generic type when we combine feedback.
1247 // kSignedSmall -> kNumber -> kAny 1247 // kSignedSmall -> kNumber -> kAny
1248 // kString -> kAny 1248 // kString -> kAny
1249 // TODO(epertoso): consider unifying this with BinaryOperationFeedback. 1249 // TODO(epertoso): consider unifying this with BinaryOperationFeedback.
1250 class CompareOperationFeedback { 1250 class CompareOperationFeedback {
1251 public: 1251 public:
1252 enum { 1252 enum {
1253 kNone = 0x00, 1253 kNone = 0x00,
1254 kSignedSmall = 0x01, 1254 kSignedSmall = 0x01,
1255 kNumber = 0x3, 1255 kNumber = 0x3,
1256 kString = 0x4, 1256 kNumberOrOddball = 0x7,
1257 kAny = 0xf 1257 kString = 0x8,
1258 kAny = 0x1F
1258 }; 1259 };
1259 }; 1260 };
1260 1261
1261 // Describes how exactly a frame has been dropped from stack. 1262 // Describes how exactly a frame has been dropped from stack.
1262 enum LiveEditFrameDropMode { 1263 enum LiveEditFrameDropMode {
1263 // No frame has been dropped. 1264 // No frame has been dropped.
1264 LIVE_EDIT_FRAMES_UNTOUCHED, 1265 LIVE_EDIT_FRAMES_UNTOUCHED,
1265 // The top JS frame had been calling debug break slot stub. Patch the 1266 // The top JS frame had been calling debug break slot stub. Patch the
1266 // address this stub jumps to in the end. 1267 // address this stub jumps to in the end.
1267 LIVE_EDIT_FRAME_DROPPED_IN_DEBUG_SLOT_CALL, 1268 LIVE_EDIT_FRAME_DROPPED_IN_DEBUG_SLOT_CALL,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
1311 } // namespace internal 1312 } // namespace internal
1312 } // namespace v8 1313 } // namespace v8
1313 1314
1314 // Used by js-builtin-reducer to identify whether ReduceArrayIterator() is 1315 // Used by js-builtin-reducer to identify whether ReduceArrayIterator() is
1315 // reducing a JSArray method, or a JSTypedArray method. 1316 // reducing a JSArray method, or a JSTypedArray method.
1316 enum class ArrayIteratorKind { kArray, kTypedArray }; 1317 enum class ArrayIteratorKind { kArray, kTypedArray };
1317 1318
1318 namespace i = v8::internal; 1319 namespace i = v8::internal;
1319 1320
1320 #endif // V8_GLOBALS_H_ 1321 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698