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

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

Issue 6794050: Revert "[Arguments] Merge (7442,7496] from bleeding_edge." (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/arguments
Patch Set: Created 9 years, 8 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/arm/deoptimizer-arm.cc ('k') | src/arm/full-codegen-arm.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 static const int kCallerFPOffset = 0 * kPointerSize; 129 static const int kCallerFPOffset = 0 * kPointerSize;
130 static const int kCallerPCOffset = 1 * kPointerSize; 130 static const int kCallerPCOffset = 1 * kPointerSize;
131 static const int kCallerSPOffset = 2 * kPointerSize; 131 static const int kCallerSPOffset = 2 * kPointerSize;
132 }; 132 };
133 133
134 134
135 class JavaScriptFrameConstants : public AllStatic { 135 class JavaScriptFrameConstants : public AllStatic {
136 public: 136 public:
137 // FP-relative. 137 // FP-relative.
138 static const int kLocal0Offset = StandardFrameConstants::kExpressionsOffset; 138 static const int kLocal0Offset = StandardFrameConstants::kExpressionsOffset;
139 static const int kLastParameterOffset = +2 * kPointerSize; 139 static const int kSavedRegistersOffset = +2 * kPointerSize;
140 static const int kFunctionOffset = StandardFrameConstants::kMarkerOffset; 140 static const int kFunctionOffset = StandardFrameConstants::kMarkerOffset;
141 141
142 // Caller SP-relative. 142 // Caller SP-relative.
143 static const int kParam0Offset = -2 * kPointerSize; 143 static const int kParam0Offset = -2 * kPointerSize;
144 static const int kReceiverOffset = -1 * kPointerSize; 144 static const int kReceiverOffset = -1 * kPointerSize;
145 }; 145 };
146 146
147 147
148 class ArgumentsAdaptorFrameConstants : public AllStatic { 148 class ArgumentsAdaptorFrameConstants : public AllStatic {
149 public: 149 public:
150 static const int kLengthOffset = StandardFrameConstants::kExpressionsOffset; 150 static const int kLengthOffset = StandardFrameConstants::kExpressionsOffset;
151 }; 151 };
152 152
153 153
154 class InternalFrameConstants : public AllStatic { 154 class InternalFrameConstants : public AllStatic {
155 public: 155 public:
156 static const int kCodeOffset = StandardFrameConstants::kExpressionsOffset; 156 static const int kCodeOffset = StandardFrameConstants::kExpressionsOffset;
157 }; 157 };
158 158
159 159
160 inline Object* JavaScriptFrame::function_slot_object() const { 160 inline Object* JavaScriptFrame::function_slot_object() const {
161 const int offset = JavaScriptFrameConstants::kFunctionOffset; 161 const int offset = JavaScriptFrameConstants::kFunctionOffset;
162 return Memory::Object_at(fp() + offset); 162 return Memory::Object_at(fp() + offset);
163 } 163 }
164 164
165 165
166 } } // namespace v8::internal 166 } } // namespace v8::internal
167 167
168 #endif // V8_ARM_FRAMES_ARM_H_ 168 #endif // V8_ARM_FRAMES_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/deoptimizer-arm.cc ('k') | src/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698