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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 298963006: Change COMPILE_ASSERT to take only one argument and use it in more places. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/locations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.cc
===================================================================
--- runtime/vm/flow_graph_optimizer.cc (revision 36621)
+++ runtime/vm/flow_graph_optimizer.cc (working copy)
@@ -5472,7 +5472,7 @@
kConstantIndex = 4,
kNumKinds = kConstantIndex + 1
};
- COMPILE_ASSERT(kNumKinds < ((1 << kBitsForKind) - 1), InvalidBitFieldSize);
+ COMPILE_ASSERT(kNumKinds < ((1 << kBitsForKind) - 1));
explicit Alias(intptr_t alias) : alias_(alias) { }
@@ -7585,7 +7585,7 @@
// strings.
// Other effects like modifications of fields are tracked in a separate load
// forwarding pass via Alias structure.
- COMPILE_ASSERT(EffectSet::kLastEffect == 1, single_effect_is_tracked);
+ COMPILE_ASSERT(EffectSet::kLastEffect == 1);
CSEInstructionMap() : independent_(), dependent_() { }
explicit CSEInstructionMap(const CSEInstructionMap& other)
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/locations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698