e5a4275d8c
BUG=v8:6474 Change-Id: Ic2548b5d80d3208271d34080c3d06acd1078fe75 Reviewed-on: https://chromium-review.googlesource.com/528106 Reviewed-by: Igor Sheludko <ishell@chromium.org> Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/master@{#45823}
28 lines
822 B
C++
28 lines
822 B
C++
// Copyright 2017 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.
|
|
|
|
#ifndef V8_TEST_CCTEST_SETUP_ISOLATE_FOR_TESTS_H_
|
|
#define V8_TEST_CCTEST_SETUP_ISOLATE_FOR_TESTS_H_
|
|
|
|
#include "src/setup-isolate.h"
|
|
|
|
namespace v8 {
|
|
namespace internal {
|
|
|
|
class SetupIsolateDelegateForTests : public SetupIsolateDelegate {
|
|
public:
|
|
SetupIsolateDelegateForTests() : SetupIsolateDelegate() {}
|
|
virtual ~SetupIsolateDelegateForTests() {}
|
|
|
|
void SetupBuiltins(Isolate* isolate, bool create_heap_objects) override;
|
|
|
|
void SetupInterpreter(interpreter::Interpreter* interpreter,
|
|
bool create_heap_objects) override;
|
|
};
|
|
|
|
} // namespace internal
|
|
} // namespace v8
|
|
|
|
#endif // V8_TEST_CCTEST_SETUP_ISOLATE_FOR_TESTS_H_
|