Index: src/hydrogen-instructions.h |
=================================================================== |
--- src/hydrogen-instructions.h (revision 8559) |
+++ src/hydrogen-instructions.h (working copy) |
@@ -3362,8 +3362,9 @@ |
static inline bool StoringValueNeedsWriteBarrier(HValue* value) { |
- return !value->type().IsSmi() && |
- !(value->IsConstant() && HConstant::cast(value)->InOldSpace()); |
+ return !value->type().IsBoolean() |
+ && !value->type().IsSmi() |
Kevin Millikin (Chromium)
2011/07/07 10:13:44
OK. The predicate here would be easier to read if
|
+ && !(value->IsConstant() && HConstant::cast(value)->InOldSpace()); |
} |