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

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

Issue 496313002: Remove KeyedStoreIC::GenerateRuntimeSetProperty and move Store::GenerateRuntimeSetProperty to the P… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/ic/ic.h ('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/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/macro-assembler.h" 9 #include "src/macro-assembler.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 KeyedAccessStoreMode store_mode); 118 KeyedAccessStoreMode store_mode);
119 static Handle<Code> ComputeKeyedLoadPolymorphic(MapHandleList* receiver_maps); 119 static Handle<Code> ComputeKeyedLoadPolymorphic(MapHandleList* receiver_maps);
120 static Handle<Code> ComputeKeyedStorePolymorphic( 120 static Handle<Code> ComputeKeyedStorePolymorphic(
121 MapHandleList* receiver_maps, KeyedAccessStoreMode store_mode, 121 MapHandleList* receiver_maps, KeyedAccessStoreMode store_mode,
122 StrictMode strict_mode); 122 StrictMode strict_mode);
123 123
124 // Compare nil 124 // Compare nil
125 static Handle<Code> ComputeCompareNil(Handle<Map> receiver_map, 125 static Handle<Code> ComputeCompareNil(Handle<Map> receiver_map,
126 CompareNilICStub* stub); 126 CompareNilICStub* stub);
127 127
128 // Helpers
129 // TODO(verwaest): Move all uses of these helpers to the PropertyICCompiler
130 // and make the helpers private.
131 static void GenerateRuntimeSetProperty(MacroAssembler* masm,
132 StrictMode strict_mode);
133
128 134
129 private: 135 private:
130 PropertyICCompiler(Isolate* isolate, Code::Kind kind, 136 PropertyICCompiler(Isolate* isolate, Code::Kind kind,
131 ExtraICState extra_ic_state = kNoExtraICState, 137 ExtraICState extra_ic_state = kNoExtraICState,
132 CacheHolderFlag cache_holder = kCacheOnReceiver) 138 CacheHolderFlag cache_holder = kCacheOnReceiver)
133 : PropertyAccessCompiler(isolate, kind, cache_holder), 139 : PropertyAccessCompiler(isolate, kind, cache_holder),
134 extra_ic_state_(extra_ic_state) {} 140 extra_ic_state_(extra_ic_state) {}
135 141
136 static Handle<Code> Find(Handle<Name> name, Handle<Map> stub_holder_map, 142 static Handle<Code> Find(Handle<Name> name, Handle<Map> stub_holder_map,
137 Code::Kind kind, 143 Code::Kind kind,
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 492
487 Handle<JSFunction> constant_function_; 493 Handle<JSFunction> constant_function_;
488 bool is_simple_api_call_; 494 bool is_simple_api_call_;
489 Handle<FunctionTemplateInfo> expected_receiver_type_; 495 Handle<FunctionTemplateInfo> expected_receiver_type_;
490 Handle<CallHandlerInfo> api_call_info_; 496 Handle<CallHandlerInfo> api_call_info_;
491 }; 497 };
492 } 498 }
493 } // namespace v8::internal 499 } // namespace v8::internal
494 500
495 #endif // V8_IC_IC_COMPILER_H_ 501 #endif // V8_IC_IC_COMPILER_H_
OLDNEW
« no previous file with comments | « src/ic/ic.h ('k') | src/ic/ic-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698