OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/frames.h" | 5 #include "src/frames.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "src/v8.h" | 9 #include "src/v8.h" |
10 | 10 |
(...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1518 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone) { | 1518 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone) { |
1519 ZoneList<StackFrame*> list(10, zone); | 1519 ZoneList<StackFrame*> list(10, zone); |
1520 for (StackFrameIterator it(isolate); !it.done(); it.Advance()) { | 1520 for (StackFrameIterator it(isolate); !it.done(); it.Advance()) { |
1521 StackFrame* frame = AllocateFrameCopy(it.frame(), zone); | 1521 StackFrame* frame = AllocateFrameCopy(it.frame(), zone); |
1522 list.Add(frame, zone); | 1522 list.Add(frame, zone); |
1523 } | 1523 } |
1524 return list.ToVector(); | 1524 return list.ToVector(); |
1525 } | 1525 } |
1526 | 1526 |
1527 | 1527 |
1528 } } // namespace v8::internal | 1528 } // namespace internal |
| 1529 } // namespace v8 |
OLD | NEW |