Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index dd35053a654ff44e468e1db5d3053cc85361c07b..37e24e95279d444172f5b29e10af426e1a232a60 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -3075,7 +3075,7 @@ void FullCodeGenerator::EmitGetFromCache(ZoneList<Expression*>* args) { |
Label done, not_found; |
// tmp now holds finger offset as a smi. |
- ASSERT(kSmiTag == 0 && kSmiTagSize == 1); |
+ STATIC_ASSERT(kSmiTag == 0 && kSmiTagSize == 1); |
__ movq(tmp, FieldOperand(cache, JSFunctionResultCache::kFingerOffset)); |
SmiIndex index = |
__ SmiToIndex(kScratchRegister, tmp, kPointerSizeLog2); |