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

Side by Side Diff: src/arm64/code-stubs-arm64.cc

Issue 506003002: Minor-key-ify BinaryOpICWithAllocationSiteStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: re-add GetExtraICState() Created 6 years, 3 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/code-stubs-arm.cc ('k') | src/code-stubs.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 4314 matching lines...) Expand 10 before | Expand all | Expand 10 after
4325 // Make sure that we actually patched the allocation site. 4325 // Make sure that we actually patched the allocation site.
4326 if (FLAG_debug_code) { 4326 if (FLAG_debug_code) {
4327 __ AssertNotSmi(x2, kExpectedAllocationSite); 4327 __ AssertNotSmi(x2, kExpectedAllocationSite);
4328 __ Ldr(x10, FieldMemOperand(x2, HeapObject::kMapOffset)); 4328 __ Ldr(x10, FieldMemOperand(x2, HeapObject::kMapOffset));
4329 __ AssertRegisterIsRoot(x10, Heap::kAllocationSiteMapRootIndex, 4329 __ AssertRegisterIsRoot(x10, Heap::kAllocationSiteMapRootIndex,
4330 kExpectedAllocationSite); 4330 kExpectedAllocationSite);
4331 } 4331 }
4332 4332
4333 // Tail call into the stub that handles binary operations with allocation 4333 // Tail call into the stub that handles binary operations with allocation
4334 // sites. 4334 // sites.
4335 BinaryOpWithAllocationSiteStub stub(isolate(), state_); 4335 BinaryOpWithAllocationSiteStub stub(isolate(), state());
4336 __ TailCallStub(&stub); 4336 __ TailCallStub(&stub);
4337 } 4337 }
4338 4338
4339 4339
4340 void RecordWriteStub::GenerateIncremental(MacroAssembler* masm, Mode mode) { 4340 void RecordWriteStub::GenerateIncremental(MacroAssembler* masm, Mode mode) {
4341 // We need some extra registers for this stub, they have been allocated 4341 // We need some extra registers for this stub, they have been allocated
4342 // but we need to save them before using them. 4342 // but we need to save them before using them.
4343 regs_.Save(masm); 4343 regs_.Save(masm);
4344 4344
4345 if (remembered_set_action_ == EMIT_REMEMBERED_SET) { 4345 if (remembered_set_action_ == EMIT_REMEMBERED_SET) {
(...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after
5423 MemOperand(fp, 6 * kPointerSize), 5423 MemOperand(fp, 6 * kPointerSize),
5424 NULL); 5424 NULL);
5425 } 5425 }
5426 5426
5427 5427
5428 #undef __ 5428 #undef __
5429 5429
5430 } } // namespace v8::internal 5430 } } // namespace v8::internal
5431 5431
5432 #endif // V8_TARGET_ARCH_ARM64 5432 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698