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

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

Issue 2087009: Custom call IC-s for String.prototype.{charAt,charCodeAt}. (Closed)
Patch Set: ARM port. Created 10 years, 7 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/arm/ic-arm.cc ('k') | src/codegen.h » ('j') | src/codegen.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after
1167 // Handle call cache miss. 1167 // Handle call cache miss.
1168 __ bind(&miss); 1168 __ bind(&miss);
1169 Handle<Code> ic = ComputeCallMiss(arguments().immediate()); 1169 Handle<Code> ic = ComputeCallMiss(arguments().immediate());
1170 __ Jump(ic, RelocInfo::CODE_TARGET); 1170 __ Jump(ic, RelocInfo::CODE_TARGET);
1171 1171
1172 // Return the generated code. 1172 // Return the generated code.
1173 return GetCode(function); 1173 return GetCode(function);
1174 } 1174 }
1175 1175
1176 1176
1177 Object* CallStubCompiler::CompileStringCharCodeAtCall(Object* object,
1178 JSObject* holder,
1179 JSFunction* function,
1180 String* name,
1181 CheckType check) {
1182 // TODO(<bug>): implement this.
1183 return Heap::undefined_value();
1184 }
1185
1186
1187 Object* CallStubCompiler::CompileStringCharAtCall(Object* object,
1188 JSObject* holder,
1189 JSFunction* function,
1190 String* name,
1191 CheckType check) {
1192 // TODO(<bug>): implement this.
1193 return Heap::undefined_value();
1194 }
1195
1196
1177 Object* CallStubCompiler::CompileCallConstant(Object* object, 1197 Object* CallStubCompiler::CompileCallConstant(Object* object,
1178 JSObject* holder, 1198 JSObject* holder,
1179 JSFunction* function, 1199 JSFunction* function,
1180 String* name, 1200 String* name,
1181 CheckType check) { 1201 CheckType check) {
1182 // ----------- S t a t e ------------- 1202 // ----------- S t a t e -------------
1183 // -- r2 : name 1203 // -- r2 : name
1184 // -- lr : return address 1204 // -- lr : return address
1185 // ----------------------------------- 1205 // -----------------------------------
1186 SharedFunctionInfo* function_info = function->shared(); 1206 SharedFunctionInfo* function_info = function->shared();
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
2134 // Return the generated code. 2154 // Return the generated code.
2135 return GetCode(); 2155 return GetCode();
2136 } 2156 }
2137 2157
2138 2158
2139 #undef __ 2159 #undef __
2140 2160
2141 } } // namespace v8::internal 2161 } } // namespace v8::internal
2142 2162
2143 #endif // V8_TARGET_ARCH_ARM 2163 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/codegen.h » ('j') | src/codegen.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698