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 3 // found in the LICENSE file. 4 5 6 #include "src/v8.h" 7 8 #if V8_TARGET_ARCH_MIPS64 9 10 #include "src/assembler.h" 11 #include "src/frames.h" 12 #include "src/mips64/assembler-mips64-inl.h" 13 #include "src/mips64/assembler-mips64.h" 14 15 namespace v8 { 16 namespace internal { 17 18 19 Register JavaScriptFrame::fp_register() { return v8::internal::fp; } 20 Register JavaScriptFrame::context_register() { return cp; } 21 Register JavaScriptFrame::constant_pool_pointer_register() { 22 UNREACHABLE(); 23 return no_reg; 24 } 25 26 27 Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; } 28 Register StubFailureTrampolineFrame::context_register() { return cp; } 29 Register StubFailureTrampolineFrame::constant_pool_pointer_register() { 30 UNREACHABLE(); 31 return no_reg; 32 } 33 34 35 Object*& ExitFrame::constant_pool_slot() const { 36 UNREACHABLE(); 37 return Memory::Object_at(NULL); 38 } 39 40 41 } } // namespace v8::internal 42 43 #endif // V8_TARGET_ARCH_MIPS64 44