Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Unified Diff: test/cctest/setup-isolate-for-tests.h

Issue 2760233005: [snapshot] Move builtins generation into mksnapshot (Closed)
Patch Set: fix GYP builds Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/cctest.status ('k') | test/cctest/setup-isolate-for-tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/setup-isolate-for-tests.h
diff --git a/test/cctest/setup-isolate-for-tests.h b/test/cctest/setup-isolate-for-tests.h
new file mode 100644
index 0000000000000000000000000000000000000000..5a2894ca4a185e1a3a7e8bc571537b7d8a9de126
--- /dev/null
+++ b/test/cctest/setup-isolate-for-tests.h
@@ -0,0 +1,22 @@
+// 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.
+
+#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
« no previous file with comments | « test/cctest/cctest.status ('k') | test/cctest/setup-isolate-for-tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698