| Index: src/variables.h
|
| diff --git a/src/variables.h b/src/variables.h
|
| index 0cb50c87e985580c1fd1c7fc5ea9b3fde63f4206..e4ffef41821bfa0f2671611f067dabaaf232cea9 100644
|
| --- a/src/variables.h
|
| +++ b/src/variables.h
|
| @@ -130,6 +130,9 @@ class Variable: public ZoneObject {
|
| return initialization_flag_;
|
| }
|
|
|
| + Handle<Type> type() const { return type_; }
|
| + void set_type(Handle<Type> type) { type_ = type; }
|
| +
|
| void AllocateTo(Location location, int index) {
|
| location_ = location;
|
| index_ = index;
|
| @@ -179,6 +182,7 @@ class Variable: public ZoneObject {
|
| // Usage info.
|
| bool force_context_allocation_; // set by variable resolver
|
| bool is_used_;
|
| + Handle<Type> type_;
|
| InitializationFlag initialization_flag_;
|
| MaybeAssignedFlag maybe_assigned_;
|
| };
|
|
|