#include "test/unittests/interpreter/interpreter-tester.h"
#include "src/api/api-inl.h"
#include "src/heap/heap-inl.h"
#include "src/objects/objects-inl.h"
namespace v8 {
namespace internal {
namespace interpreter {
MaybeHandle<Object> CallInterpreter(Isolate* isolate,
Handle<JSFunction> function) { … }
InterpreterTester::InterpreterTester(
Isolate* isolate, const char* source, MaybeHandle<BytecodeArray> bytecode,
MaybeHandle<FeedbackMetadata> feedback_metadata, const char* filter)
: … { … }
InterpreterTester::InterpreterTester(
Isolate* isolate, Handle<BytecodeArray> bytecode,
MaybeHandle<FeedbackMetadata> feedback_metadata, const char* filter)
: … { … }
InterpreterTester::InterpreterTester(Isolate* isolate, const char* source,
const char* filter)
: … { … }
InterpreterTester::~InterpreterTester() = default;
Local<Message> InterpreterTester::CheckThrowsReturnMessage() { … }
Handle<Object> InterpreterTester::NewObject(const char* script) { … }
DirectHandle<String> InterpreterTester::GetName(Isolate* isolate,
const char* name) { … }
std::string InterpreterTester::SourceForBody(const char* body) { … }
std::string InterpreterTester::function_name() { … }
const char InterpreterTester::kFunctionName[] = …;
}
}
}