summaryrefslogtreecommitdiff
path: root/tools/code_cache/cache_builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/code_cache/cache_builder.h')
-rw-r--r--tools/code_cache/cache_builder.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/code_cache/cache_builder.h b/tools/code_cache/cache_builder.h
new file mode 100644
index 0000000000..d5a6cd4241
--- /dev/null
+++ b/tools/code_cache/cache_builder.h
@@ -0,0 +1,16 @@
+#ifndef TOOLS_CODE_CACHE_CACHE_BUILDER_H_
+#define TOOLS_CODE_CACHE_CACHE_BUILDER_H_
+
+#include <string>
+#include "v8.h"
+
+namespace node {
+namespace native_module {
+class CodeCacheBuilder {
+ public:
+ static std::string Generate(v8::Local<v8::Context> context);
+};
+} // namespace native_module
+} // namespace node
+
+#endif // TOOLS_CODE_CACHE_CACHE_BUILDER_H_