V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
builtins-math-gen.h
1
// Copyright 2017 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef V8_BUILTINS_BUILTINS_MATH_GEN_H_
6
#define V8_BUILTINS_BUILTINS_MATH_GEN_H_
7
8
#include "src/code-stub-assembler.h"
9
10
namespace
v8
{
11
namespace
internal {
12
13
class
MathBuiltinsAssembler
:
public
CodeStubAssembler
{
14
public
:
15
explicit
MathBuiltinsAssembler
(
compiler::CodeAssemblerState
* state)
16
:
CodeStubAssembler
(state) {}
17
18
Node
* MathPow(
Node
* context,
Node
* base,
Node
* exponent);
19
20
protected
:
21
void
MathRoundingOperation(
22
Node
* context,
Node
* x,
23
TNode<Float64T>
(
CodeStubAssembler
::*float64op)(
SloppyTNode<Float64T>
));
24
void
MathUnaryOperation(
25
Node
* context,
Node
* x,
26
TNode<Float64T>
(
CodeStubAssembler
::*float64op)(
SloppyTNode<Float64T>
));
27
void
MathMaxMin(
Node
* context,
Node
* argc,
28
TNode<Float64T>
(
CodeStubAssembler
::*float64op)(
29
SloppyTNode<Float64T>
,
SloppyTNode<Float64T>
),
30
double
default_val);
31
};
32
33
}
// namespace internal
34
}
// namespace v8
35
36
#endif // V8_BUILTINS_BUILTINS_MATH_GEN_H_
v8::internal::compiler::CodeAssemblerState
Definition:
code-assembler.h:1599
v8
Definition:
libplatform.h:13
v8::internal::compiler::TNode
Definition:
code-assembler.h:455
v8::internal::MathBuiltinsAssembler
Definition:
builtins-math-gen.h:13
v8::internal::CodeStubAssembler
Definition:
code-stub-assembler.h:206
v8::internal::compiler::Node
Definition:
node.h:43
v8::internal::compiler::SloppyTNode
Definition:
code-assembler.h:486
v8
src
builtins
builtins-math-gen.h
Generated on Tue Dec 25 2018 14:38:19 by
1.8.14