Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index b7915e695cafe1fd5b44f1e7955c7e5193b9e057..c561ab11943a0f924108e369b2f26d8b7e05fd4f 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -2380,7 +2380,7 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
context = context->native_context(); |
return handle(context->string_function()->initial_map()); |
} else { |
- return type_->AsClass(); |
+ return type_->AsClass()->Map(); |
} |
} |
Type* type() const { return type_; } |