#include <unordered_map>
#include "include/v8-local-handle.h"
#include "include/v8-primitive.h"
#include "src/api/api-inl.h"
#include "src/execution/isolate.h"
#include "src/handles/handles-inl.h"
#include "src/objects/objects-inl.h"
#include "src/objects/shared-function-info-inl.h"
#include "src/utils/utils.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace v8 {
namespace internal {
class ParseDecisionTest : public TestWithContext { … };
namespace {
void GetTopLevelFunctionInfo(
v8::Local<v8::Script> script,
std::unordered_map<std::string, bool>* is_compiled) { … }
}
TEST_F(ParseDecisionTest, GetTopLevelFunctionInfo) { … }
TEST_F(ParseDecisionTest, EagerlyCompileImmediateUseFunctions) { … }
TEST_F(ParseDecisionTest, CommaFunctionSequence) { … }
}
}