| 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 22 matching lines...) Expand all Loading... |
| 33 #include "v8memory.h" | 33 #include "v8memory.h" |
| 34 | 34 |
| 35 #if V8_TARGET_ARCH_IA32 | 35 #if V8_TARGET_ARCH_IA32 |
| 36 #include "ia32/frames-ia32.h" | 36 #include "ia32/frames-ia32.h" |
| 37 #elif V8_TARGET_ARCH_X64 | 37 #elif V8_TARGET_ARCH_X64 |
| 38 #include "x64/frames-x64.h" | 38 #include "x64/frames-x64.h" |
| 39 #elif V8_TARGET_ARCH_ARM | 39 #elif V8_TARGET_ARCH_ARM |
| 40 #include "arm/frames-arm.h" | 40 #include "arm/frames-arm.h" |
| 41 #elif V8_TARGET_ARCH_MIPS | 41 #elif V8_TARGET_ARCH_MIPS |
| 42 #include "mips/frames-mips.h" | 42 #include "mips/frames-mips.h" |
| 43 #elif V8_TARGET_ARCH_SH4 |
| 44 #include "sh4/frames-sh4.h" |
| 43 #else | 45 #else |
| 44 #error Unsupported target architecture. | 46 #error Unsupported target architecture. |
| 45 #endif | 47 #endif |
| 46 | 48 |
| 47 namespace v8 { | 49 namespace v8 { |
| 48 namespace internal { | 50 namespace internal { |
| 49 | 51 |
| 50 | 52 |
| 51 inline Address StackHandler::address() const { | 53 inline Address StackHandler::address() const { |
| 52 return reinterpret_cast<Address>(const_cast<StackHandler*>(this)); | 54 return reinterpret_cast<Address>(const_cast<StackHandler*>(this)); |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 template<typename Iterator> | 321 template<typename Iterator> |
| 320 void JavaScriptFrameIteratorTemp<Iterator>::Reset() { | 322 void JavaScriptFrameIteratorTemp<Iterator>::Reset() { |
| 321 iterator_.Reset(); | 323 iterator_.Reset(); |
| 322 if (!done()) Advance(); | 324 if (!done()) Advance(); |
| 323 } | 325 } |
| 324 | 326 |
| 325 | 327 |
| 326 } } // namespace v8::internal | 328 } } // namespace v8::internal |
| 327 | 329 |
| 328 #endif // V8_FRAMES_INL_H_ | 330 #endif // V8_FRAMES_INL_H_ |
| OLD | NEW |