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

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

Issue 424743002: Clean up name distinction between Keyed ICs and Element Handlers (Closed) Base URL: https://v8.googlecode.com/svn/branches/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 | Annotate | Revision Log
« no previous file with comments | « src/stub-cache.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 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_X64 7 #if V8_TARGET_ARCH_X64
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 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 __ j(not_zero, &slow); 500 __ j(not_zero, &slow);
501 501
502 // Everything is fine, call runtime. 502 // Everything is fine, call runtime.
503 __ PopReturnAddressTo(scratch); 503 __ PopReturnAddressTo(scratch);
504 __ Push(receiver); // receiver 504 __ Push(receiver); // receiver
505 __ Push(key); // key 505 __ Push(key); // key
506 __ PushReturnAddressFrom(scratch); 506 __ PushReturnAddressFrom(scratch);
507 507
508 // Perform tail call to the entry. 508 // Perform tail call to the entry.
509 __ TailCallExternalReference( 509 __ TailCallExternalReference(
510 ExternalReference(IC_Utility(kKeyedLoadPropertyWithInterceptor), 510 ExternalReference(IC_Utility(kLoadElementWithInterceptor),
511 masm->isolate()), 511 masm->isolate()),
512 2, 512 2, 1);
513 1);
514 513
515 __ bind(&slow); 514 __ bind(&slow);
516 GenerateMiss(masm); 515 GenerateMiss(masm);
517 } 516 }
518 517
519 518
520 static void KeyedStoreGenerateGenericHelper( 519 static void KeyedStoreGenerateGenericHelper(
521 MacroAssembler* masm, 520 MacroAssembler* masm,
522 Label* fast_object, 521 Label* fast_object,
523 Label* fast_double, 522 Label* fast_double,
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 Condition cc = (check == ENABLE_INLINED_SMI_CHECK) 1243 Condition cc = (check == ENABLE_INLINED_SMI_CHECK)
1245 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) 1244 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero)
1246 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); 1245 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry);
1247 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); 1246 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc);
1248 } 1247 }
1249 1248
1250 1249
1251 } } // namespace v8::internal 1250 } } // namespace v8::internal
1252 1251
1253 #endif // V8_TARGET_ARCH_X64 1252 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/stub-cache.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698