// 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.
// Peephole optimization for regexp interpreter bytecode. // Pre-defined bytecode sequences occuring in the bytecode generated by the // BytecodeGenerator can be optimized into a single bytecode. class BytecodePeepholeOptimization : public AllStatic { public: // Performs peephole optimization on the bytecode in the given src_writer and // returns the optimized bytecode. static DirectHandle<TrustedByteArray> OptimizeBytecode(
Isolate* isolate, Zone* zone, DirectHandle<RegExpData> re_data,
BytecodeWriter* src_writer);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.