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

Side by Side Diff: src/x64/macro-assembler-x64.h

Issue 160272: X64: Added inline keyed load/store and a bunch of other missing functions. (Closed)
Patch Set: Addressed review comments, and fixed bugs introduced by updating. Created 11 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
« no previous file with comments | « src/x64/ic-x64.cc ('k') | src/x64/macro-assembler-x64.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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 void LoadUnsafeSmi(Register dst, Smi* source); 157 void LoadUnsafeSmi(Register dst, Smi* source);
158 void LoadUnsafeSmi(Register dst, Handle<Object> source) { 158 void LoadUnsafeSmi(Register dst, Handle<Object> source) {
159 LoadUnsafeSmi(dst, Smi::cast(*source)); 159 LoadUnsafeSmi(dst, Smi::cast(*source));
160 } 160 }
161 161
162 void Move(Register dst, Handle<Object> source); 162 void Move(Register dst, Handle<Object> source);
163 void Move(const Operand& dst, Handle<Object> source); 163 void Move(const Operand& dst, Handle<Object> source);
164 void Cmp(Register dst, Handle<Object> source); 164 void Cmp(Register dst, Handle<Object> source);
165 void Cmp(const Operand& dst, Handle<Object> source); 165 void Cmp(const Operand& dst, Handle<Object> source);
166 void Push(Handle<Object> source); 166 void Push(Handle<Object> source);
167 void Push(Smi* smi);
167 168
168 // Control Flow 169 // Control Flow
169 void Jump(Address destination, RelocInfo::Mode rmode); 170 void Jump(Address destination, RelocInfo::Mode rmode);
170 void Jump(ExternalReference ext); 171 void Jump(ExternalReference ext);
171 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); 172 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode);
172 173
173 void Call(Address destination, RelocInfo::Mode rmode); 174 void Call(Address destination, RelocInfo::Mode rmode);
174 void Call(ExternalReference ext); 175 void Call(ExternalReference ext);
175 void Call(Handle<Code> code_object, RelocInfo::Mode rmode); 176 void Call(Handle<Code> code_object, RelocInfo::Mode rmode);
176 177
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 } \ 400 } \
400 masm-> 401 masm->
401 #else 402 #else
402 #define ACCESS_MASM(masm) masm-> 403 #define ACCESS_MASM(masm) masm->
403 #endif 404 #endif
404 405
405 406
406 } } // namespace v8::internal 407 } } // namespace v8::internal
407 408
408 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 409 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/ic-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698