Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 679bb443b012d81c95b24d88befccbc6491f9600..8340b4691e5c9bae11edeb1db0e7e4f0e4632f63 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -496,10 +496,8 @@ Handle<Map> Factory::CopyMap(Handle<Map> src, |
} |
-Handle<Map> Factory::CopyMapDropTransitions(Handle<Map> src) { |
- CALL_HEAP_FUNCTION(isolate(), |
- src->CopyDropTransitions(DescriptorArray::MAY_BE_SHARED), |
- Map); |
+Handle<Map> Factory::CopyMap(Handle<Map> src) { |
+ CALL_HEAP_FUNCTION(isolate(), src->Copy(DescriptorArray::MAY_BE_SHARED), Map); |
} |