#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) { … }
}
TEST(SimpleSmiReturn) { … }
TEST(SimpleIntPtrReturn) { … }
TEST(SimpleDoubleReturn) { … }
TEST(SimpleCallRuntime1Arg) { … }
TEST(SimpleTailCallRuntime1Arg) { … }
TEST(SimpleCallRuntime2Arg) { … }
TEST(SimpleTailCallRuntime2Arg) { … }
namespace {
Handle<JSFunction> CreateSumAllArgumentsFunction(FunctionTester* ft) { … }
}
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) { … }
}
}
}