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

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

Issue 1168093002: [strong] Implement strong mode restrictions on property access (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 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
« no previous file with comments | « src/ic/ic.cc ('k') | src/ic/ic-compiler.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_IC_COMPILER_H_ 5 #ifndef V8_IC_IC_COMPILER_H_
6 #define V8_IC_IC_COMPILER_H_ 6 #define V8_IC_IC_COMPILER_H_
7 7
8 #include "src/ic/access-compiler.h" 8 #include "src/ic/access-compiler.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 14 matching lines...) Expand all
25 Handle<Map> map, Handle<Code> handler, 25 Handle<Map> map, Handle<Code> handler,
26 ExtraICState extra_ic_state); 26 ExtraICState extra_ic_state);
27 static Handle<Code> ComputePolymorphic(Code::Kind kind, MapHandleList* maps, 27 static Handle<Code> ComputePolymorphic(Code::Kind kind, MapHandleList* maps,
28 CodeHandleList* handlers, 28 CodeHandleList* handlers,
29 int number_of_valid_maps, 29 int number_of_valid_maps,
30 Handle<Name> name, 30 Handle<Name> name,
31 ExtraICState extra_ic_state); 31 ExtraICState extra_ic_state);
32 32
33 // Keyed 33 // Keyed
34 static Handle<Code> ComputeKeyedLoadMonomorphicHandler( 34 static Handle<Code> ComputeKeyedLoadMonomorphicHandler(
35 Handle<Map> receiver_map); 35 Handle<Map> receiver_map, ExtraICState extra_ic_state);
36 36
37 static Handle<Code> ComputeKeyedStoreMonomorphic( 37 static Handle<Code> ComputeKeyedStoreMonomorphic(
38 Handle<Map> receiver_map, LanguageMode language_mode, 38 Handle<Map> receiver_map, LanguageMode language_mode,
39 KeyedAccessStoreMode store_mode); 39 KeyedAccessStoreMode store_mode);
40 static Handle<Code> ComputeKeyedLoadPolymorphic(MapHandleList* receiver_maps); 40 static Handle<Code> ComputeKeyedLoadPolymorphic(MapHandleList* receiver_maps,
41 LanguageMode language_mode);
41 static Handle<Code> ComputeKeyedStorePolymorphic( 42 static Handle<Code> ComputeKeyedStorePolymorphic(
42 MapHandleList* receiver_maps, KeyedAccessStoreMode store_mode, 43 MapHandleList* receiver_maps, KeyedAccessStoreMode store_mode,
43 LanguageMode language_mode); 44 LanguageMode language_mode);
44 45
45 // Compare nil 46 // Compare nil
46 static Handle<Code> ComputeCompareNil(Handle<Map> receiver_map, 47 static Handle<Code> ComputeCompareNil(Handle<Map> receiver_map,
47 CompareNilICStub* stub); 48 CompareNilICStub* stub);
48 49
49 // Helpers 50 // Helpers
50 // TODO(verwaest): Move all uses of these helpers to the PropertyICCompiler 51 // TODO(verwaest): Move all uses of these helpers to the PropertyICCompiler
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 } 111 }
111 112
112 const ExtraICState extra_ic_state_; 113 const ExtraICState extra_ic_state_;
113 }; 114 };
114 115
115 116
116 } 117 }
117 } // namespace v8::internal 118 } // namespace v8::internal
118 119
119 #endif // V8_IC_IC_COMPILER_H_ 120 #endif // V8_IC_IC_COMPILER_H_
OLDNEW
« no previous file with comments | « src/ic/ic.cc ('k') | src/ic/ic-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698