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

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

Issue 430593002: MIPS: 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 | « no previous file | src/mips/macro-assembler-mips.cc » ('j') | src/mips/stub-cache-mips.cc » ('J')
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 5
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS 9 #if V8_TARGET_ARCH_MIPS
10 10
(...skipping 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after
1060 // Check that it has indexed interceptor and access checks 1060 // Check that it has indexed interceptor and access checks
1061 // are not enabled for this object. 1061 // are not enabled for this object.
1062 __ lbu(scratch2, FieldMemOperand(scratch1, Map::kBitFieldOffset)); 1062 __ lbu(scratch2, FieldMemOperand(scratch1, Map::kBitFieldOffset));
1063 __ And(scratch2, scratch2, Operand(kSlowCaseBitFieldMask)); 1063 __ And(scratch2, scratch2, Operand(kSlowCaseBitFieldMask));
1064 __ Branch(&slow, ne, scratch2, Operand(1 << Map::kHasIndexedInterceptor)); 1064 __ Branch(&slow, ne, scratch2, Operand(1 << Map::kHasIndexedInterceptor));
1065 // Everything is fine, call runtime. 1065 // Everything is fine, call runtime.
1066 __ Push(receiver, key); // Receiver, key. 1066 __ Push(receiver, key); // Receiver, key.
1067 1067
1068 // Perform tail call to the entry. 1068 // Perform tail call to the entry.
1069 __ TailCallExternalReference(ExternalReference( 1069 __ TailCallExternalReference(ExternalReference(
1070 IC_Utility(kKeyedLoadPropertyWithInterceptor), masm->isolate()), 2, 1); 1070 IC_Utility(kLoadElementWithInterceptor), masm->isolate()), 2, 1);
1071 1071
1072 __ bind(&slow); 1072 __ bind(&slow);
1073 GenerateMiss(masm); 1073 GenerateMiss(masm);
1074 } 1074 }
1075 1075
1076 1076
1077 void KeyedStoreIC::GenerateMiss(MacroAssembler* masm) { 1077 void KeyedStoreIC::GenerateMiss(MacroAssembler* masm) {
1078 // Push receiver, key and value for runtime call. 1078 // Push receiver, key and value for runtime call.
1079 __ Push(ReceiverRegister(), NameRegister(), ValueRegister()); 1079 __ Push(ReceiverRegister(), NameRegister(), ValueRegister());
1080 1080
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1265 } else { 1265 } else {
1266 ASSERT(Assembler::IsBne(branch_instr)); 1266 ASSERT(Assembler::IsBne(branch_instr));
1267 patcher.ChangeBranchCondition(eq); 1267 patcher.ChangeBranchCondition(eq);
1268 } 1268 }
1269 } 1269 }
1270 1270
1271 1271
1272 } } // namespace v8::internal 1272 } } // namespace v8::internal
1273 1273
1274 #endif // V8_TARGET_ARCH_MIPS 1274 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips/macro-assembler-mips.cc » ('j') | src/mips/stub-cache-mips.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698