| Index: src/variables.h
|
| diff --git a/src/variables.h b/src/variables.h
|
| index c2f78fe256ac9669acc2d6dc27149721ec0da3fd..9e96a46851f459f59707e9fe28a1af162cdb3746 100644
|
| --- a/src/variables.h
|
| +++ b/src/variables.h
|
| @@ -103,6 +103,9 @@ class Variable: public ZoneObject {
|
| bool is_used() { return is_used_; }
|
| void set_is_used(bool flag) { is_used_ = flag; }
|
|
|
| + int initializer_position() { return initializer_position_; }
|
| + void set_initializer_position(int pos) { initializer_position_ = pos; }
|
| +
|
| bool IsVariable(Handle<String> n) const {
|
| return !is_this() && name().is_identical_to(n);
|
| }
|
| @@ -163,6 +166,7 @@ class Variable: public ZoneObject {
|
| Kind kind_;
|
| Location location_;
|
| int index_;
|
| + int initializer_position_;
|
|
|
| // If this field is set, this variable references the stored locally bound
|
| // variable, but it might be shadowed by variable bindings introduced by
|
|
|