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

Side by Side Diff: src/mips/stub-cache-mips.cc

Issue 9280007: Replaced LookupResult::IsProperty by LookupResult::IsFound where possible. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 2 fixes Created 8 years, 11 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/mips/lithium-codegen-mips.cc ('k') | src/objects.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after
1197 ASSERT(interceptor_holder->HasNamedInterceptor()); 1197 ASSERT(interceptor_holder->HasNamedInterceptor());
1198 ASSERT(!interceptor_holder->GetNamedInterceptor()->getter()->IsUndefined()); 1198 ASSERT(!interceptor_holder->GetNamedInterceptor()->getter()->IsUndefined());
1199 1199
1200 // Check that the receiver isn't a smi. 1200 // Check that the receiver isn't a smi.
1201 __ JumpIfSmi(receiver, miss); 1201 __ JumpIfSmi(receiver, miss);
1202 1202
1203 // So far the most popular follow ups for interceptor loads are FIELD 1203 // So far the most popular follow ups for interceptor loads are FIELD
1204 // and CALLBACKS, so inline only them, other cases may be added 1204 // and CALLBACKS, so inline only them, other cases may be added
1205 // later. 1205 // later.
1206 bool compile_followup_inline = false; 1206 bool compile_followup_inline = false;
1207 if (lookup->IsProperty() && lookup->IsCacheable()) { 1207 if (lookup->IsFound() && lookup->IsCacheable()) {
1208 if (lookup->type() == FIELD) { 1208 if (lookup->type() == FIELD) {
1209 compile_followup_inline = true; 1209 compile_followup_inline = true;
1210 } else if (lookup->type() == CALLBACKS && 1210 } else if (lookup->type() == CALLBACKS &&
1211 lookup->GetCallbackObject()->IsAccessorInfo()) { 1211 lookup->GetCallbackObject()->IsAccessorInfo()) {
1212 compile_followup_inline = 1212 compile_followup_inline =
1213 AccessorInfo::cast(lookup->GetCallbackObject())->getter() != NULL; 1213 AccessorInfo::cast(lookup->GetCallbackObject())->getter() != NULL;
1214 } 1214 }
1215 } 1215 }
1216 1216
1217 if (compile_followup_inline) { 1217 if (compile_followup_inline) {
(...skipping 3080 matching lines...) Expand 10 before | Expand all | Expand 10 after
4298 Handle<Code> ic_miss = masm->isolate()->builtins()->KeyedStoreIC_Miss(); 4298 Handle<Code> ic_miss = masm->isolate()->builtins()->KeyedStoreIC_Miss();
4299 __ Jump(ic_miss, RelocInfo::CODE_TARGET); 4299 __ Jump(ic_miss, RelocInfo::CODE_TARGET);
4300 } 4300 }
4301 4301
4302 4302
4303 #undef __ 4303 #undef __
4304 4304
4305 } } // namespace v8::internal 4305 } } // namespace v8::internal
4306 4306
4307 #endif // V8_TARGET_ARCH_MIPS 4307 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698