Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions core/engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ flowgraph = []
# Enable Boa's VM instruction tracing.
trace = ["js"]

# Enable Boa's VM instruction tracing printing to stdout
trace-stdout = ["trace"]

# Enable Boa's additional ECMAScript features for web browsers.
annex-b = ["boa_ast/annex-b", "boa_parser/annex-b"]

Expand Down
2 changes: 1 addition & 1 deletion core/engine/src/bytecompiler/expression/binary.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::{
bytecompiler::{ByteCompiler, Label, Register},
vm::opcode::RegisterOperand,
vm::operands::RegisterOperand,
};
use boa_ast::{
Expression,
Expand Down
2 changes: 1 addition & 1 deletion core/engine/src/bytecompiler/jump_control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use super::Register;
use crate::{
bytecompiler::{ByteCompiler, Label},
vm::{CallFrame, Handler, opcode::Address},
vm::{CallFrame, Handler, operands::Address},
};
use bitflags::bitflags;
use boa_interner::Sym;
Expand Down
3 changes: 2 additions & 1 deletion core/engine/src/bytecompiler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ use crate::{
vm::{
CallFrame, CodeBlock, CodeBlockFlags, Constant, GeneratorResumeKind, GlobalFunctionBinding,
Handler, InlineCache,
opcode::{Address, BindingOpcode, BytecodeEmitter, RegisterOperand},
opcode::{BindingOpcode, BytecodeEmitter},
operands::{Address, RegisterOperand},
source_info::{SourceInfo, SourceMap, SourceMapBuilder, SourcePath},
},
};
Expand Down
2 changes: 1 addition & 1 deletion core/engine/src/bytecompiler/register.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::vm::opcode::RegisterOperand;
use crate::vm::operands::RegisterOperand;
use std::mem::forget;

bitflags::bitflags! {
Expand Down
Loading
Loading