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 #ifndef V8_FRAMES_INL_H_ | 5 #ifndef V8_FRAMES_INL_H_ |
6 #define V8_FRAMES_INL_H_ | 6 #define V8_FRAMES_INL_H_ |
7 | 7 |
8 #include "src/frames.h" | 8 #include "src/frames.h" |
9 #include "src/isolate.h" | 9 #include "src/isolate.h" |
10 #include "src/objects-inl.h" | 10 #include "src/objects-inl.h" |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 | 272 |
273 inline StubFailureTrampolineFrame::StubFailureTrampolineFrame( | 273 inline StubFailureTrampolineFrame::StubFailureTrampolineFrame( |
274 StackFrameIteratorBase* iterator) : StandardFrame(iterator) { | 274 StackFrameIteratorBase* iterator) : StandardFrame(iterator) { |
275 } | 275 } |
276 | 276 |
277 | 277 |
278 inline ConstructFrame::ConstructFrame(StackFrameIteratorBase* iterator) | 278 inline ConstructFrame::ConstructFrame(StackFrameIteratorBase* iterator) |
279 : InternalFrame(iterator) { | 279 : InternalFrame(iterator) { |
280 } | 280 } |
281 | 281 |
| 282 inline BuiltinContinuationFrame::BuiltinContinuationFrame( |
| 283 StackFrameIteratorBase* iterator) |
| 284 : InternalFrame(iterator) {} |
| 285 |
282 inline JavaScriptFrameIterator::JavaScriptFrameIterator( | 286 inline JavaScriptFrameIterator::JavaScriptFrameIterator( |
283 Isolate* isolate) | 287 Isolate* isolate) |
284 : iterator_(isolate) { | 288 : iterator_(isolate) { |
285 if (!done()) Advance(); | 289 if (!done()) Advance(); |
286 } | 290 } |
287 | 291 |
288 inline JavaScriptFrameIterator::JavaScriptFrameIterator( | 292 inline JavaScriptFrameIterator::JavaScriptFrameIterator( |
289 Isolate* isolate, ThreadLocalTop* top) | 293 Isolate* isolate, ThreadLocalTop* top) |
290 : iterator_(isolate, top) { | 294 : iterator_(isolate, top) { |
291 if (!done()) Advance(); | 295 if (!done()) Advance(); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 DCHECK(frame_->is_java_script() || frame_->is_exit() || | 327 DCHECK(frame_->is_java_script() || frame_->is_exit() || |
324 frame_->is_builtin_exit()); | 328 frame_->is_builtin_exit()); |
325 return frame_; | 329 return frame_; |
326 } | 330 } |
327 | 331 |
328 | 332 |
329 } // namespace internal | 333 } // namespace internal |
330 } // namespace v8 | 334 } // namespace v8 |
331 | 335 |
332 #endif // V8_FRAMES_INL_H_ | 336 #endif // V8_FRAMES_INL_H_ |
OLD | NEW |