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

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

Issue 253843006: Object::Lookup(), JSObject::*Lookup*() and JSReceiver::*Lookup*() handlified. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressing review comments 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/runtime.cc ('k') | no next file » | 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->LocalLookupRealNamedProperty(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(
773 Handle<HeapType> type, 773 Handle<HeapType> type,
774 Register object_reg, 774 Register object_reg,
775 Handle<JSObject> holder, 775 Handle<JSObject> holder,
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
1484 Handle<FunctionTemplateInfo>( 1484 Handle<FunctionTemplateInfo>(
1485 FunctionTemplateInfo::cast(signature->receiver())); 1485 FunctionTemplateInfo::cast(signature->receiver()));
1486 } 1486 }
1487 } 1487 }
1488 1488
1489 is_simple_api_call_ = true; 1489 is_simple_api_call_ = true;
1490 } 1490 }
1491 1491
1492 1492
1493 } } // namespace v8::internal 1493 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698