mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
AK: Move memory streams from LibCore
This commit is contained in:
parent
11550f582b
commit
093cf428a3
46 changed files with 213 additions and 203 deletions
|
@ -7,14 +7,14 @@
|
|||
#include "Expression.h"
|
||||
|
||||
#include <AK/Format.h>
|
||||
#include <LibCore/MemoryStream.h>
|
||||
#include <AK/MemoryStream.h>
|
||||
#include <sys/arch/regs.h>
|
||||
|
||||
namespace Debug::Dwarf::Expression {
|
||||
|
||||
ErrorOr<Value> evaluate(ReadonlyBytes bytes, [[maybe_unused]] PtraceRegisters const& regs)
|
||||
{
|
||||
auto stream = TRY(Core::Stream::FixedMemoryStream::construct(bytes));
|
||||
auto stream = TRY(FixedMemoryStream::construct(bytes));
|
||||
|
||||
while (!stream->is_eof()) {
|
||||
auto opcode = TRY(stream->read_value<u8>());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue