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

Side by Side Diff: v8/src/virtual-frame-arm.h

Issue 11229: Experimental: change the name of the VirtualFrame function Push to... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: Created 12 years, 1 month 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 | « v8/src/codegen-ia32.cc ('k') | v8/src/virtual-frame-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 2008 the V8 project authors. All rights reserved. 1 // Copyright 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 // excepting possibly the stack pointer. 151 // excepting possibly the stack pointer.
152 void Drop(int count); 152 void Drop(int count);
153 153
154 // Drop one element. 154 // Drop one element.
155 void Drop(); 155 void Drop();
156 156
157 // Pop and save an element from the top of the expression stack. May emit 157 // Pop and save an element from the top of the expression stack. May emit
158 // code. 158 // code.
159 void Pop(Register reg); 159 void Pop(Register reg);
160 160
161 // Push an element on top of the expression stack. May emit code. 161 // Push an element on top of the expression stack and emit a corresponding
162 void Push(Register reg); 162 // push instruction.
163 void EmitPush(Register reg);
163 164
164 private: 165 private:
165 static const int kLocal0Offset = JavaScriptFrameConstants::kLocal0Offset; 166 static const int kLocal0Offset = JavaScriptFrameConstants::kLocal0Offset;
166 static const int kFunctionOffset = JavaScriptFrameConstants::kFunctionOffset; 167 static const int kFunctionOffset = JavaScriptFrameConstants::kFunctionOffset;
167 static const int kContextOffset = StandardFrameConstants::kContextOffset; 168 static const int kContextOffset = StandardFrameConstants::kContextOffset;
168 169
169 static const int kHandlerSize = StackHandlerConstants::kSize / kPointerSize; 170 static const int kHandlerSize = StackHandlerConstants::kSize / kPointerSize;
170 171
171 MacroAssembler* masm_; 172 MacroAssembler* masm_;
172 173
(...skipping 15 matching lines...) Expand all
188 int local0_index() const { return param0_index() + parameter_count_ + 4; } 189 int local0_index() const { return param0_index() + parameter_count_ + 4; }
189 190
190 // The index of the base of the expression stack. 191 // The index of the base of the expression stack.
191 int expression_base_index() const { return local0_index() + local_count_; } 192 int expression_base_index() const { return local0_index() + local_count_; }
192 }; 193 };
193 194
194 195
195 } } // namespace v8::internal 196 } } // namespace v8::internal
196 197
197 #endif // V8_VIRTUAL_FRAME_ARM_H_ 198 #endif // V8_VIRTUAL_FRAME_ARM_H_
OLDNEW
« no previous file with comments | « v8/src/codegen-ia32.cc ('k') | v8/src/virtual-frame-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698