Index: src/serialize.cc |
diff --git a/src/serialize.cc b/src/serialize.cc |
index 30fde9b538a9b7884fd953576b903e903662df84..dc086a6ff3fe76b940022bae714de4557438ce18 100644 |
--- a/src/serialize.cc |
+++ b/src/serialize.cc |
@@ -881,12 +881,12 @@ void Deserializer::ReadChunk(Object** current, |
while (current < limit) { |
int data = source_->Get(); |
switch (data) { |
-#define CASE_STATEMENT(where, how, within, space_number) \ |
- case where + how + within + space_number: \ |
- ASSERT((where & ~kPointedToMask) == 0); \ |
- ASSERT((how & ~kHowToCodeMask) == 0); \ |
- ASSERT((within & ~kWhereToPointMask) == 0); \ |
- ASSERT((space_number & ~kSpaceMask) == 0); |
+#define CASE_STATEMENT(where, how, within, space_number) \ |
+ case where + how + within + space_number: \ |
+ STATIC_ASSERT((where & ~kPointedToMask) == 0); \ |
+ STATIC_ASSERT((how & ~kHowToCodeMask) == 0); \ |
+ STATIC_ASSERT((within & ~kWhereToPointMask) == 0); \ |
+ STATIC_ASSERT((space_number & ~kSpaceMask) == 0); |
#define CASE_BODY(where, how, within, space_number_if_any) \ |
{ \ |