Index: src/hydrogen-instructions.h |
=================================================================== |
--- src/hydrogen-instructions.h (revision 12502) |
+++ src/hydrogen-instructions.h (working copy) |
@@ -3835,7 +3835,8 @@ |
inline bool ReceiverObjectNeedsWriteBarrier(HValue* object, |
HValue* new_space_dominator) { |
- return !object->IsAllocateObject() || (object != new_space_dominator); |
+ return (!object->IsAllocateObject() && !object->IsFastLiteral()) || |
+ object != new_space_dominator; |
} |