Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(716)

Side by Side Diff: src/mips64/frames-mips64.cc

Issue 371923006: Add mips64 port. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/mips64/frames-mips64.h ('k') | src/mips64/full-codegen-mips64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
5 #include "src/v8.h" 6 #include "src/v8.h"
6 7
7 #if V8_TARGET_ARCH_MIPS 8 #if V8_TARGET_ARCH_MIPS64
8 9
9 #include "src/assembler.h" 10 #include "src/assembler.h"
10 #include "src/frames.h" 11 #include "src/frames.h"
11 #include "src/mips/assembler-mips-inl.h" 12 #include "src/mips64/assembler-mips64-inl.h"
12 #include "src/mips/assembler-mips.h" 13 #include "src/mips64/assembler-mips64.h"
13 14
14 namespace v8 { 15 namespace v8 {
15 namespace internal { 16 namespace internal {
16 17
17 18
18 Register JavaScriptFrame::fp_register() { return v8::internal::fp; } 19 Register JavaScriptFrame::fp_register() { return v8::internal::fp; }
19 Register JavaScriptFrame::context_register() { return cp; } 20 Register JavaScriptFrame::context_register() { return cp; }
20 Register JavaScriptFrame::constant_pool_pointer_register() { 21 Register JavaScriptFrame::constant_pool_pointer_register() {
21 UNREACHABLE(); 22 UNREACHABLE();
22 return no_reg; 23 return no_reg;
23 } 24 }
24 25
25 26
26 Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; } 27 Register StubFailureTrampolineFrame::fp_register() { return v8::internal::fp; }
27 Register StubFailureTrampolineFrame::context_register() { return cp; } 28 Register StubFailureTrampolineFrame::context_register() { return cp; }
28 Register StubFailureTrampolineFrame::constant_pool_pointer_register() { 29 Register StubFailureTrampolineFrame::constant_pool_pointer_register() {
29 UNREACHABLE(); 30 UNREACHABLE();
30 return no_reg; 31 return no_reg;
31 } 32 }
32 33
33 34
34 Object*& ExitFrame::constant_pool_slot() const { 35 Object*& ExitFrame::constant_pool_slot() const {
35 UNREACHABLE(); 36 UNREACHABLE();
36 return Memory::Object_at(NULL); 37 return Memory::Object_at(NULL);
37 } 38 }
38 39
39 40
40 } } // namespace v8::internal 41 } } // namespace v8::internal
41 42
42 #endif // V8_TARGET_ARCH_MIPS 43 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/frames-mips64.h ('k') | src/mips64/full-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698