Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 7516e9c55e6f4cc729db665f68024e6107317124..50e22f5287ac83001e5f024b2bffeeaacac7a780 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -1982,6 +1982,11 @@ class HOptimizedGraphBuilder V8_FINAL |
name_->Equals(isolate()->heap()->length_string()); |
} |
+ bool IsTypedArrayLength() { |
+ return map_->instance_type() == JS_TYPED_ARRAY_TYPE && |
+ name_->Equals(isolate()->heap()->length_string()); |
+ } |
+ |
bool has_holder() { return !holder_.is_null(); } |
LookupResult* lookup() { return &lookup_; } |