Remove the C++ bytecode interpreter dispatch loop now that AsmInt is the only bytecode execution engine. Keep the existing AsmInt fallback path for instructions that have not yet been moved into assembly or C++ slow path handlers.
22 lines
270 B
C++
22 lines
270 B
C++
/*
|
|
* Copyright (c) 2026, the Ladybird developers.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
|
|
namespace JS {
|
|
|
|
class VM;
|
|
namespace Bytecode {
|
|
|
|
class AsmInterpreter {
|
|
public:
|
|
static void run(VM&, size_t entry_point);
|
|
};
|
|
|
|
}
|
|
}
|