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

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

Issue 7631020: Version 3.5.6. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 9 years, 4 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/messages.js ('k') | src/mips/full-codegen-mips.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 // 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 14, // sp 114 14, // sp
115 15, // fp 115 15, // fp
116 kUndefIndex 116 kUndefIndex
117 }; 117 };
118 118
119 119
120 // ---------------------------------------------------- 120 // ----------------------------------------------------
121 121
122 class StackHandlerConstants : public AllStatic { 122 class StackHandlerConstants : public AllStatic {
123 public: 123 public:
124 static const int kNextOffset = 0 * kPointerSize; 124 static const int kNextOffset = 0 * kPointerSize;
125 static const int kStateOffset = 1 * kPointerSize; 125 static const int kStateOffset = 1 * kPointerSize;
126 static const int kFPOffset = 2 * kPointerSize; 126 static const int kContextOffset = 2 * kPointerSize;
127 static const int kPCOffset = 3 * kPointerSize; 127 static const int kFPOffset = 3 * kPointerSize;
128 static const int kPCOffset = 4 * kPointerSize;
128 129
129 static const int kSize = kPCOffset + kPointerSize; 130 static const int kSize = kPCOffset + kPointerSize;
130 }; 131 };
131 132
132 133
133 class EntryFrameConstants : public AllStatic { 134 class EntryFrameConstants : public AllStatic {
134 public: 135 public:
135 static const int kCallerFPOffset = -3 * kPointerSize; 136 static const int kCallerFPOffset = -3 * kPointerSize;
136 }; 137 };
137 138
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 211
211 inline Object* JavaScriptFrame::function_slot_object() const { 212 inline Object* JavaScriptFrame::function_slot_object() const {
212 const int offset = JavaScriptFrameConstants::kFunctionOffset; 213 const int offset = JavaScriptFrameConstants::kFunctionOffset;
213 return Memory::Object_at(fp() + offset); 214 return Memory::Object_at(fp() + offset);
214 } 215 }
215 216
216 217
217 } } // namespace v8::internal 218 } } // namespace v8::internal
218 219
219 #endif 220 #endif
OLDNEW
« no previous file with comments | « src/messages.js ('k') | src/mips/full-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698