| 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" |
| 11 #include "src/v8memory.h" | 11 #include "src/v8memory.h" |
| 12 | 12 |
| 13 #if V8_TARGET_ARCH_IA32 | 13 #if V8_TARGET_ARCH_IA32 |
| 14 #include "src/ia32/frames-ia32.h" // NOLINT | 14 #include "src/ia32/frames-ia32.h" // NOLINT |
| 15 #elif V8_TARGET_ARCH_X64 | 15 #elif V8_TARGET_ARCH_X64 |
| 16 #include "src/x64/frames-x64.h" // NOLINT | 16 #include "src/x64/frames-x64.h" // NOLINT |
| 17 #elif V8_TARGET_ARCH_ARM64 | 17 #elif V8_TARGET_ARCH_ARM64 |
| 18 #include "src/arm64/frames-arm64.h" // NOLINT | 18 #include "src/arm64/frames-arm64.h" // NOLINT |
| 19 #elif V8_TARGET_ARCH_ARM | 19 #elif V8_TARGET_ARCH_ARM |
| 20 #include "src/arm/frames-arm.h" // NOLINT | 20 #include "src/arm/frames-arm.h" // NOLINT |
| 21 #elif V8_TARGET_ARCH_PPC | 21 #elif V8_TARGET_ARCH_PPC |
| 22 #include "src/ppc/frames-ppc.h" // NOLINT | 22 #include "src/ppc/frames-ppc.h" // NOLINT |
| 23 #elif V8_TARGET_ARCH_MIPS | 23 #elif V8_TARGET_ARCH_MIPS |
| 24 #include "src/mips/frames-mips.h" // NOLINT | 24 #include "src/mips/frames-mips.h" // NOLINT |
| 25 #elif V8_TARGET_ARCH_MIPS64 | 25 #elif V8_TARGET_ARCH_MIPS64 |
| 26 #include "src/mips64/frames-mips64.h" // NOLINT | 26 #include "src/mips64/frames-mips64.h" // NOLINT |
| 27 #elif V8_TARGET_ARCH_S390 |
| 28 #include "src/s390/frames-s390.h" // NOLINT |
| 27 #elif V8_TARGET_ARCH_X87 | 29 #elif V8_TARGET_ARCH_X87 |
| 28 #include "src/x87/frames-x87.h" // NOLINT | 30 #include "src/x87/frames-x87.h" // NOLINT |
| 29 #else | 31 #else |
| 30 #error Unsupported target architecture. | 32 #error Unsupported target architecture. |
| 31 #endif | 33 #endif |
| 32 | 34 |
| 33 namespace v8 { | 35 namespace v8 { |
| 34 namespace internal { | 36 namespace internal { |
| 35 | 37 |
| 36 | 38 |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 DCHECK(!done()); | 293 DCHECK(!done()); |
| 292 DCHECK(frame_->is_java_script() || frame_->is_exit()); | 294 DCHECK(frame_->is_java_script() || frame_->is_exit()); |
| 293 return frame_; | 295 return frame_; |
| 294 } | 296 } |
| 295 | 297 |
| 296 | 298 |
| 297 } // namespace internal | 299 } // namespace internal |
| 298 } // namespace v8 | 300 } // namespace v8 |
| 299 | 301 |
| 300 #endif // V8_FRAMES_INL_H_ | 302 #endif // V8_FRAMES_INL_H_ |
| OLD | NEW |