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

Side by Side Diff: src/x64/virtual-frame-x64.h

Issue 115399: Fix build on arm and x64. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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
« no previous file with comments | « src/arm/virtual-frame-arm.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 Operand ElementAt(int index) const { 172 Operand ElementAt(int index) const {
173 return Operand(rsp, index * kPointerSize); 173 return Operand(rsp, index * kPointerSize);
174 } 174 }
175 175
176 // Random-access store to a frame-top relative frame element. The result 176 // Random-access store to a frame-top relative frame element. The result
177 // becomes owned by the frame and is invalidated. 177 // becomes owned by the frame and is invalidated.
178 void SetElementAt(int index, Result* value); 178 void SetElementAt(int index, Result* value);
179 179
180 // Set a frame element to a constant. The index is frame-top relative. 180 // Set a frame element to a constant. The index is frame-top relative.
181 void SetElementAt(int index, Handle<Object> value) { 181 void SetElementAt(int index, Handle<Object> value) {
182 Result temp(value, cgen_); 182 Result temp(value);
183 SetElementAt(index, &temp); 183 SetElementAt(index, &temp);
184 } 184 }
185 185
186 void PushElementAt(int index) { 186 void PushElementAt(int index) {
187 PushFrameSlotAt(elements_.length() - index - 1); 187 PushFrameSlotAt(elements_.length() - index - 1);
188 } 188 }
189 189
190 void StoreToElementAt(int index) { 190 void StoreToElementAt(int index) {
191 StoreToFrameSlotAt(elements_.length() - index - 1); 191 StoreToFrameSlotAt(elements_.length() - index - 1);
192 } 192 }
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 Result RawCallCodeObject(Handle<Code> code, RelocInfo::Mode rmode); 499 Result RawCallCodeObject(Handle<Code> code, RelocInfo::Mode rmode);
500 500
501 bool Equals(VirtualFrame* other); 501 bool Equals(VirtualFrame* other);
502 502
503 friend class JumpTarget; 503 friend class JumpTarget;
504 }; 504 };
505 505
506 } } // namespace v8::internal 506 } } // namespace v8::internal
507 507
508 #endif // V8_X64_VIRTUAL_FRAME_X64_H_ 508 #endif // V8_X64_VIRTUAL_FRAME_X64_H_
OLDNEW
« no previous file with comments | « src/arm/virtual-frame-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698