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

Side by Side Diff: src/interpreter/interpreter-intrinsics.cc

Issue 2694623002: [intrinsics] Remove unused %_RegExpExec and %_NumberToString. (Closed)
Patch Set: Created 3 years, 10 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/interpreter/interpreter-intrinsics.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/interpreter/interpreter-intrinsics.h" 5 #include "src/interpreter/interpreter-intrinsics.h"
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 return IntrinsicAsStubCall(input, context, 235 return IntrinsicAsStubCall(input, context,
236 CodeFactory::CreateIterResultObject(isolate())); 236 CodeFactory::CreateIterResultObject(isolate()));
237 } 237 }
238 238
239 Node* IntrinsicsHelper::HasProperty(Node* input, Node* arg_count, 239 Node* IntrinsicsHelper::HasProperty(Node* input, Node* arg_count,
240 Node* context) { 240 Node* context) {
241 return IntrinsicAsStubCall(input, context, 241 return IntrinsicAsStubCall(input, context,
242 CodeFactory::HasProperty(isolate())); 242 CodeFactory::HasProperty(isolate()));
243 } 243 }
244 244
245 Node* IntrinsicsHelper::NumberToString(Node* input, Node* arg_count,
246 Node* context) {
247 return IntrinsicAsStubCall(input, context,
248 CodeFactory::NumberToString(isolate()));
249 }
250
251 Node* IntrinsicsHelper::RegExpExec(Node* input, Node* arg_count,
252 Node* context) {
253 return IntrinsicAsStubCall(input, context,
254 CodeFactory::RegExpExec(isolate()));
255 }
256
257 Node* IntrinsicsHelper::SubString(Node* input, Node* arg_count, Node* context) { 245 Node* IntrinsicsHelper::SubString(Node* input, Node* arg_count, Node* context) {
258 return IntrinsicAsStubCall(input, context, CodeFactory::SubString(isolate())); 246 return IntrinsicAsStubCall(input, context, CodeFactory::SubString(isolate()));
259 } 247 }
260 248
261 Node* IntrinsicsHelper::ToString(Node* input, Node* arg_count, Node* context) { 249 Node* IntrinsicsHelper::ToString(Node* input, Node* arg_count, Node* context) {
262 return IntrinsicAsStubCall(input, context, CodeFactory::ToString(isolate())); 250 return IntrinsicAsStubCall(input, context, CodeFactory::ToString(isolate()));
263 } 251 }
264 252
265 Node* IntrinsicsHelper::ToLength(Node* input, Node* arg_count, Node* context) { 253 Node* IntrinsicsHelper::ToLength(Node* input, Node* arg_count, Node* context) {
266 return IntrinsicAsStubCall(input, context, CodeFactory::ToLength(isolate())); 254 return IntrinsicAsStubCall(input, context, CodeFactory::ToLength(isolate()));
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 Node* comparison = __ Word32Equal(actual, __ Int32Constant(expected)); 303 Node* comparison = __ Word32Equal(actual, __ Int32Constant(expected));
316 __ GotoIf(comparison, &match); 304 __ GotoIf(comparison, &match);
317 __ Abort(kWrongArgumentCountForInvokeIntrinsic); 305 __ Abort(kWrongArgumentCountForInvokeIntrinsic);
318 __ Goto(&match); 306 __ Goto(&match);
319 __ Bind(&match); 307 __ Bind(&match);
320 } 308 }
321 309
322 } // namespace interpreter 310 } // namespace interpreter
323 } // namespace internal 311 } // namespace internal
324 } // namespace v8 312 } // namespace v8
OLDNEW
« no previous file with comments | « src/interpreter/interpreter-intrinsics.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698