chromium/v8/test/cctest/compiler/test-code-assembler.cc

// Copyright 2015 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-inl.h"
#include "src/compiler/code-assembler.h"
#include "src/compiler/node-properties.h"
#include "src/compiler/opcodes.h"
#include "src/execution/isolate.h"
#include "src/objects/heap-number-inl.h"
#include "src/objects/js-function.h"
#include "src/objects/objects-inl.h"
#include "test/cctest/compiler/function-tester.h"
#include "test/common/code-assembler-tester.h"

namespace v8 {
namespace internal {
namespace compiler {

namespace {

TVariable;

TNode<Smi> SmiTag(CodeAssembler* m, TNode<IntPtrT> value) {}

Node* UndefinedConstant(CodeAssembler* m) {}

Node* LoadObjectField(CodeAssembler* m, Node* object, int offset,
                      MachineType type = MachineType::AnyTagged()) {}

Node* LoadMap(CodeAssembler* m, Node* object) {}

}  // namespace

TEST(SimpleSmiReturn) {}

TEST(SimpleIntPtrReturn) {}

TEST(SimpleDoubleReturn) {}

TEST(SimpleCallRuntime1Arg) {}

TEST(SimpleTailCallRuntime1Arg) {}

TEST(SimpleCallRuntime2Arg) {}

TEST(SimpleTailCallRuntime2Arg) {}

namespace {

Handle<JSFunction> CreateSumAllArgumentsFunction(FunctionTester* ft) {}

}  // namespace

TEST(SimpleCallJSFunction0Arg) {}

TEST(SimpleCallJSFunction1Arg) {}

TEST(SimpleCallJSFunction2Arg) {}

TEST(VariableMerge1) {}

TEST(VariableMerge2) {}

TEST(VariableMerge3) {}

TEST(VariableMergeBindFirst) {}

TEST(VariableMergeSwitch) {}

TEST(SplitEdgeBranchMerge) {}

TEST(SplitEdgeSwitchMerge) {}

TEST(TestToConstant) {}

TEST(DeferredCodePhiHints) {}

TEST(TestOutOfScopeVariable) {}

TEST(ExceptionHandler) {}

TEST(TestCodeAssemblerCodeComment) {}

TEST(StaticAssert) {}

}  // namespace compiler
}  // namespace internal
}  // namespace v8