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

Side by Side Diff: src/arm/code-stubs-arm.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 | « no previous file | src/arm64/code-stubs-arm64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_ARM 7 #if V8_TARGET_ARCH_ARM
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 3705 matching lines...) Expand 10 before | Expand all | Expand 10 after
3716 __ push(r2); 3716 __ push(r2);
3717 __ ldr(r2, FieldMemOperand(r2, HeapObject::kMapOffset)); 3717 __ ldr(r2, FieldMemOperand(r2, HeapObject::kMapOffset));
3718 __ LoadRoot(ip, Heap::kAllocationSiteMapRootIndex); 3718 __ LoadRoot(ip, Heap::kAllocationSiteMapRootIndex);
3719 __ cmp(r2, ip); 3719 __ cmp(r2, ip);
3720 __ pop(r2); 3720 __ pop(r2);
3721 __ Assert(eq, kExpectedAllocationSite); 3721 __ Assert(eq, kExpectedAllocationSite);
3722 } 3722 }
3723 3723
3724 // Tail call into the stub that handles binary operations with allocation 3724 // Tail call into the stub that handles binary operations with allocation
3725 // sites. 3725 // sites.
3726 BinaryOpWithAllocationSiteStub stub(isolate(), state_); 3726 BinaryOpWithAllocationSiteStub stub(isolate(), state());
3727 __ TailCallStub(&stub); 3727 __ TailCallStub(&stub);
3728 } 3728 }
3729 3729
3730 3730
3731 void ICCompareStub::GenerateSmis(MacroAssembler* masm) { 3731 void ICCompareStub::GenerateSmis(MacroAssembler* masm) {
3732 DCHECK(state_ == CompareIC::SMI); 3732 DCHECK(state_ == CompareIC::SMI);
3733 Label miss; 3733 Label miss;
3734 __ orr(r2, r1, r0); 3734 __ orr(r2, r1, r0);
3735 __ JumpIfNotSmi(r2, &miss); 3735 __ JumpIfNotSmi(r2, &miss);
3736 3736
(...skipping 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after
5096 MemOperand(fp, 6 * kPointerSize), 5096 MemOperand(fp, 6 * kPointerSize),
5097 NULL); 5097 NULL);
5098 } 5098 }
5099 5099
5100 5100
5101 #undef __ 5101 #undef __
5102 5102
5103 } } // namespace v8::internal 5103 } } // namespace v8::internal
5104 5104
5105 #endif // V8_TARGET_ARCH_ARM 5105 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/code-stubs-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698