Revision: 22340
Author: [email protected]
Date: Fri Jul 11 07:04:51 2014 UTC
Log: Change ASSERTs in serializer macro to STATIC_ASSERTs.
[email protected]
Review URL: https://codereview.chromium.org/387523002
http://code.google.com/p/v8/source/detail?r=22340
Modified:
/branches/bleeding_edge/src/serialize.cc
=======================================
--- /branches/bleeding_edge/src/serialize.cc Thu Jul 10 10:28:05 2014 UTC
+++ /branches/bleeding_edge/src/serialize.cc Fri Jul 11 07:04:51 2014 UTC
@@ -881,12 +881,12 @@
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) \
{ \
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.