mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 13:27:34 +00:00
LibWasm+wasm: Switch to east-const to comply with project style
Against my better judgement, this change is mandated by the project code style rules, even if it's not actually enforced.
This commit is contained in:
parent
23fd8bfd69
commit
1b083392fa
11 changed files with 209 additions and 209 deletions
|
@ -37,11 +37,11 @@ struct BytecodeInterpreter : public Interpreter {
|
|||
};
|
||||
|
||||
protected:
|
||||
virtual void interpret(Configuration&, InstructionPointer&, const Instruction&);
|
||||
virtual void interpret(Configuration&, InstructionPointer&, Instruction const&);
|
||||
void branch_to_label(Configuration&, LabelIndex);
|
||||
template<typename ReadT, typename PushT>
|
||||
void load_and_push(Configuration&, const Instruction&);
|
||||
void store_to_memory(Configuration&, const Instruction&, ReadonlyBytes data);
|
||||
void load_and_push(Configuration&, Instruction const&);
|
||||
void store_to_memory(Configuration&, Instruction const&, ReadonlyBytes data);
|
||||
void call_address(Configuration&, FunctionAddress);
|
||||
|
||||
template<typename V, typename T>
|
||||
|
@ -66,11 +66,11 @@ protected:
|
|||
struct DebuggerBytecodeInterpreter : public BytecodeInterpreter {
|
||||
virtual ~DebuggerBytecodeInterpreter() override = default;
|
||||
|
||||
Function<bool(Configuration&, InstructionPointer&, const Instruction&)> pre_interpret_hook;
|
||||
Function<bool(Configuration&, InstructionPointer&, const Instruction&, const Interpreter&)> post_interpret_hook;
|
||||
Function<bool(Configuration&, InstructionPointer&, Instruction const&)> pre_interpret_hook;
|
||||
Function<bool(Configuration&, InstructionPointer&, Instruction const&, Interpreter const&)> post_interpret_hook;
|
||||
|
||||
private:
|
||||
virtual void interpret(Configuration&, InstructionPointer&, const Instruction&) override;
|
||||
virtual void interpret(Configuration&, InstructionPointer&, Instruction const&) override;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue