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

Unified Diff: src/globals.h

Issue 2286273002: [interpreter] Make the comparison bytecode handlers collect type feedback. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/type-hint-analyzer.cc ('k') | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index ea0aac998f89aa304b13990ca22a05f5e36d8a5f..9ea7d1b1dc71f32a2d3f7c7cea7c124b8d2f612d 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1156,6 +1156,12 @@ class BinaryOperationFeedback {
enum { kNone = 0x00, kSignedSmall = 0x01, kNumber = 0x3, kAny = 0x7 };
};
+// TODO(epertoso): consider unifying this with BinaryOperationFeedback.
mythria 2016/08/30 08:09:29 Is there any reason we don't do it now?
+class CompareOperationFeedback {
+ public:
+ enum { kNone = 0x00, kSignedSmall = 0x01, kNumber = 0x3, kAny = 0x7 };
+};
+
} // namespace internal
} // namespace v8
« no previous file with comments | « src/compiler/type-hint-analyzer.cc ('k') | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698