chromium/v8/test/cctest/compiler/function-tester.cc

// Copyright 2014 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 "test/cctest/compiler/function-tester.h"

#include "include/v8-function.h"
#include "src/api/api-inl.h"
#include "src/codegen/assembler.h"
#include "src/codegen/optimized-compilation-info.h"
#include "src/compiler/linkage.h"
#include "src/compiler/pipeline.h"
#include "src/execution/execution.h"
#include "src/handles/handles.h"
#include "src/objects/objects-inl.h"
#include "src/parsing/parse-info.h"
#include "test/cctest/cctest.h"

namespace v8 {
namespace internal {
namespace compiler {

FunctionTester::FunctionTester(const char* source, uint32_t flags)
    :{}

FunctionTester::FunctionTester(Handle<Code> code, int param_count)
    :{}

FunctionTester::FunctionTester(Handle<Code> code) :{}

void FunctionTester::CheckThrows(Handle<Object> a) {}

void FunctionTester::CheckThrows(Handle<Object> a, Handle<Object> b) {}

v8::Local<v8::Message> FunctionTester::CheckThrowsReturnMessage(
    Handle<Object> a, Handle<Object> b) {}

void FunctionTester::CheckCall(DirectHandle<Object> expected, Handle<Object> a,
                               Handle<Object> b, Handle<Object> c,
                               Handle<Object> d) {}

Handle<JSFunction> FunctionTester::NewFunction(const char* source) {}

Handle<JSObject> FunctionTester::NewObject(const char* source) {}

Handle<String> FunctionTester::Val(const char* string) {}

Handle<Object> FunctionTester::Val(double value) {}

Handle<Object> FunctionTester::infinity() {}

Handle<Object> FunctionTester::minus_infinity() {}

Handle<Object> FunctionTester::nan() {}

Handle<Object> FunctionTester::undefined() {}

Handle<Object> FunctionTester::null() {}

Handle<Object> FunctionTester::true_value() {}

Handle<Object> FunctionTester::false_value() {}

Handle<JSFunction> FunctionTester::Compile(Handle<JSFunction> f) {}

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