| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_RUNTIME_UTILS_H_ | 5 #ifndef V8_RUNTIME_UTILS_H_ |
| 6 #define V8_RUNTIME_UTILS_H_ | 6 #define V8_RUNTIME_UTILS_H_ |
| 7 | 7 |
| 8 | 8 |
| 9 namespace v8 { | 9 namespace v8 { |
| 10 namespace internal { | 10 namespace internal { |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 return reinterpret_cast<uint32_t>(x) | | 133 return reinterpret_cast<uint32_t>(x) | |
| 134 (reinterpret_cast<ObjectPair>(y) << 32); | 134 (reinterpret_cast<ObjectPair>(y) << 32); |
| 135 #elif defined(V8_TARGET_BIG_ENDIAN) | 135 #elif defined(V8_TARGET_BIG_ENDIAN) |
| 136 return reinterpret_cast<uint32_t>(y) | | 136 return reinterpret_cast<uint32_t>(y) | |
| 137 (reinterpret_cast<ObjectPair>(x) << 32); | 137 (reinterpret_cast<ObjectPair>(x) << 32); |
| 138 #else | 138 #else |
| 139 #error Unknown endianness | 139 #error Unknown endianness |
| 140 #endif | 140 #endif |
| 141 } | 141 } |
| 142 #endif | 142 #endif |
| 143 |
| 144 class JavaScriptFrameIterator; |
| 145 |
| 146 int FindIndexedNonNativeFrame(JavaScriptFrameIterator* it, int index); |
| 143 } | 147 } |
| 144 } // namespace v8::internal | 148 } // namespace v8::internal |
| 145 | 149 |
| 146 #endif // V8_RUNTIME_UTILS_H_ | 150 #endif // V8_RUNTIME_UTILS_H_ |
| OLD | NEW |