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

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

Issue 2137203002: [intrinsics] Remove obsolete intrinsics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Really nuke TO_NAME. Created 4 years, 5 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') | src/js/macros.py » ('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 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 } 262 }
263 263
264 Node* IntrinsicsHelper::SubString(Node* input, Node* arg_count, Node* context) { 264 Node* IntrinsicsHelper::SubString(Node* input, Node* arg_count, Node* context) {
265 return IntrinsicAsStubCall(input, context, CodeFactory::SubString(isolate())); 265 return IntrinsicAsStubCall(input, context, CodeFactory::SubString(isolate()));
266 } 266 }
267 267
268 Node* IntrinsicsHelper::ToString(Node* input, Node* arg_count, Node* context) { 268 Node* IntrinsicsHelper::ToString(Node* input, Node* arg_count, Node* context) {
269 return IntrinsicAsStubCall(input, context, CodeFactory::ToString(isolate())); 269 return IntrinsicAsStubCall(input, context, CodeFactory::ToString(isolate()));
270 } 270 }
271 271
272 Node* IntrinsicsHelper::ToName(Node* input, Node* arg_count, Node* context) {
273 return IntrinsicAsStubCall(input, context, CodeFactory::ToName(isolate()));
274 }
275
276 Node* IntrinsicsHelper::ToLength(Node* input, Node* arg_count, Node* context) { 272 Node* IntrinsicsHelper::ToLength(Node* input, Node* arg_count, Node* context) {
277 return IntrinsicAsStubCall(input, context, CodeFactory::ToLength(isolate())); 273 return IntrinsicAsStubCall(input, context, CodeFactory::ToLength(isolate()));
278 } 274 }
279 275
280 Node* IntrinsicsHelper::ToInteger(Node* input, Node* arg_count, Node* context) { 276 Node* IntrinsicsHelper::ToInteger(Node* input, Node* arg_count, Node* context) {
281 return IntrinsicAsStubCall(input, context, CodeFactory::ToInteger(isolate())); 277 return IntrinsicAsStubCall(input, context, CodeFactory::ToInteger(isolate()));
282 } 278 }
283 279
284 Node* IntrinsicsHelper::ToNumber(Node* input, Node* arg_count, Node* context) { 280 Node* IntrinsicsHelper::ToNumber(Node* input, Node* arg_count, Node* context) {
285 return IntrinsicAsStubCall(input, context, CodeFactory::ToNumber(isolate())); 281 return IntrinsicAsStubCall(input, context, CodeFactory::ToNumber(isolate()));
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 Node* comparison = __ Word32Equal(actual, __ Int32Constant(expected)); 401 Node* comparison = __ Word32Equal(actual, __ Int32Constant(expected));
406 __ GotoIf(comparison, &match); 402 __ GotoIf(comparison, &match);
407 __ Abort(kWrongArgumentCountForInvokeIntrinsic); 403 __ Abort(kWrongArgumentCountForInvokeIntrinsic);
408 __ Goto(&match); 404 __ Goto(&match);
409 __ Bind(&match); 405 __ Bind(&match);
410 } 406 }
411 407
412 } // namespace interpreter 408 } // namespace interpreter
413 } // namespace internal 409 } // namespace internal
414 } // namespace v8 410 } // namespace v8
OLDNEW
« no previous file with comments | « src/interpreter/interpreter-intrinsics.h ('k') | src/js/macros.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698