#include "include/v8-function.h"
#include "src/flags/flags.h"
#include "test/cctest/test-api.h"
#include "test/common/node-observer-tester.h"
namespace v8 {
namespace internal {
namespace compiler {
void CompileRunWithNodeObserver(const std::string& js_code,
int32_t expected_result,
IrOpcode::Value initial_call_opcode,
IrOpcode::Value updated_call_opcode1,
IrOpcode::Value updated_call_opcode2) { … }
TEST(ReduceJSCallWithArrayLike) { … }
TEST(ReduceJSCallWithSpread) { … }
TEST(ReduceJSCreateClosure) { … }
TEST(ReduceJSCreateBoundFunction) { … }
static void SumF(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
TEST(ReduceCAPICallWithArrayLike) { … }
}
}
}