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

Unified Diff: src/globals.h

Issue 2221833002: [Interpreter] Collect type feedback for subtract operation and pass it to turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments from Benedikt: Duplicate SubtractStub for Numbers that collects type feedback an… 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
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index 2bfb1eb84e258a0ed59d46a1d4f463d0624a9c9c..6dc90fb9fe7cdbd889fb628b3b26031dca7895b2 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1150,6 +1150,11 @@ inline uint32_t ObjectHash(Address address) {
kPointerSizeLog2);
}
+class BinaryOperationFeedback {
+ public:
+ enum { kNone = 0x00, kSignedSmall = 0x01, kNumber = 0x3, kAny = 0x7 };
rmcilroy 2016/08/08 08:27:31 Nit - comment that the values are important to all
mythria 2016/08/09 00:51:59 Done.
+};
+
} // namespace internal
} // namespace v8

Powered by Google App Engine
This is Rietveld 408576698