summaryrefslogtreecommitdiff
path: root/js/src/new-regexp/regexp-bytecode-peephole.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/new-regexp/regexp-bytecode-peephole.h')
-rw-r--r--js/src/new-regexp/regexp-bytecode-peephole.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/js/src/new-regexp/regexp-bytecode-peephole.h b/js/src/new-regexp/regexp-bytecode-peephole.h
deleted file mode 100644
index 781f0c9143..0000000000
--- a/js/src/new-regexp/regexp-bytecode-peephole.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2019 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_REGEXP_REGEXP_BYTECODE_PEEPHOLE_H_
-#define V8_REGEXP_REGEXP_BYTECODE_PEEPHOLE_H_
-
-#include "new-regexp/regexp-shim.h"
-
-namespace v8 {
-namespace internal {
-
-class ByteArray;
-
-// Peephole optimization for regexp interpreter bytecode.
-// Pre-defined bytecode sequences occuring in the bytecode generated by the
-// RegExpBytecodeGenerator can be optimized into a single bytecode.
-class RegExpBytecodePeepholeOptimization : public AllStatic {
- public:
- // Performs peephole optimization on the given bytecode and returns the
- // optimized bytecode.
- static Handle<ByteArray> OptimizeBytecode(
- Isolate* isolate, Zone* zone, Handle<String> source, const byte* bytecode,
- int length, const ZoneUnorderedMap<int, int>& jump_edges);
-};
-
-} // namespace internal
-} // namespace v8
-
-#endif // V8_REGEXP_REGEXP_BYTECODE_PEEPHOLE_H_