| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index dcf0dbd4c42b0cc4c3c5b19a08c2fdb327466c5f..0b4ef139e76c61712cfd669b9bd55b24a2634be1 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -324,17 +324,8 @@ class StackTraceHelper {
|
| mode_(mode),
|
| caller_(caller),
|
| skip_next_frame_(true) {
|
| - // The caller parameter can be used to skip a specific set of frames in the
|
| - // stack trace. It can be:
|
| - // * null, when called from a standard error constructor. We unconditionally
|
| - // skip the top frame, which is always a builtin-exit frame for the error
|
| - // constructor builtin.
|
| - // * a JSFunction, when called by the user from Error.captureStackTrace().
|
| - // We skip each frame until encountering the caller function.
|
| - // * For any other value, all frames are included in the trace.
|
| switch (mode_) {
|
| case SKIP_FIRST:
|
| - DCHECK(caller_.is_null());
|
| skip_next_frame_ = true;
|
| break;
|
| case SKIP_UNTIL_SEEN:
|
|
|