Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 4cd0ff0f08658ad651ac99c4552b9d1100a380a3..f96992712041cc8ae628d36016c9ae4ec5a84e3f 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -4140,7 +4140,7 @@ void HOptimizedGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) { |
Handle<JSObject> original_boilerplate_object = |
Handle<JSObject>::cast(original_boilerplate); |
Handle<JSObject> boilerplate_object = |
- DeepCopy(original_boilerplate_object); |
+ JSObject::DeepCopy(original_boilerplate_object); |
literal = BuildFastLiteral(context, |
boilerplate_object, |
@@ -4308,7 +4308,8 @@ void HOptimizedGraphBuilder::VisitArrayLiteral(ArrayLiteral* expr) { |
pointer_size += AllocationMemento::kSize; |
} |
- Handle<JSObject> boilerplate_object = DeepCopy(original_boilerplate_object); |
+ Handle<JSObject> boilerplate_object = |
+ JSObject::DeepCopy(original_boilerplate_object); |
literal = BuildFastLiteral(context, |
boilerplate_object, |
original_boilerplate_object, |