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

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

Issue 429053005: Avoid one repeated property lookup when computing load ICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebased 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/objects.cc ('k') | src/x64/stub-cache-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 #ifndef V8_STUB_CACHE_H_ 5 #ifndef V8_STUB_CACHE_H_
6 #define V8_STUB_CACHE_H_ 6 #define V8_STUB_CACHE_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/arguments.h" 9 #include "src/arguments.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 const CallOptimization& call_optimization); 471 const CallOptimization& call_optimization);
472 472
473 Handle<Code> CompileLoadConstant(Handle<Name> name, Handle<Object> value); 473 Handle<Code> CompileLoadConstant(Handle<Name> name, Handle<Object> value);
474 474
475 Handle<Code> CompileLoadInterceptor(Handle<Name> name); 475 Handle<Code> CompileLoadInterceptor(Handle<Name> name);
476 476
477 Handle<Code> CompileLoadViaGetter(Handle<Name> name, 477 Handle<Code> CompileLoadViaGetter(Handle<Name> name,
478 Handle<JSFunction> getter); 478 Handle<JSFunction> getter);
479 479
480 Handle<Code> CompileLoadGlobal(Handle<PropertyCell> cell, Handle<Name> name, 480 Handle<Code> CompileLoadGlobal(Handle<PropertyCell> cell, Handle<Name> name,
481 bool is_dont_delete); 481 bool is_configurable);
482 482
483 // Static interface 483 // Static interface
484 static Handle<Code> ComputeLoadNonexistent(Handle<Name> name, 484 static Handle<Code> ComputeLoadNonexistent(Handle<Name> name,
485 Handle<HeapType> type); 485 Handle<HeapType> type);
486 486
487 static void GenerateLoadViaGetter(MacroAssembler* masm, Handle<HeapType> type, 487 static void GenerateLoadViaGetter(MacroAssembler* masm, Handle<HeapType> type,
488 Register receiver, 488 Register receiver,
489 Handle<JSFunction> getter); 489 Handle<JSFunction> getter);
490 490
491 static void GenerateLoadViaGetterForDeopt(MacroAssembler* masm) { 491 static void GenerateLoadViaGetterForDeopt(MacroAssembler* masm) {
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 Handle<JSFunction> constant_function_; 713 Handle<JSFunction> constant_function_;
714 bool is_simple_api_call_; 714 bool is_simple_api_call_;
715 Handle<FunctionTemplateInfo> expected_receiver_type_; 715 Handle<FunctionTemplateInfo> expected_receiver_type_;
716 Handle<CallHandlerInfo> api_call_info_; 716 Handle<CallHandlerInfo> api_call_info_;
717 }; 717 };
718 718
719 719
720 } } // namespace v8::internal 720 } } // namespace v8::internal
721 721
722 #endif // V8_STUB_CACHE_H_ 722 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/x64/stub-cache-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698