diff options
| author | Ben Murdoch <benm@google.com> | 2012-04-11 10:23:59 +0100 |
|---|---|---|
| committer | Ben Murdoch <benm@google.com> | 2012-04-11 15:40:41 +0100 |
| commit | 5d4cdbf7a67d3662fa0bee4efdb7edd8daec9b0b (patch) | |
| tree | 7b717e53b80c4a64bf9b723aabcf7c909ae3c243 /src/variables.h | |
| parent | c7cc028aaeedbbfa11c11d0b7b243b3d9e837ed9 (diff) | |
| download | android_external_v8-5d4cdbf7a67d3662fa0bee4efdb7edd8daec9b0b.tar.gz android_external_v8-5d4cdbf7a67d3662fa0bee4efdb7edd8daec9b0b.tar.bz2 android_external_v8-5d4cdbf7a67d3662fa0bee4efdb7edd8daec9b0b.zip | |
Merge V8 3.9 at 3.9.24.9
http://v8.googlecode.com/svn/branches/3.9@11260
Bug: 5688872
Change-Id: Iddd944e82189d92df3fc427dc5f0d3f1b2f0c6c8
Diffstat (limited to 'src/variables.h')
| -rw-r--r-- | src/variables.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/variables.h b/src/variables.h index f20bd399..f49b6e12 100644 --- a/src/variables.h +++ b/src/variables.h @@ -29,6 +29,7 @@ #define V8_VARIABLES_H_ #include "zone.h" +#include "interface.h" namespace v8 { namespace internal { @@ -78,7 +79,8 @@ class Variable: public ZoneObject { VariableMode mode, bool is_valid_lhs, Kind kind, - InitializationFlag initialization_flag); + InitializationFlag initialization_flag, + Interface* interface = Interface::NewValue()); // Printing support static const char* Mode2String(VariableMode mode); @@ -153,6 +155,7 @@ class Variable: public ZoneObject { InitializationFlag initialization_flag() const { return initialization_flag_; } + Interface* interface() const { return interface_; } void AllocateTo(Location location, int index) { location_ = location; @@ -183,6 +186,9 @@ class Variable: public ZoneObject { bool force_context_allocation_; // set by variable resolver bool is_used_; InitializationFlag initialization_flag_; + + // Module type info. + Interface* interface_; }; |
