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

Side by Side Diff: src/ic/ic.h

Issue 1416493007: [turbofan] Implement the implicit ToObject for property access. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/ic/ic-inl.h » ('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_IC_H_ 5 #ifndef V8_IC_H_
6 #define V8_IC_H_ 6 #define V8_IC_H_
7 7
8 #include "src/ic/ic-state.h" 8 #include "src/ic/ic-state.h"
9 #include "src/macro-assembler.h" 9 #include "src/macro-assembler.h"
10 #include "src/messages.h" 10 #include "src/messages.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 return target()->is_load_stub() || target()->is_keyed_load_stub(); 50 return target()->is_load_stub() || target()->is_keyed_load_stub();
51 } 51 }
52 52
53 bool IsStoreStub() const { 53 bool IsStoreStub() const {
54 return target()->is_store_stub() || target()->is_keyed_store_stub(); 54 return target()->is_store_stub() || target()->is_keyed_store_stub();
55 } 55 }
56 56
57 bool IsCallStub() const { return target()->is_call_stub(); } 57 bool IsCallStub() const { return target()->is_call_stub(); }
58 #endif 58 #endif
59 59
60 static inline JSFunction* GetRootConstructor(Map* receiver_map,
61 Context* native_context);
62 static inline Handle<Map> GetHandlerCacheHolder(Handle<Map> receiver_map, 60 static inline Handle<Map> GetHandlerCacheHolder(Handle<Map> receiver_map,
63 bool receiver_is_holder, 61 bool receiver_is_holder,
64 Isolate* isolate, 62 Isolate* isolate,
65 CacheHolderFlag* flag); 63 CacheHolderFlag* flag);
66 static inline Handle<Map> GetICCacheHolder(Handle<Map> receiver_map, 64 static inline Handle<Map> GetICCacheHolder(Handle<Map> receiver_map,
67 Isolate* isolate, 65 Isolate* isolate,
68 CacheHolderFlag* flag); 66 CacheHolderFlag* flag);
69 67
70 static bool IsCleared(Code* code) { 68 static bool IsCleared(Code* code) {
71 InlineCacheState state = code->ic_state(); 69 InlineCacheState state = code->ic_state();
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 680
683 681
684 // Helper for BinaryOpIC and CompareIC. 682 // Helper for BinaryOpIC and CompareIC.
685 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK }; 683 enum InlinedSmiCheck { ENABLE_INLINED_SMI_CHECK, DISABLE_INLINED_SMI_CHECK };
686 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check); 684 void PatchInlinedSmiCode(Address address, InlinedSmiCheck check);
687 685
688 } // namespace internal 686 } // namespace internal
689 } // namespace v8 687 } // namespace v8
690 688
691 #endif // V8_IC_H_ 689 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/ic/ic-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698