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

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

Issue 300283002: Introduce FieldIndex to unify and abstract property/field offset (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix mutable boxed double runtime function Created 6 years, 6 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/string-stream.cc ('k') | src/stub-cache.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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 ExtraICState extra_ic_state = kNoExtraICState, 511 ExtraICState extra_ic_state = kNoExtraICState,
512 InlineCacheHolderFlag cache_holder = OWN_MAP, 512 InlineCacheHolderFlag cache_holder = OWN_MAP,
513 Code::Kind kind = Code::LOAD_IC) 513 Code::Kind kind = Code::LOAD_IC)
514 : BaseLoadStoreStubCompiler(isolate, kind, extra_ic_state, 514 : BaseLoadStoreStubCompiler(isolate, kind, extra_ic_state,
515 cache_holder) { } 515 cache_holder) { }
516 virtual ~LoadStubCompiler() { } 516 virtual ~LoadStubCompiler() { }
517 517
518 Handle<Code> CompileLoadField(Handle<HeapType> type, 518 Handle<Code> CompileLoadField(Handle<HeapType> type,
519 Handle<JSObject> holder, 519 Handle<JSObject> holder,
520 Handle<Name> name, 520 Handle<Name> name,
521 PropertyIndex index, 521 FieldIndex index,
522 Representation representation); 522 Representation representation);
523 523
524 Handle<Code> CompileLoadCallback(Handle<HeapType> type, 524 Handle<Code> CompileLoadCallback(Handle<HeapType> type,
525 Handle<JSObject> holder, 525 Handle<JSObject> holder,
526 Handle<Name> name, 526 Handle<Name> name,
527 Handle<ExecutableAccessorInfo> callback); 527 Handle<ExecutableAccessorInfo> callback);
528 528
529 Handle<Code> CompileLoadCallback(Handle<HeapType> type, 529 Handle<Code> CompileLoadCallback(Handle<HeapType> type,
530 Handle<JSObject> holder, 530 Handle<JSObject> holder,
531 Handle<Name> name, 531 Handle<Name> name,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 Register object_reg, 582 Register object_reg,
583 Handle<JSObject> holder, 583 Handle<JSObject> holder,
584 Handle<Name> name, 584 Handle<Name> name,
585 Handle<Object> callback); 585 Handle<Object> callback);
586 void NonexistentHandlerFrontend(Handle<HeapType> type, 586 void NonexistentHandlerFrontend(Handle<HeapType> type,
587 Handle<JSObject> last, 587 Handle<JSObject> last,
588 Handle<Name> name); 588 Handle<Name> name);
589 589
590 void GenerateLoadField(Register reg, 590 void GenerateLoadField(Register reg,
591 Handle<JSObject> holder, 591 Handle<JSObject> holder,
592 PropertyIndex field, 592 FieldIndex field,
593 Representation representation); 593 Representation representation);
594 void GenerateLoadConstant(Handle<Object> value); 594 void GenerateLoadConstant(Handle<Object> value);
595 void GenerateLoadCallback(Register reg, 595 void GenerateLoadCallback(Register reg,
596 Handle<ExecutableAccessorInfo> callback); 596 Handle<ExecutableAccessorInfo> callback);
597 void GenerateLoadCallback(const CallOptimization& call_optimization, 597 void GenerateLoadCallback(const CallOptimization& call_optimization,
598 Handle<Map> receiver_map); 598 Handle<Map> receiver_map);
599 void GenerateLoadInterceptor(Register holder_reg, 599 void GenerateLoadInterceptor(Register holder_reg,
600 Handle<Object> object, 600 Handle<Object> object,
601 Handle<JSObject> holder, 601 Handle<JSObject> holder,
602 LookupResult* lookup, 602 LookupResult* lookup,
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 Handle<JSFunction> constant_function_; 826 Handle<JSFunction> constant_function_;
827 bool is_simple_api_call_; 827 bool is_simple_api_call_;
828 Handle<FunctionTemplateInfo> expected_receiver_type_; 828 Handle<FunctionTemplateInfo> expected_receiver_type_;
829 Handle<CallHandlerInfo> api_call_info_; 829 Handle<CallHandlerInfo> api_call_info_;
830 }; 830 };
831 831
832 832
833 } } // namespace v8::internal 833 } } // namespace v8::internal
834 834
835 #endif // V8_STUB_CACHE_H_ 835 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/string-stream.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698