Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index b548fb3870e25c46aee565353770d6a44b2512e0..f3596483112c00f8dbc2081c1a24bab75fae6c4e 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -410,11 +410,7 @@ Handle<Object> Isolate::CaptureSimpleStackTrace(Handle<JSObject> error_object, |
elements->Shrink(cursor); |
Handle<JSArray> result = factory()->NewJSArrayWithElements(elements); |
result->set_length(Smi::FromInt(cursor)); |
- // Queue this structured stack trace for preprocessing on GC. |
- Handle<Object> old_weak_list(heap()->weak_stack_trace_list(), this); |
- Handle<WeakFixedArray> new_weak_list = |
- WeakFixedArray::Add(old_weak_list, elements); |
- factory()->set_weak_stack_trace_list(new_weak_list); |
+ // TODO(yangguo): Queue this structured stack trace for preprocessing on GC. |
return result; |
} |