| Index: src/top.cc
|
| diff --git a/src/top.cc b/src/top.cc
|
| index aa0c58e9101c3cc72b8a47aedbe7070cb029bcd6..ed4cb4257d3da587a0d75dbdd2e213de82adcd25 100644
|
| --- a/src/top.cc
|
| +++ b/src/top.cc
|
| @@ -668,26 +668,6 @@ Object* Top::PromoteScheduledException() {
|
| }
|
|
|
|
|
| -// NOTE: The stack trace frame iterator is an iterator that only
|
| -// traverse proper JavaScript frames; that is JavaScript frames that
|
| -// have proper JavaScript functions. This excludes the problematic
|
| -// functions in runtime.js.
|
| -class StackTraceFrameIterator: public JavaScriptFrameIterator {
|
| - public:
|
| - StackTraceFrameIterator() {
|
| - if (!done() && !frame()->function()->IsJSFunction()) Advance();
|
| - }
|
| -
|
| - void Advance() {
|
| - while (true) {
|
| - JavaScriptFrameIterator::Advance();
|
| - if (done()) return;
|
| - if (frame()->function()->IsJSFunction()) return;
|
| - }
|
| - }
|
| -};
|
| -
|
| -
|
| void Top::PrintCurrentStackTrace(FILE* out) {
|
| StackTraceFrameIterator it;
|
| while (!it.done()) {
|
|
|