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

Side by Side Diff: src/x87/ic-x87.cc

Issue 426083006: X87: Clean up name distinction between Keyed ICs and Element Handlers (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@bleeding_edge
Patch Set: Created 6 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 | « no previous file | src/x87/macro-assembler-x87.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_X87 7 #if V8_TARGET_ARCH_X87
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/ic-inl.h" 10 #include "src/ic-inl.h"
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 __ cmp(scratch, Immediate(1 << Map::kHasIndexedInterceptor)); 572 __ cmp(scratch, Immediate(1 << Map::kHasIndexedInterceptor));
573 __ j(not_zero, &slow); 573 __ j(not_zero, &slow);
574 574
575 // Everything is fine, call runtime. 575 // Everything is fine, call runtime.
576 __ pop(scratch); 576 __ pop(scratch);
577 __ push(receiver); // receiver 577 __ push(receiver); // receiver
578 __ push(key); // key 578 __ push(key); // key
579 __ push(scratch); // return address 579 __ push(scratch); // return address
580 580
581 // Perform tail call to the entry. 581 // Perform tail call to the entry.
582 ExternalReference ref = 582 ExternalReference ref = ExternalReference(
583 ExternalReference(IC_Utility(kKeyedLoadPropertyWithInterceptor), 583 IC_Utility(kLoadElementWithInterceptor), masm->isolate());
584 masm->isolate());
585 __ TailCallExternalReference(ref, 2, 1); 584 __ TailCallExternalReference(ref, 2, 1);
586 585
587 __ bind(&slow); 586 __ bind(&slow);
588 GenerateMiss(masm); 587 GenerateMiss(masm);
589 } 588 }
590 589
591 590
592 void KeyedLoadIC::GenerateSloppyArguments(MacroAssembler* masm) { 591 void KeyedLoadIC::GenerateSloppyArguments(MacroAssembler* masm) {
593 // The return address is on the stack. 592 // The return address is on the stack.
594 Register receiver = ReceiverRegister(); 593 Register receiver = ReceiverRegister();
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
1218 Condition cc = (check == ENABLE_INLINED_SMI_CHECK) 1217 Condition cc = (check == ENABLE_INLINED_SMI_CHECK)
1219 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) 1218 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero)
1220 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); 1219 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry);
1221 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); 1220 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc);
1222 } 1221 }
1223 1222
1224 1223
1225 } } // namespace v8::internal 1224 } } // namespace v8::internal
1226 1225
1227 #endif // V8_TARGET_ARCH_X87 1226 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « no previous file | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698