OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "deoptimizer.h" | 31 #include "deoptimizer.h" |
32 #include "frames-inl.h" | 32 #include "frames-inl.h" |
33 #include "full-codegen.h" | 33 #include "full-codegen.h" |
34 #include "lazy-instance.h" | 34 #include "lazy-instance.h" |
35 #include "mark-compact.h" | 35 #include "mark-compact.h" |
36 #include "safepoint-table.h" | 36 #include "safepoint-table.h" |
37 #include "scopeinfo.h" | 37 #include "scopeinfo.h" |
38 #include "string-stream.h" | 38 #include "string-stream.h" |
39 #include "vm-state-inl.h" | 39 #include "vm-state-inl.h" |
40 | 40 |
41 #include "allocation-inl.h" | |
42 | |
43 namespace v8 { | 41 namespace v8 { |
44 namespace internal { | 42 namespace internal { |
45 | 43 |
46 | 44 |
47 ReturnAddressLocationResolver | 45 ReturnAddressLocationResolver |
48 StackFrame::return_address_location_resolver_ = NULL; | 46 StackFrame::return_address_location_resolver_ = NULL; |
49 | 47 |
50 | 48 |
51 // Iterator that supports traversing the stack handlers of a | 49 // Iterator that supports traversing the stack handlers of a |
52 // particular frame. Needs to know the top of the handler chain. | 50 // particular frame. Needs to know the top of the handler chain. |
(...skipping 1579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1632 ZoneList<StackFrame*> list(10, zone); | 1630 ZoneList<StackFrame*> list(10, zone); |
1633 for (StackFrameIterator it(isolate); !it.done(); it.Advance()) { | 1631 for (StackFrameIterator it(isolate); !it.done(); it.Advance()) { |
1634 StackFrame* frame = AllocateFrameCopy(it.frame(), zone); | 1632 StackFrame* frame = AllocateFrameCopy(it.frame(), zone); |
1635 list.Add(frame, zone); | 1633 list.Add(frame, zone); |
1636 } | 1634 } |
1637 return list.ToVector(); | 1635 return list.ToVector(); |
1638 } | 1636 } |
1639 | 1637 |
1640 | 1638 |
1641 } } // namespace v8::internal | 1639 } } // namespace v8::internal |
OLD | NEW |