| Index: src/interface.h
|
| diff --git a/src/interface.h b/src/interface.h
|
| index 31a9fa0c4d8fea1ca29ecdcbb10d7109daeae4a7..0a793b1e28f52e7a12a5f8c3ba3400ed3448859d 100644
|
| --- a/src/interface.h
|
| +++ b/src/interface.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef V8_INTERFACE_H_
|
| #define V8_INTERFACE_H_
|
|
|
| +#include "parser-symbol-table.h"
|
| #include "zone-inl.h" // For operator new.
|
|
|
| namespace v8 {
|
| @@ -59,8 +60,9 @@ class Interface : public ZoneObject {
|
|
|
| // Add a name to the list of exports. If it already exists, unify with
|
| // interface, otherwise insert unless this is closed.
|
| - void Add(Handle<String> name, Interface* interface, Zone* zone, bool* ok) {
|
| - DoAdd(name.location(), name->Hash(), interface, zone, ok);
|
| + void Add(ParserSymbolTable::Symbol* name, Interface* interface, Zone* zone,
|
| + bool* ok) {
|
| + DoAdd(name, name->hash, interface, zone, ok);
|
| }
|
|
|
| // Unify with another interface. If successful, both interface objects will
|
| @@ -146,9 +148,9 @@ class Interface : public ZoneObject {
|
| class Iterator {
|
| public:
|
| bool done() const { return entry_ == NULL; }
|
| - Handle<String> name() const {
|
| + ParserSymbolTable::Symbol* name() const {
|
| ASSERT(!done());
|
| - return Handle<String>(*static_cast<String**>(entry_->key));
|
| + return static_cast<ParserSymbolTable::Symbol*>(entry_->key);
|
| }
|
| Interface* interface() const {
|
| ASSERT(!done());
|
|
|