Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index d798c3ede65b34d4dd860aeafc0e9ebe28e26a89..4897592cebbe02371491ccffc9eb12bdc00650ce 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -392,8 +392,14 @@ Handle<Map> Factory::GetSlowElementsMap(Handle<Map> src) { |
} |
-Handle<Map> Factory::NewExternalArrayElementsMap(Handle<Map> src) { |
- CALL_HEAP_FUNCTION(isolate(), src->NewExternalArrayElementsMap(), Map); |
+Handle<Map> Factory::GetExternalArrayElementsMap( |
+ Handle<Map> src, |
+ ExternalArrayType array_type, |
+ bool safe_to_add_transition) { |
+ CALL_HEAP_FUNCTION(isolate(), |
+ src->GetExternalArrayElementsMap(array_type, |
+ safe_to_add_transition), |
+ Map); |
} |