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

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

Issue 2103733003: [turbofan] Introduce Float64Pow and NumberPow operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE on ARM64 bug fix. 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/math.js » ('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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 231
232 return __ CallStubN(callable, args); 232 return __ CallStubN(callable, args);
233 } 233 }
234 234
235 Node* IntrinsicsHelper::HasProperty(Node* input, Node* arg_count, 235 Node* IntrinsicsHelper::HasProperty(Node* input, Node* arg_count,
236 Node* context) { 236 Node* context) {
237 return IntrinsicAsStubCall(input, context, 237 return IntrinsicAsStubCall(input, context,
238 CodeFactory::HasProperty(isolate())); 238 CodeFactory::HasProperty(isolate()));
239 } 239 }
240 240
241 Node* IntrinsicsHelper::MathPow(Node* input, Node* arg_count, Node* context) {
242 return IntrinsicAsStubCall(input, context, CodeFactory::MathPow(isolate()));
243 }
244
245 Node* IntrinsicsHelper::NewObject(Node* input, Node* arg_count, Node* context) { 241 Node* IntrinsicsHelper::NewObject(Node* input, Node* arg_count, Node* context) {
246 return IntrinsicAsStubCall(input, context, 242 return IntrinsicAsStubCall(input, context,
247 CodeFactory::FastNewObject(isolate())); 243 CodeFactory::FastNewObject(isolate()));
248 } 244 }
249 245
250 Node* IntrinsicsHelper::NumberToString(Node* input, Node* arg_count, 246 Node* IntrinsicsHelper::NumberToString(Node* input, Node* arg_count,
251 Node* context) { 247 Node* context) {
252 return IntrinsicAsStubCall(input, context, 248 return IntrinsicAsStubCall(input, context,
253 CodeFactory::NumberToString(isolate())); 249 CodeFactory::NumberToString(isolate()));
254 } 250 }
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 Node* comparison = __ Word32Equal(actual, __ Int32Constant(expected)); 345 Node* comparison = __ Word32Equal(actual, __ Int32Constant(expected));
350 __ GotoIf(comparison, &match); 346 __ GotoIf(comparison, &match);
351 __ Abort(kWrongArgumentCountForInvokeIntrinsic); 347 __ Abort(kWrongArgumentCountForInvokeIntrinsic);
352 __ Goto(&match); 348 __ Goto(&match);
353 __ Bind(&match); 349 __ Bind(&match);
354 } 350 }
355 351
356 } // namespace interpreter 352 } // namespace interpreter
357 } // namespace internal 353 } // namespace internal
358 } // namespace v8 354 } // namespace v8
OLDNEW
« no previous file with comments | « src/interpreter/interpreter-intrinsics.h ('k') | src/js/math.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698