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

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

Issue 173853005: allowed keyed store callbacks ic generation (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase Created 6 years, 9 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/stub-cache.h ('k') | src/x64/stub-cache-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1118 } 1118 }
1119 1119
1120 1120
1121 Handle<Code> StoreStubCompiler::CompileStoreViaSetter( 1121 Handle<Code> StoreStubCompiler::CompileStoreViaSetter(
1122 Handle<JSObject> object, 1122 Handle<JSObject> object,
1123 Handle<JSObject> holder, 1123 Handle<JSObject> holder,
1124 Handle<Name> name, 1124 Handle<Name> name,
1125 Handle<JSFunction> setter) { 1125 Handle<JSFunction> setter) {
1126 Handle<HeapType> type = IC::CurrentTypeOf(object, isolate()); 1126 Handle<HeapType> type = IC::CurrentTypeOf(object, isolate());
1127 HandlerFrontend(type, receiver(), holder, name); 1127 HandlerFrontend(type, receiver(), holder, name);
1128 GenerateStoreViaSetter(masm(), type, setter); 1128 GenerateStoreViaSetter(masm(), type, receiver(), setter);
1129 1129
1130 return GetCode(kind(), Code::FAST, name); 1130 return GetCode(kind(), Code::FAST, name);
1131 } 1131 }
1132 1132
1133 1133
1134 Handle<Code> StoreStubCompiler::CompileStoreCallback( 1134 Handle<Code> StoreStubCompiler::CompileStoreCallback(
1135 Handle<JSObject> object, 1135 Handle<JSObject> object,
1136 Handle<JSObject> holder, 1136 Handle<JSObject> holder,
1137 Handle<Name> name, 1137 Handle<Name> name,
1138 const CallOptimization& call_optimization) { 1138 const CallOptimization& call_optimization) {
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1462 Handle<FunctionTemplateInfo>( 1462 Handle<FunctionTemplateInfo>(
1463 FunctionTemplateInfo::cast(signature->receiver())); 1463 FunctionTemplateInfo::cast(signature->receiver()));
1464 } 1464 }
1465 } 1465 }
1466 1466
1467 is_simple_api_call_ = true; 1467 is_simple_api_call_ = true;
1468 } 1468 }
1469 1469
1470 1470
1471 } } // namespace v8::internal 1471 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/stub-cache.h ('k') | src/x64/stub-cache-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698