Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 8668793c8a3e4844783ca40d1ad1a1cc054f6829..9139101999fabc6432402b7d8761b8a2eee9d203 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -3224,6 +3224,12 @@ class HCapturedObject V8_FINAL : public HDematerializedObject { |
int length() const { return values_.length(); } |
int capture_id() const { return capture_id_; } |
+ void ReuseSideEffectsFromStore(HInstruction* store) { |
+ ASSERT(store->HasObservableSideEffects()); |
+ ASSERT(store->IsStoreNamedField()); |
+ gvn_flags_.Add(store->gvn_flags()); |
+ } |
+ |
// Replay effects of this instruction on the given environment. |
void ReplayEnvironment(HEnvironment* env); |