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

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

Issue 1320006: Updates and fixes for MIPS support. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 7 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 } 62 }
63 // Fill in the state. 63 // Fill in the state.
64 state->sp = sp; 64 state->sp = sp;
65 state->fp = fp; 65 state->fp = fp;
66 state->pc_address = reinterpret_cast<Address*>(sp - 1 * kPointerSize); 66 state->pc_address = reinterpret_cast<Address*>(sp - 1 * kPointerSize);
67 return EXIT; 67 return EXIT;
68 } 68 }
69 69
70 70
71 void ExitFrame::Iterate(ObjectVisitor* v) const { 71 void ExitFrame::Iterate(ObjectVisitor* v) const {
72 // Do nothing 72 UNIMPLEMENTED_MIPS();
73 } 73 }
74 74
75 75
76 int JavaScriptFrame::GetProvidedParametersCount() const { 76 int JavaScriptFrame::GetProvidedParametersCount() const {
77 return ComputeParametersCount(); 77 return ComputeParametersCount();
78 } 78 }
79 79
80 80
81 Address JavaScriptFrame::GetCallerStackPointer() const { 81 Address JavaScriptFrame::GetCallerStackPointer() const {
82 UNIMPLEMENTED_MIPS(); 82 UNIMPLEMENTED_MIPS();
83 return static_cast<Address>(NULL); // UNIMPLEMENTED RETURN 83 return static_cast<Address>(NULL); // UNIMPLEMENTED RETURN
84 } 84 }
85 85
86 86
87 Address ArgumentsAdaptorFrame::GetCallerStackPointer() const { 87 Address ArgumentsAdaptorFrame::GetCallerStackPointer() const {
88 UNIMPLEMENTED_MIPS(); 88 UNIMPLEMENTED_MIPS();
89 return static_cast<Address>(NULL); // UNIMPLEMENTED RETURN 89 return static_cast<Address>(NULL); // UNIMPLEMENTED RETURN
90 } 90 }
91 91
92 92
93 Address InternalFrame::GetCallerStackPointer() const { 93 Address InternalFrame::GetCallerStackPointer() const {
94 return fp() + StandardFrameConstants::kCallerSPOffset; 94 return fp() + StandardFrameConstants::kCallerSPOffset;
95 } 95 }
96 96
97 97
98 } } // namespace v8::internal 98 } } // namespace v8::internal
99 99
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698