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

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

Issue 8271007: Porting r9605 to x64 (elements kind conversion in generated code). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed a bunch of issues and included suggestions. Created 9 years, 2 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/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 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 offset + kHeapObjectTag, 249 offset + kHeapObjectTag,
250 value, 250 value,
251 scratch, 251 scratch,
252 save_fp, 252 save_fp,
253 remembered_set_action, 253 remembered_set_action,
254 smi_check); 254 smi_check);
255 } 255 }
256 256
257 // Notify the garbage collector that we wrote a pointer into a fixed array. 257 // Notify the garbage collector that we wrote a pointer into a fixed array.
258 // |array| is the array being stored into, |value| is the 258 // |array| is the array being stored into, |value| is the
259 // object being stored. |index| is the array index represented as a 259 // object being stored. |index| is the array index represented as a non-smi.
260 // Smi. All registers are clobbered by the operation RecordWriteArray 260 // All registers are clobbered by the operation RecordWriteArray
261 // filters out smis so it does not update the write barrier if the 261 // filters out smis so it does not update the write barrier if the
262 // value is a smi. 262 // value is a smi.
263 void RecordWriteArray( 263 void RecordWriteArray(
264 Register array, 264 Register array,
265 Register value, 265 Register value,
266 Register index, 266 Register index,
267 SaveFPRegsMode save_fp, 267 SaveFPRegsMode save_fp,
268 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, 268 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET,
269 SmiCheck smi_check = INLINE_SMI_CHECK); 269 SmiCheck smi_check = INLINE_SMI_CHECK);
270 270
(...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after
1442 masm->popfd(); \ 1442 masm->popfd(); \
1443 } \ 1443 } \
1444 masm-> 1444 masm->
1445 #else 1445 #else
1446 #define ACCESS_MASM(masm) masm-> 1446 #define ACCESS_MASM(masm) masm->
1447 #endif 1447 #endif
1448 1448
1449 } } // namespace v8::internal 1449 } } // namespace v8::internal
1450 1450
1451 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1451 #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