Index: src/full-codegen/full-codegen.h |
diff --git a/src/full-codegen/full-codegen.h b/src/full-codegen/full-codegen.h |
index 8b4e89fa037cb6b4954d36773f072d5734d2afa3..009fc03e1467348cbcc6d4cc67a35f761f13036b 100644 |
--- a/src/full-codegen/full-codegen.h |
+++ b/src/full-codegen/full-codegen.h |
@@ -972,28 +972,6 @@ class FullCodeGenerator: public AstVisitor { |
}; |
-// A map from property names to getter/setter pairs allocated in the zone. |
-class AccessorTable: public TemplateHashMap<Literal, |
- ObjectLiteral::Accessors, |
- ZoneAllocationPolicy> { |
- public: |
- explicit AccessorTable(Zone* zone) : |
- TemplateHashMap<Literal, ObjectLiteral::Accessors, |
- ZoneAllocationPolicy>(Literal::Match, |
- ZoneAllocationPolicy(zone)), |
- zone_(zone) { } |
- |
- Iterator lookup(Literal* literal) { |
- Iterator it = find(literal, true, ZoneAllocationPolicy(zone_)); |
- if (it->second == NULL) it->second = new(zone_) ObjectLiteral::Accessors(); |
- return it; |
- } |
- |
- private: |
- Zone* zone_; |
-}; |
- |
- |
class BackEdgeTable { |
public: |
BackEdgeTable(Code* code, DisallowHeapAllocation* required) { |