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

Side by Side Diff: src/x64/stub-cache-x64.cc

Issue 5986014: Remove RecordWriteStub from X64 and ARM platforms. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 11 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/codegen-x64.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 1241
1242 __ JumpIfNotSmi(rcx, &with_write_barrier); 1242 __ JumpIfNotSmi(rcx, &with_write_barrier);
1243 1243
1244 __ bind(&exit); 1244 __ bind(&exit);
1245 __ ret((argc + 1) * kPointerSize); 1245 __ ret((argc + 1) * kPointerSize);
1246 1246
1247 __ bind(&with_write_barrier); 1247 __ bind(&with_write_barrier);
1248 1248
1249 __ InNewSpace(rbx, rcx, equal, &exit); 1249 __ InNewSpace(rbx, rcx, equal, &exit);
1250 1250
1251 RecordWriteStub stub(rbx, rdx, rcx); 1251 __ RecordWriteHelper(rbx, rdx, rcx);
1252 __ CallStub(&stub);
1253 1252
1254 __ ret((argc + 1) * kPointerSize); 1253 __ ret((argc + 1) * kPointerSize);
1255 1254
1256 __ bind(&attempt_to_grow_elements); 1255 __ bind(&attempt_to_grow_elements);
1257 if (!FLAG_inline_new) { 1256 if (!FLAG_inline_new) {
1258 __ jmp(&call_builtin); 1257 __ jmp(&call_builtin);
1259 } 1258 }
1260 1259
1261 ExternalReference new_space_allocation_top = 1260 ExternalReference new_space_allocation_top =
1262 ExternalReference::new_space_allocation_top_address(); 1261 ExternalReference::new_space_allocation_top_address();
(...skipping 1855 matching lines...) Expand 10 before | Expand all | Expand 10 after
3118 // Return the generated code. 3117 // Return the generated code.
3119 return GetCode(); 3118 return GetCode();
3120 } 3119 }
3121 3120
3122 3121
3123 #undef __ 3122 #undef __
3124 3123
3125 } } // namespace v8::internal 3124 } } // namespace v8::internal
3126 3125
3127 #endif // V8_TARGET_ARCH_X64 3126 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698