#include "include/v8-function.h"
#include "src/execution/frames-inl.h"
#include "test/unittests/compiler/function-tester.h"
#include "test/unittests/test-utils.h"
namespace v8 {
namespace internal {
namespace compiler {
static void IsOptimized(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
class RunDeoptTest : public TestWithContext { … };
TEST_F(RunDeoptTest, DeoptSimple) { … }
TEST_F(RunDeoptTest, DeoptSimpleInExpr) { … }
TEST_F(RunDeoptTest, DeoptExceptionHandlerCatch) { … }
TEST_F(RunDeoptTest, DeoptExceptionHandlerFinally) { … }
TEST_F(RunDeoptTest, DeoptTrivial) { … }
}
}
}