| Index: src/runtime.cc
|
| ===================================================================
|
| --- src/runtime.cc (revision 1718)
|
| +++ src/runtime.cc (working copy)
|
| @@ -5928,8 +5928,8 @@
|
| if (result->IsFailure()) return result;
|
|
|
| static const int kMaxCFramesSize = 200;
|
| - OS::StackFrame frames[kMaxCFramesSize];
|
| - int frames_count = OS::StackWalk(frames, kMaxCFramesSize);
|
| + ScopedVector<OS::StackFrame> frames(kMaxCFramesSize);
|
| + int frames_count = OS::StackWalk(frames);
|
| if (frames_count == OS::kStackWalkError) {
|
| return Heap::undefined_value();
|
| }
|
|
|