Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index e11738cc392b998a4323965ccc1484b6083fc2cc..cfac1c8f9cef877356510673ea1bffbe97b43c3a 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -126,7 +126,7 @@ bool Accessors::IsJSObjectFieldAccessor(typename T::TypeHandle type, |
} |
if (!type->IsClass()) return false; |
- Handle<Map> map = type->AsClass(); |
+ Handle<Map> map = type->AsClass()->Map(); |
switch (map->instance_type()) { |
case JS_ARRAY_TYPE: |