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

Unified Diff: src/virtual-frame-ia32.h

Issue 11468: For some reason gcc didn't like a STATIC_ASSERT argument with '>' in... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: '' Created 12 years, 1 month 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/checks.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/virtual-frame-ia32.h
===================================================================
--- src/virtual-frame-ia32.h (revision 788)
+++ src/virtual-frame-ia32.h (working copy)
@@ -52,7 +52,6 @@
Type type() const { return static_cast<Type>(type_ & kTypeMask); }
bool is_dirty() const {
- STATIC_ASSERT(kDirtyBit > LAST_TYPE);
return (type_ & kDirtyBit) != 0;
}
@@ -75,6 +74,8 @@
static const int kDirtyBit = 1 << 8;
static const int kTypeMask = kDirtyBit - 1;
+ STATIC_ASSERT(kDirtyBit > LAST_TYPE);
+
// The element's type and a dirty bit. The dirty bit can be cleared
// for non-memory elements to indicate that the element agrees with
// the value in memory in the actual frame.
« no previous file with comments | « src/checks.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698