OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_MIPS | 7 #if V8_TARGET_ARCH_MIPS |
8 | 8 |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
| 10 #include "src/frames.h" |
| 11 #include "src/mips/assembler-mips-inl.h" |
10 #include "src/mips/assembler-mips.h" | 12 #include "src/mips/assembler-mips.h" |
11 #include "src/mips/assembler-mips-inl.h" | |
12 #include "src/frames.h" | |
13 | 13 |
14 namespace v8 { | 14 namespace v8 { |
15 namespace internal { | 15 namespace internal { |
16 | 16 |
17 | 17 |
18 Register JavaScriptFrame::fp_register() { return v8::internal::fp; } | 18 Register JavaScriptFrame::fp_register() { return v8::internal::fp; } |
19 Register JavaScriptFrame::context_register() { return cp; } | 19 Register JavaScriptFrame::context_register() { return cp; } |
20 Register JavaScriptFrame::constant_pool_pointer_register() { | 20 Register JavaScriptFrame::constant_pool_pointer_register() { |
21 UNREACHABLE(); | 21 UNREACHABLE(); |
22 return no_reg; | 22 return no_reg; |
(...skipping 10 matching lines...) Expand all Loading... |
33 | 33 |
34 Object*& ExitFrame::constant_pool_slot() const { | 34 Object*& ExitFrame::constant_pool_slot() const { |
35 UNREACHABLE(); | 35 UNREACHABLE(); |
36 return Memory::Object_at(NULL); | 36 return Memory::Object_at(NULL); |
37 } | 37 } |
38 | 38 |
39 | 39 |
40 } } // namespace v8::internal | 40 } } // namespace v8::internal |
41 | 41 |
42 #endif // V8_TARGET_ARCH_MIPS | 42 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |