| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index b0a6b5e81427e1588a89f1c269a2b1e90c78f98b..a164d409e76ff9692e149cc5287f963c401e2552 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -144,7 +144,8 @@ MUST_USE_RESULT static MaybeObject* DeepCopyBoilerplate(Isolate* isolate,
|
|
|
| Heap* heap = isolate->heap();
|
| Object* result;
|
| - { MaybeObject* maybe_result = heap->CopyJSObject(boilerplate);
|
| + { MaybeObject* maybe_result = heap->CopyJSObject(boilerplate,
|
| + TRACK_ALLOCATION_ORIGIN);
|
| if (!maybe_result->ToObject(&result)) return maybe_result;
|
| }
|
| JSObject* copy = JSObject::cast(result);
|
| @@ -622,7 +623,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_CreateObjectLiteralShallow) {
|
| // Update the functions literal and return the boilerplate.
|
| literals->set(literals_index, *boilerplate);
|
| }
|
| - return isolate->heap()->CopyJSObject(JSObject::cast(*boilerplate));
|
| + return isolate->heap()->CopyJSObject(JSObject::cast(*boilerplate),
|
| + TRACK_ALLOCATION_ORIGIN);
|
| }
|
|
|
|
|
|
|