chromium/v8/src/builtins/builtins-conversion-gen.cc

// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/builtins/builtins-utils-gen.h"
#include "src/builtins/builtins.h"
#include "src/codegen/code-stub-assembler-inl.h"
#include "src/codegen/tnode.h"
#include "src/objects/objects-inl.h"
#include "src/objects/oddball.h"

namespace v8 {
namespace internal {

#include "src/codegen/define-code-stub-assembler-macros.inc"

// ES6 section 7.1.3 ToNumber ( argument )
TF_BUILTIN(ToNumber, CodeStubAssembler) {}

TF_BUILTIN(ToBigInt, CodeStubAssembler) {}

TF_BUILTIN(ToNumber_Baseline, CodeStubAssembler) {}

TF_BUILTIN(ToNumeric_Baseline, CodeStubAssembler) {}

TF_BUILTIN(PlainPrimitiveToNumber, CodeStubAssembler) {}

// Like ToNumber, but also converts BigInts.
TF_BUILTIN(ToNumberConvertBigInt, CodeStubAssembler) {}

TF_BUILTIN(ToBigIntConvertNumber, CodeStubAssembler) {}

// ES6 section 7.1.2 ToBoolean ( argument )
// Requires parameter on stack so that it can be used as a continuation from a
// LAZY deopt.
TF_BUILTIN(ToBooleanLazyDeoptContinuation, CodeStubAssembler) {}

// Requires parameter on stack so that it can be used as a continuation from a
// LAZY deopt.
TF_BUILTIN(MathRoundContinuation, CodeStubAssembler) {}

// Requires parameter on stack so that it can be used as a continuation from a
// LAZY deopt.
TF_BUILTIN(MathFloorContinuation, CodeStubAssembler) {}

// Requires parameter on stack so that it can be used as a continuation from a
// LAZY deopt.
TF_BUILTIN(MathCeilContinuation, CodeStubAssembler) {}

// ES6 section 12.5.5 typeof operator
TF_BUILTIN(Typeof, CodeStubAssembler) {}

TF_BUILTIN(Typeof_Baseline, CodeStubAssembler) {}

#include "src/codegen/undef-code-stub-assembler-macros.inc"

}  // namespace internal
}  // namespace v8