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

Unified Diff: src/compiler/machine-type.cc

Issue 505713002: [turbofan] Add backend support for signed loads. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix x64. Created 6 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/machine-type.h ('k') | src/compiler/x64/code-generator-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/machine-type.cc
diff --git a/src/compiler/machine-type.cc b/src/compiler/machine-type.cc
index 33ac20f36cf1a3abe7fcb45055d28a009d881bd8..b27727cb7a3b03c1f7bc4b559242533c9c119da0 100644
--- a/src/compiler/machine-type.cc
+++ b/src/compiler/machine-type.cc
@@ -11,11 +11,12 @@ namespace compiler {
#define PRINT(bit) \
if (type & bit) { \
- if (before) os << "+"; \
+ if (before) os << "|"; \
os << #bit; \
before = true; \
}
+
OStream& operator<<(OStream& os, const MachineType& type) {
bool before = false;
PRINT(kRepBit);
@@ -35,6 +36,10 @@ OStream& operator<<(OStream& os, const MachineType& type) {
PRINT(kTypeAny);
return os;
}
-}
-}
-} // namespace v8::internal::compiler
+
+
+#undef PRINT
+
+} // namespace compiler
+} // namespace internal
+} // namespace v8
« no previous file with comments | « src/compiler/machine-type.h ('k') | src/compiler/x64/code-generator-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698