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

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

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-compiler.h ('k') | src/ic/x64/ic-compiler-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 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/ic/ic-inl.h" 7 #include "src/ic/ic-inl.h"
8 #include "src/ic/ic-compiler.h" 8 #include "src/ic/ic-compiler.h"
9 9
10 10
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 Handle<Code> code = GetCodeWithFlags(flags, "CompileStorePreMonomorphic"); 380 Handle<Code> code = GetCodeWithFlags(flags, "CompileStorePreMonomorphic");
381 PROFILE(isolate(), 381 PROFILE(isolate(),
382 CodeCreateEvent(Logger::STORE_PREMONOMORPHIC_TAG, *code, 0)); 382 CodeCreateEvent(Logger::STORE_PREMONOMORPHIC_TAG, *code, 0));
383 return code; 383 return code;
384 } 384 }
385 385
386 386
387 Handle<Code> PropertyICCompiler::CompileStoreGeneric(Code::Flags flags) { 387 Handle<Code> PropertyICCompiler::CompileStoreGeneric(Code::Flags flags) {
388 ExtraICState extra_state = Code::ExtractExtraICStateFromFlags(flags); 388 ExtraICState extra_state = Code::ExtractExtraICStateFromFlags(flags);
389 StrictMode strict_mode = StoreIC::GetStrictMode(extra_state); 389 StrictMode strict_mode = StoreIC::GetStrictMode(extra_state);
390 StoreIC::GenerateRuntimeSetProperty(masm(), strict_mode); 390 GenerateRuntimeSetProperty(masm(), strict_mode);
391 Handle<Code> code = GetCodeWithFlags(flags, "CompileStoreGeneric"); 391 Handle<Code> code = GetCodeWithFlags(flags, "CompileStoreGeneric");
392 PROFILE(isolate(), CodeCreateEvent(Logger::STORE_GENERIC_TAG, *code, 0)); 392 PROFILE(isolate(), CodeCreateEvent(Logger::STORE_GENERIC_TAG, *code, 0));
393 return code; 393 return code;
394 } 394 }
395 395
396 396
397 Handle<Code> PropertyICCompiler::CompileStoreMegamorphic(Code::Flags flags) { 397 Handle<Code> PropertyICCompiler::CompileStoreMegamorphic(Code::Flags flags) {
398 StoreIC::GenerateMegamorphic(masm()); 398 StoreIC::GenerateMegamorphic(masm());
399 Handle<Code> code = GetCodeWithFlags(flags, "CompileStoreMegamorphic"); 399 Handle<Code> code = GetCodeWithFlags(flags, "CompileStoreMegamorphic");
400 PROFILE(isolate(), CodeCreateEvent(Logger::STORE_MEGAMORPHIC_TAG, *code, 0)); 400 PROFILE(isolate(), CodeCreateEvent(Logger::STORE_MEGAMORPHIC_TAG, *code, 0));
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 if (!signature->receiver()->IsUndefined()) { 974 if (!signature->receiver()->IsUndefined()) {
975 expected_receiver_type_ = Handle<FunctionTemplateInfo>( 975 expected_receiver_type_ = Handle<FunctionTemplateInfo>(
976 FunctionTemplateInfo::cast(signature->receiver())); 976 FunctionTemplateInfo::cast(signature->receiver()));
977 } 977 }
978 } 978 }
979 979
980 is_simple_api_call_ = true; 980 is_simple_api_call_ = true;
981 } 981 }
982 } 982 }
983 } // namespace v8::internal 983 } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ic/ic-compiler.h ('k') | src/ic/x64/ic-compiler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698