Index: src/cfg.h |
=================================================================== |
--- src/cfg.h (revision 2628) |
+++ src/cfg.h (working copy) |
@@ -201,11 +201,13 @@ |
// computation is not needed (though its side effects are). |
class Effect : public Location { |
public: |
- // We should not try to emit code to read or write to Effect. |
+ // We should not try to emit code to read Effect. |
void Get(MacroAssembler* masm, Register reg) { UNREACHABLE(); } |
- void Set(MacroAssembler* masm, Register reg) { UNREACHABLE(); } |
void Push(MacroAssembler* masm) { UNREACHABLE(); } |
+ // Setting Effect is ignored. |
+ void Set(MacroAssembler* masm, Register reg) {} |
+ |
#ifdef DEBUG |
void Print(); |
#endif |
@@ -311,6 +313,7 @@ |
// Accessors. |
Location* location() { return loc_; } |
+ void set_location(Location* loc) { loc_ = loc; } |
// Support for fast-compilation mode: |