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

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

Issue 291153005: Consistently say 'own' property (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add new files Created 6 years, 7 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/scopes.cc ('k') | src/v8natives.js » ('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 "v8.h" 5 #include "v8.h"
6 6
7 #include "api.h" 7 #include "api.h"
8 #include "arguments.h" 8 #include "arguments.h"
9 #include "ast.h" 9 #include "ast.h"
10 #include "code-stubs.h" 10 #include "code-stubs.h"
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 Handle<Name> name) { 752 Handle<Name> name) {
753 return (FLAG_print_code_stubs && !name.is_null() && name->IsString()) 753 return (FLAG_print_code_stubs && !name.is_null() && name->IsString())
754 ? GetCodeWithFlags(flags, Handle<String>::cast(name)->ToCString().get()) 754 ? GetCodeWithFlags(flags, Handle<String>::cast(name)->ToCString().get())
755 : GetCodeWithFlags(flags, NULL); 755 : GetCodeWithFlags(flags, NULL);
756 } 756 }
757 757
758 758
759 void StubCompiler::LookupPostInterceptor(Handle<JSObject> holder, 759 void StubCompiler::LookupPostInterceptor(Handle<JSObject> holder,
760 Handle<Name> name, 760 Handle<Name> name,
761 LookupResult* lookup) { 761 LookupResult* lookup) {
762 holder->LocalLookupRealNamedProperty(name, lookup); 762 holder->LookupOwnRealNamedProperty(name, lookup);
763 if (lookup->IsFound()) return; 763 if (lookup->IsFound()) return;
764 if (holder->GetPrototype()->IsNull()) return; 764 if (holder->GetPrototype()->IsNull()) return;
765 holder->GetPrototype()->Lookup(name, lookup); 765 holder->GetPrototype()->Lookup(name, lookup);
766 } 766 }
767 767
768 768
769 #define __ ACCESS_MASM(masm()) 769 #define __ ACCESS_MASM(masm())
770 770
771 771
772 Register LoadStubCompiler::HandlerFrontendHeader( 772 Register LoadStubCompiler::HandlerFrontendHeader(
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
1481 Handle<FunctionTemplateInfo>( 1481 Handle<FunctionTemplateInfo>(
1482 FunctionTemplateInfo::cast(signature->receiver())); 1482 FunctionTemplateInfo::cast(signature->receiver()));
1483 } 1483 }
1484 } 1484 }
1485 1485
1486 is_simple_api_call_ = true; 1486 is_simple_api_call_ = true;
1487 } 1487 }
1488 1488
1489 1489
1490 } } // namespace v8::internal 1490 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/scopes.cc ('k') | src/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698