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

Unified Diff: src/interpreter/interpreter-generator.h

Issue 2765433003: [interpreter] Split bytecode generation out of interpreter.cc (Closed)
Patch Set: Created 3 years, 9 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
Index: src/interpreter/interpreter-generator.h
diff --git a/src/interpreter/interpreter-generator.h b/src/interpreter/interpreter-generator.h
new file mode 100644
index 0000000000000000000000000000000000000000..7a612ccd4514ca07161f1f89840dcfcf47b924cd
--- /dev/null
+++ b/src/interpreter/interpreter-generator.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.
+
+#ifndef V8_INTERPRETER_INTERPRETERGENERATOR_H_
+#define V8_INTERPRETER_INTERPRETERGENERATOR_H_
rmcilroy 2017/03/20 15:51:41 nit - V8_INTERPRETER_INTERPRETER_GENERATOR_H_
Jakob Kummerow 2017/03/20 16:31:01 Done.
+
+#include "src/interpreter/bytecode-operands.h"
+#include "src/interpreter/bytecodes.h"
+
+namespace v8 {
+namespace internal {
+namespace interpreter {
+
+extern Handle<Code> GenerateBytecodeHandler(Isolate* isolate, Bytecode bytecode,
+ OperandScale operand_scale);
+
+} // namespace interpreter
+} // namespace internal
+} // namespace v8
+
+#endif // V8_INTERPRETER_INTERPRETERGENERATOR_H_

Powered by Google App Engine
This is Rietveld 408576698