Skip to content

Truly independent web browser

LibJS: Encode bytecode operands in one byte

Andreas Kling7ced4921863f
diff --git a/Libraries/LibJS/Flap/src/bytecode.rs b/Libraries/LibJS/Flap/src/bytecode.rs
index 1700e17c154..31fa4eec89d 100644
--- a/Libraries/LibJS/Flap/src/bytecode.rs
+++ b/Libraries/LibJS/Flap/src/bytecode.rs
@@ -157,13 +157,14 @@ fn bytecode_field_type_name(field: &crate::metadata::Field) -> String {
fn bytecode_field_type_matches(field: &crate::metadata::Field, parameter_type: &Type) -> bool {
if field.is_array {
return match field.ty.as_str() {
- "Operand" | "Optional<Operand>" => *parameter_type == Type::Sequence(Box::new(Type::U16)),
+ "Operand" | "Optional<Operand>" => *parameter_type == Type::Sequence(Box::new(Type::U8)),
"Value" => *parameter_type == Type::Sequence(Box::new(Type::Value)),
_ => false,
};
}
match field.ty.as_str() {
"bool" => *parameter_type == Type::Bool || *parameter_type == Type::U8,
+ "u8" => *parameter_type == Type::U8,
"u32"
| "Completion::Type"
| "IteratorHint"
@@ -178,7 +179,9 @@ fn bytecode_field_type_matches(field: &crate::metadata::Field, parameter_type: &
| "StringTableIndex"
| "TemplateObjectCacheIndex"
| "Optional<IdentifierTableIndex>"
- | "Optional<StringTableIndex>" => *parameter_type == Type::U32,
+ | "Optional<StringTableIndex>"
+ | "Optional<DebugIdentifierIndex>"
+ | "Optional<DebugStringIndex>" => *parameter_type == Type::U32,
"ArithFeedbackIndex" => *parameter_type == Type::ArithFeedbackIndex,
"ValueFeedbackIndex" => *parameter_type == Type::ValueFeedbackIndex,
"CallFeedbackIndex" => *parameter_type == Type::CallFeedbackIndex,
diff --git a/Libraries/LibJS/Flap/src/frontend/parser.rs b/Libraries/LibJS/Flap/src/frontend/parser.rs
index d10ada0bcda..365b7601d78 100644
--- a/Libraries/LibJS/Flap/src/frontend/parser.rs
+++ b/Libraries/LibJS/Flap/src/frontend/parser.rs
@@ -588,6 +588,8 @@ impl<'a> Parser<'a> {
| "ObjectShapeCacheIndex"
| "PropertyKeyTableIndex"
| "StringTableIndex"
+ | "DebugIdentifierIndex"
+ | "DebugStringIndex"
| "TemplateObjectCacheIndex"
) {
Type::U32
@@ -619,7 +621,7 @@ impl<'a> Parser<'a> {
self.advance();
self.consume(TokenKind::RightBracket, "']'")?;
if ty == Type::Operand {
- ty = Type::U16;
+ ty = Type::U8;
}
ty = Type::Sequence(Box::new(ty));
}
diff --git a/Libraries/LibJS/Flap/src/low_ir/lowering.rs b/Libraries/LibJS/Flap/src/low_ir/lowering.rs
index 630e641f6ac..b27e3e0e5e7 100644
--- a/Libraries/LibJS/Flap/src/low_ir/lowering.rs
+++ b/Libraries/LibJS/Flap/src/low_ir/lowering.rs
@@ -3593,7 +3593,7 @@ fn machine_instruction(operation: MachineOperation, operands: Vec<Operand>) -> I
}
/// How wide the loads of operand fields are, which `metadata::OPERAND_SIZE` lays out.
-const OPERAND_FIELD_WIDTH: MemoryWidth = MemoryWidth::HalfWord;
+const OPERAND_FIELD_WIDTH: MemoryWidth = MemoryWidth::Byte;
fn bytecode_field_memory(field: &BytecodeFieldId) -> Operand {
Operand::Address(MemoryAddress {
diff --git a/Libraries/LibJS/Flap/src/metadata.rs b/Libraries/LibJS/Flap/src/metadata.rs
index 1d3d8e8e7b3..6ddc325cf5d 100644
--- a/Libraries/LibJS/Flap/src/metadata.rs
+++ b/Libraries/LibJS/Flap/src/metadata.rs
@@ -46,7 +46,7 @@ pub struct SlowPathArray {
/// The name of the bytecode field that holds the operands.
pub name: String,
pub instruction_offset: usize,
- /// The instruction offset of the operand count.
+ /// The instruction offset of the operand count, which is one byte.
pub count_offset: usize,
pub optional: bool,
}
@@ -236,9 +236,9 @@ impl From<(&'static str, usize, &'static str)> for FieldType {
}
/// How many bytes an operand takes in an instruction.
-pub const OPERAND_SIZE: usize = 2;
+pub const OPERAND_SIZE: usize = 1;
/// The encoding of an absent optional operand.
-pub const NO_OPERAND: i64 = u16::MAX as i64;
+pub const NO_OPERAND: i64 = u8::MAX as i64;
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct ParseError {
@@ -671,6 +671,7 @@ fn try_field_type_info(ty: &str) -> Option<FieldType> {
Some(
match ty {
"bool" => ("bool", 1, "bool"),
+ "u8" => ("u32", 1, "byte_count"),
"i32" => ("i32", 4, "i32"),
"u32" => ("u32", 4, "u32"),
"u64" => ("u64", 8, "u64"),
@@ -678,11 +679,14 @@ fn try_field_type_info(ty: &str) -> Option<FieldType> {
"Optional<Operand>" => ("Option<Operand>", OPERAND_SIZE, "optional_operand"),
"Label" => ("Label", 4, "label"),
"Optional<Label>" => ("Option<Label>", 5, "optional_label"),
- "IdentifierTableIndex" => ("IdentifierTableIndex", 2, "u32_newtype"),
- "Optional<IdentifierTableIndex>" => ("Option<IdentifierTableIndex>", 2, "optional_u32_newtype"),
- "PropertyKeyTableIndex" => ("PropertyKeyTableIndex", 2, "u32_newtype"),
- "StringTableIndex" => ("StringTableIndex", 2, "u32_newtype"),
- "Optional<StringTableIndex>" => ("Option<StringTableIndex>", 2, "optional_u32_newtype"),
+ "IdentifierTableIndex" => ("IdentifierTableIndex", 3, "u32_newtype"),
+ "Optional<IdentifierTableIndex>" => ("Option<IdentifierTableIndex>", 3, "optional_u32_newtype"),
+ "PropertyKeyTableIndex" => ("PropertyKeyTableIndex", 3, "u32_newtype"),
+ "StringTableIndex" => ("StringTableIndex", 3, "u32_newtype"),
+ "Optional<StringTableIndex>" => ("Option<StringTableIndex>", 3, "optional_u32_newtype"),
+ // NB: These only make error messages better, so a site past 65534 names can go without.
+ "Optional<DebugIdentifierIndex>" => ("Option<IdentifierTableIndex>", 2, "optional_debug_name"),
+ "Optional<DebugStringIndex>" => ("Option<StringTableIndex>", 2, "optional_debug_name"),
"EnvironmentCoordinate" => ("EnvironmentCoordinate", 8, "env_coord"),
"Builtin" => ("u8", 1, "u8"),
"Completion::Type" => ("u32", 4, "u32"),
@@ -731,7 +735,7 @@ fn count_field_index(op: &InstructionDefinition, array_field: &Field) -> Option<
let singular = array_field.name.strip_suffix('s').map(|name| format!("{name}_count"));
op.fields.iter().position(|field| {
!field.is_array
- && field.ty == "u32"
+ && (field.ty == "u32" || field.ty == "u8")
&& (field.name == plural || singular.as_ref().is_some_and(|name| field.name == *name))
})
}
@@ -779,10 +783,16 @@ fn validate_op(op: &mut InstructionDefinition) -> Result<(), String> {
let array = if let Some(array_index) = array_indices.first().copied() {
let count_field_index = count_field_index(op, &op.fields[array_index]).ok_or_else(|| {
format!(
- "array field '{}' in op '{}' requires a matching u32 count field",
+ "array field '{}' in op '{}' requires a matching u8 or u32 count field",
op.fields[array_index].name, op.name
)
})?;
+ if op.fields[array_index].ty == "Operand" && op.fields[count_field_index].ty != "u8" {
+ return Err(format!(
+ "operand array field '{}' in op '{}' requires a u8 count field",
+ op.fields[array_index].name, op.name
+ ));
+ }
let info = try_field_type_info(&op.fields[array_index].ty).expect("field types are checked while parsing");
field_offsets.insert(op.fields[array_index].name.clone(), offset);
Some(ArrayLayout {
@@ -896,7 +906,7 @@ mod tests {
fn lays_out_explicit_helper_values_with_operand_modes() {
let ops = parse_flap_metadata(
"test.flap",
- "handler Call(length: u32, dst: out Operand, callee: in Operand, state: inout Optional<Operand>, argument_count: u32, arguments: Operand[]) = call_slow_path(call);",
+ "handler Call(dst: out Operand, callee: in Operand, state: inout Optional<Operand>, argument_count: u8, arguments: Operand[]) = call_slow_path(call);",
)
.unwrap();
let op = &ops[0];
@@ -949,8 +959,7 @@ mod tests {
"interpreter.flap",
r#"
handler Call(
- length: u32,
- argument_count: u32,
+ argument_count: u8,
arguments: Operand[]
) @terminator = call_slow_path(call);
"#,
@@ -961,8 +970,8 @@ handler Call(
assert_eq!(ops[0].name, "Call");
assert!(ops[0].is_terminator);
assert!(!ops[0].falls_through);
- assert_eq!(ops[0].fields.len(), 3);
- assert!(ops[0].fields[2].is_array);
+ assert_eq!(ops[0].fields.len(), 2);
+ assert!(ops[0].fields[1].is_array);
}
#[test]
@@ -1161,7 +1170,11 @@ specialize JumpLessThan(rhs: Int32);
),
(
"handler Array(values: Value[]) { dispatch_next; }\n",
- "requires a matching u32 count field",
+ "requires a matching u8 or u32 count field",
+ ),
+ (
+ "handler Call(argument_count: u32, arguments: Operand[]) { dispatch_next; }\n",
+ "requires a u8 count field",
),
(
"handler Array(length: u32, value_count: u32, values: Value[], tail: u32) { dispatch_next; }\n",
diff --git a/Libraries/LibJS/Flap/src/rust_bytecode.rs b/Libraries/LibJS/Flap/src/rust_bytecode.rs
index 15d12012855..f248d416001 100644
--- a/Libraries/LibJS/Flap/src/rust_bytecode.rs
+++ b/Libraries/LibJS/Flap/src/rust_bytecode.rs
@@ -16,7 +16,7 @@
//! named by `field_type_info()` (`Operand`, `Label`, `IdentifierTableIndex`,
//! `PropertyKeyTableIndex`, `StringTableIndex`,
//! `EnvironmentCoordinate`) with `from_raw` / `optional_from_raw` constructors,
-//! plus `read_u16(bytes, at)`, `read_u32(bytes, at)` and `read_u64(bytes, at)` helpers reachable
+//! plus `read_u16(bytes, at)`, `read_u24(bytes, at)`, `read_u32(bytes, at)` and `read_u64(bytes, at)` helpers reachable
//! through the `reader` path prefix passed to the field reading functions.
use crate::metadata::Field;
@@ -65,6 +65,15 @@ impl InstructionSet {
}
}
+/// The code for `expression` elements of `element_size` bytes, without a multiplication by one.
+pub fn scaled(expression: &str, element_size: usize) -> String {
+ if element_size == 1 {
+ expression.to_string()
+ } else {
+ format!("{expression} * {element_size}")
+ }
+}
+
/// The Rust name of an instruction field (`m_dst` becomes `dst`).
pub fn rust_field_name(name: &str) -> String {
if let Some(stripped) = name.strip_prefix("m_") {
@@ -87,6 +96,7 @@ pub fn count_field_name<'a>(op: &'a InstructionDefinition, array_field: &Field)
pub fn read_expr_for_type(ty: &str, offset: &str, reader: &str) -> String {
match ty {
"bool" => format!("bytes[{offset}] != 0"),
+ "u8" => format!("u32::from(bytes[{offset}])"),
"i32" => format!("{reader}read_u32(bytes, {offset}) as i32"),
"u32"
| "Completion::Type"
@@ -106,25 +116,31 @@ pub fn read_expr_for_type(ty: &str, offset: &str, reader: &str) -> String {
format!("{reader}read_u16(bytes, {offset})")
}
"u64" | "Value" => format!("{reader}read_u64(bytes, {offset})"),
- "Operand" => format!("Operand::from_raw(u32::from({reader}read_u16(bytes, {offset})))"),
- "Optional<Operand>" => format!(
- "match {reader}read_u16(bytes, {offset}) {{ u16::MAX => None, raw => Some(Operand::from_raw(u32::from(raw))) }}"
- ),
+ "Operand" => format!("Operand::from_raw(u32::from(bytes[{offset}]))"),
+ "Optional<Operand>" => {
+ format!("match bytes[{offset}] {{ u8::MAX => None, raw => Some(Operand::from_raw(u32::from(raw))) }}")
+ }
"Label" => format!("Label({reader}read_u32(bytes, {offset}))"),
"Optional<Label>" => {
format!("if bytes[{offset} + 4] != 0 {{ Some(Label({reader}read_u32(bytes, {offset}))) }} else {{ None }}")
}
- "IdentifierTableIndex" => format!("IdentifierTableIndex(u32::from({reader}read_u16(bytes, {offset})))"),
+ "IdentifierTableIndex" => format!("IdentifierTableIndex({reader}read_u24(bytes, {offset}))"),
+ "Optional<DebugIdentifierIndex>" => format!(
+ "match {reader}read_u16(bytes, {offset}) {{ u16::MAX => None, raw => Some(IdentifierTableIndex(u32::from(raw))) }}"
+ ),
+ "Optional<DebugStringIndex>" => format!(
+ "match {reader}read_u16(bytes, {offset}) {{ u16::MAX => None, raw => Some(StringTableIndex(u32::from(raw))) }}"
+ ),
"Optional<IdentifierTableIndex>" => {
format!(
- "match {reader}read_u16(bytes, {offset}) {{ u16::MAX => None, raw => Some(IdentifierTableIndex(u32::from(raw))) }}"
+ "match {reader}read_u24(bytes, {offset}) {{ 0xff_ffff => None, raw => Some(IdentifierTableIndex(raw)) }}"
)
}
- "PropertyKeyTableIndex" => format!("PropertyKeyTableIndex(u32::from({reader}read_u16(bytes, {offset})))"),
- "StringTableIndex" => format!("StringTableIndex(u32::from({reader}read_u16(bytes, {offset})))"),
+ "PropertyKeyTableIndex" => format!("PropertyKeyTableIndex({reader}read_u24(bytes, {offset}))"),
+ "StringTableIndex" => format!("StringTableIndex({reader}read_u24(bytes, {offset}))"),
"Optional<StringTableIndex>" => {
format!(
- "match {reader}read_u16(bytes, {offset}) {{ u16::MAX => None, raw => Some(StringTableIndex(u32::from(raw))) }}"
+ "match {reader}read_u24(bytes, {offset}) {{ 0xff_ffff => None, raw => Some(StringTableIndex(raw)) }}"
)
}
"EnvironmentCoordinate" => format!(
@@ -236,15 +252,21 @@ pub fn generate_instruction_length_from_bytes(
let element_size = array.element_size;
let op_name = &op.name;
writeln!(w, " {i} => {{ // {op_name} (variable-length)")?;
- writeln!(w, " let count_end = at + {count_offset} + 4;")?;
+ let count_size = field_type_info(&op.fields[array.count_field_index].ty).size;
+ writeln!(w, " let count_end = at + {count_offset} + {count_size};")?;
writeln!(w, " if count_end > bytes.len() {{")?;
writeln!(w, " return Err({error}::TruncatedInstruction);")?;
writeln!(w, " }}")?;
- writeln!(
- w,
- " let count = u32::from_ne_bytes(bytes[at + {count_offset}..count_end].try_into().unwrap());"
- )?;
- writeln!(w, " Ok({minimum_length} + count as usize * {element_size})")?;
+ if count_size == 1 {
+ writeln!(w, " let count = u32::from(bytes[at + {count_offset}]);")?;
+ } else {
+ writeln!(
+ w,
+ " let count = u32::from_ne_bytes(bytes[at + {count_offset}..count_end].try_into().unwrap());"
+ )?;
+ }
+ let length = scaled("count as usize", element_size);
+ writeln!(w, " Ok({minimum_length} + {length})")?;
writeln!(w, " }}")?;
}
}
@@ -360,8 +382,9 @@ pub fn generate_encoded_size_method(mut w: impl Write, ops: &[InstructionDefinit
)?;
writeln!(
w,
- " {} + {}.len() * {}",
- op.layout.minimum_size, arr_name, array.element_size
+ " {} + {}",
+ op.layout.minimum_size,
+ scaled(&format!("{arr_name}.len()"), array.element_size)
)?;
writeln!(w, " }}")?;
}
@@ -455,8 +478,9 @@ fn generate_encode_body(mut w: impl Write, op: &InstructionDefinition) -> Genera
writeln!(w, " }}")?;
writeln!(
w,
- " let target = {} + {}.len() * {};",
- op.layout.minimum_size, rname, array.element_size
+ " let target = {} + {};",
+ op.layout.minimum_size,
+ scaled(&format!("{rname}.len()"), array.element_size)
)?;
writeln!(w, " encoder.bytes.resize(start + target, 0);")?;
} else {
@@ -574,6 +598,10 @@ fn emit_field_store(mut w: impl Write, name: &str, kind: &str, offset: usize) ->
match kind {
"bool" => writeln!(w, "{prefix}out[{offset}] = *{name} as u8;")?,
"u8" => writeln!(w, "{prefix}out[{offset}] = *{name};")?,
+ "byte_count" => writeln!(
+ w,
+ "{prefix}out[{offset}] = u8::try_from(*{name}).expect(\"counts fit in a byte\");"
+ )?,
"i32" | "u32" => writeln!(w, "{prefix}{}", store(&format!("{name}.to_ne_bytes()"), 4))?,
"u16" => writeln!(w, "{prefix}{}", store(&format!("{name}.to_ne_bytes()"), 2))?,
"u64" => writeln!(w, "{prefix}{}", store(&format!("{name}.to_ne_bytes()"), 8))?,
@@ -581,12 +609,12 @@ fn emit_field_store(mut w: impl Write, name: &str, kind: &str, offset: usize) ->
w,
"{prefix}{}",
store(
- &format!("(encoder.operand(*{name}, {offset}) as u16).to_ne_bytes()"),
+ &format!("(encoder.operand(*{name}, {offset}) as u8).to_ne_bytes()"),
OPERAND_SIZE
)
)?,
"optional_operand" => {
- let value = format!("{name}.map_or(u16::MAX, |op| encoder.operand(op, {offset}) as u16).to_ne_bytes()");
+ let value = format!("{name}.map_or(u8::MAX, |op| encoder.operand(op, {offset}) as u8).to_ne_bytes()");
writeln!(w, "{prefix}{}", store(&value, OPERAND_SIZE))?;
}
"label" => {
@@ -601,20 +629,20 @@ fn emit_field_store(mut w: impl Write, name: &str, kind: &str, offset: usize) ->
writeln!(w, "{prefix} out[{}] = 1;", offset + 4)?;
writeln!(w, "{prefix}}}")?;
}
- "u32_newtype" => writeln!(
- w,
- "{prefix}{}",
- store(&format!("narrow_index({name}.0).to_ne_bytes()"), 2)
- )?,
+ "u32_newtype" => writeln!(w, "{prefix}{}", store(&format!("name_index_bytes({name}.0)"), 3))?,
"cache_index" => writeln!(
w,
"{prefix}{}",
store(&format!("narrow_index(*{name}).to_ne_bytes()"), 2)
)?,
- "optional_u32_newtype" => {
- let value = format!("{name}.map_or(u16::MAX, |idx| narrow_index(idx.0)).to_ne_bytes()");
+ "optional_debug_name" => {
+ let value = format!("debug_name_index({name}.map(|idx| idx.0)).to_ne_bytes()");
writeln!(w, "{prefix}{}", store(&value, 2))?;
}
+ "optional_u32_newtype" => {
+ let value = format!("name_index_bytes({name}.map_or(u32::MAX, |idx| idx.0))");
+ writeln!(w, "{prefix}{}", store(&value, 3))?;
+ }
"env_coord" => {
writeln!(w, "{prefix}{}", store(&format!("{name}.hops.to_ne_bytes()"), 4))?;
writeln!(
@@ -640,19 +668,19 @@ fn emit_field_write(mut w: impl Write, name: &str, kind: &str) -> GeneratorResul
writeln!(w, "{prefix}encoder.bytes.extend_from_slice(&{name}.to_ne_bytes());")?
}
"operand" => {
- writeln!(w, "{prefix}let raw = encoder.operand(*{name}, 0) as u16;")?;
+ writeln!(w, "{prefix}let raw = encoder.operand(*{name}, 0) as u8;")?;
writeln!(w, "{prefix}encoder.bytes.extend_from_slice(&raw.to_ne_bytes());")?;
}
"optional_operand" => {
writeln!(
w,
- "{prefix}let raw = {name}.map_or(u16::MAX, |op| encoder.operand(op, 0) as u16);"
+ "{prefix}let raw = {name}.map_or(u8::MAX, |op| encoder.operand(op, 0) as u8);"
)?;
writeln!(w, "{prefix}encoder.bytes.extend_from_slice(&raw.to_ne_bytes());")?;
}
"u32_newtype" => writeln!(
w,
- "{prefix}encoder.bytes.extend_from_slice(&narrow_index({name}.0).to_ne_bytes());"
+ "{prefix}encoder.bytes.extend_from_slice(&name_index_bytes({name}.0));"
)?,
other => panic!("Unknown array element encoding kind: {other}"),
}
diff --git a/Libraries/LibJS/Flap/src/target/aarch64/finalize.rs b/Libraries/LibJS/Flap/src/target/aarch64/finalize.rs
index 5b1cf86d55a..21ea9ec2353 100644
--- a/Libraries/LibJS/Flap/src/target/aarch64/finalize.rs
+++ b/Libraries/LibJS/Flap/src/target/aarch64/finalize.rs
@@ -637,7 +637,7 @@ fn operand_store(
load(
emit,
- MemoryWidth::HalfWord,
+ MemoryWidth::Byte,
false,
index,
MachineMemoryAddress::offset(X21, offset),
@@ -923,7 +923,7 @@ fn call_with_scalar_values(
let ready = emit.unique_label("scalar_value_ready");
call_values_load(
emit,
- MemoryWidth::HalfWord,
+ MemoryWidth::Byte,
X9,
MachineMemoryAddress::offset(X21, field.instruction_offset as i64),
)?;
@@ -971,7 +971,7 @@ fn call_with_scalar_values(
if let Some(output) = layout.fields.iter().find(|field| field.mode == ParameterMode::Out) {
call_values_load(
emit,
- MemoryWidth::HalfWord,
+ MemoryWidth::Byte,
X9,
MachineMemoryAddress::offset(X21, output.instruction_offset as i64),
)?;
@@ -1041,7 +1041,7 @@ fn call_with_values(
let stack_space_limit = emit.constant(KnownLayoutConstant::VmStackSpaceLimit)?;
call_values_load(
emit,
- MemoryWidth::Word,
+ MemoryWidth::Byte,
X10,
MachineMemoryAddress::offset(X21, count_offset as i64),
)?;
@@ -1110,7 +1110,7 @@ fn call_with_values(
}
call_values_load(
emit,
- MemoryWidth::HalfWord,
+ MemoryWidth::Byte,
X12,
MachineMemoryAddress::offset(X21, field.instruction_offset as i64),
)?;
@@ -1165,7 +1165,7 @@ fn call_with_values(
move_immediate(emit, X9, 0, IntegerWidth::U64);
call_values_load(
emit,
- MemoryWidth::Word,
+ MemoryWidth::Byte,
X10,
MachineMemoryAddress::offset(X21, count_offset as i64),
)?;
@@ -1176,15 +1176,7 @@ fn call_with_values(
Opcode::CompareRegister(IntegerWidth::U64) => [register X9, register X10];
Opcode::BranchCondition(Condition::UnsignedGreaterOrEqual) => [label end.clone()];
);
- call_values_load(
- emit,
- MemoryWidth::HalfWord,
- X12,
- MachineMemoryAddress {
- scale: Some(2),
- ..MachineMemoryAddress::indexed(X3, X9)
- },
- )?;
+ call_values_load(emit, MemoryWidth::Byte, X12, MachineMemoryAddress::indexed(X3, X9))?;
if optional {
move_immediate(emit, X11, empty, IntegerWidth::U64);
move_immediate(emit, X13, NO_OPERAND, IntegerWidth::U32);
@@ -1255,7 +1247,7 @@ fn call_with_values(
let skip = emit.unique_label("skip_output_value");
call_values_load(
emit,
- MemoryWidth::HalfWord,
+ MemoryWidth::Byte,
X12,
MachineMemoryAddress::offset(X21, field.instruction_offset as i64),
)?;
@@ -1316,7 +1308,7 @@ fn call_with_values(
let skip = emit.unique_label("skip_exceptional_output");
call_values_load(
emit,
- MemoryWidth::HalfWord,
+ MemoryWidth::Byte,
X12,
MachineMemoryAddress::offset(X21, field.instruction_offset as i64),
)?;
diff --git a/Libraries/LibJS/Flap/src/target/x86_64/finalize.rs b/Libraries/LibJS/Flap/src/target/x86_64/finalize.rs
index eaa5c2c77dd..650477e9dc0 100644
--- a/Libraries/LibJS/Flap/src/target/x86_64/finalize.rs
+++ b/Libraries/LibJS/Flap/src/target/x86_64/finalize.rs
@@ -501,7 +501,7 @@ fn operand_store(emit: &mut Emit<'_>, offset: i64, source: &AllocatedOperand, sc
emit!(emit.output, X86_64;
Opcode::Load {
- width: MemoryWidth::HalfWord,
+ width: MemoryWidth::Byte,
signed: false,
} => [register index, address MachineMemoryAddress::indexed_offset(R14, R13, offset)];
);
@@ -655,7 +655,7 @@ fn call_with_scalar_values(
for (index, field) in inputs.iter().enumerate() {
let ready = emit.unique_label("scalar_value_ready");
emit!(emit.output, X86_64;
- Opcode::Load { width: MemoryWidth::HalfWord, signed: false } => [register R10, address MachineMemoryAddress::offset(R11, field.instruction_offset as i64)];
+ Opcode::Load { width: MemoryWidth::Byte, signed: false } => [register R10, address MachineMemoryAddress::offset(R11, field.instruction_offset as i64)];
);
if field.optional {
let empty = emit.constant(KnownLayoutConstant::EmptyValue)?;
@@ -696,7 +696,7 @@ fn call_with_scalar_values(
if let Some(output) = layout.fields.iter().find(|field| field.mode == ParameterMode::Out) {
emit!(emit.output, X86_64;
Opcode::LoadEffectiveAddress => [register RCX, address MachineMemoryAddress::indexed(R14, R13)];
- Opcode::Load { width: MemoryWidth::HalfWord, signed: false } => [register R10, address MachineMemoryAddress::offset(RCX, output.instruction_offset as i64)];
+ Opcode::Load { width: MemoryWidth::Byte, signed: false } => [register R10, address MachineMemoryAddress::offset(RCX, output.instruction_offset as i64)];
Opcode::Store(MemoryWidth::DoubleWord) => [address MachineMemoryAddress { scale: Some(8), ..MachineMemoryAddress::indexed(RBX, R10) }, register RDX];
);
}
@@ -759,7 +759,7 @@ fn call_with_values(
let base_offset = emit.constant(KnownLayoutConstant::VmStackInfoBase)?;
let stack_space_limit = emit.constant(KnownLayoutConstant::VmStackSpaceLimit)?;
emit!(emit.output, X86_64;
- Opcode::Load { width: MemoryWidth::Word, signed: false } => [register R10, address MachineMemoryAddress::offset(RCX, count_offset as i64)];
+ Opcode::Load { width: MemoryWidth::Byte, signed: false } => [register R10, address MachineMemoryAddress::offset(RCX, count_offset as i64)];
Opcode::ShiftImmediate { operation: ShiftOperation::Left, width: IntegerWidth::U64 } => [register R10, immediate 3];
Opcode::AluImmediate { operation: AluOperation::Add, width: IntegerWidth::U64 } => [register R10, immediate fixed_size + 15];
Opcode::AluImmediate { operation: AluOperation::And, width: IntegerWidth::U64 } => [register R10, immediate -16];
@@ -815,7 +815,7 @@ fn call_with_values(
emit!(emit.output, X86_64; Opcode::MoveAbsolute64Immediate => [register RAX, immediate empty];);
}
emit!(emit.output, X86_64;
- Opcode::Load { width: MemoryWidth::HalfWord, signed: false } => [register R10, address MachineMemoryAddress::offset(RCX, field.instruction_offset as i64)];
+ Opcode::Load { width: MemoryWidth::Byte, signed: false } => [register R10, address MachineMemoryAddress::offset(RCX, field.instruction_offset as i64)];
);
if field.optional {
emit!(emit.output, X86_64;
@@ -857,11 +857,11 @@ fn call_with_values(
let end = emit.unique_label("array_values_end");
emit!(emit.output, X86_64;
Opcode::Move32Immediate => [register R11, immediate 0];
- Opcode::Load { width: MemoryWidth::Word, signed: false } => [register R10, address MachineMemoryAddress::offset(RCX, count_offset as i64)];
+ Opcode::Load { width: MemoryWidth::Byte, signed: false } => [register R10, address MachineMemoryAddress::offset(RCX, count_offset as i64)];
Opcode::Label => [label next.clone()];
Opcode::CompareRegister(IntegerWidth::U64) => [register R11, register R10];
Opcode::JumpCondition(Condition::UnsignedGreaterOrEqual) => [label end.clone()];
- Opcode::Load { width: MemoryWidth::HalfWord, signed: false } => [register RDX, address MachineMemoryAddress { scale: Some(2), ..MachineMemoryAddress::indexed_offset(RCX, R11, array_offset as i64) }];
+ Opcode::Load { width: MemoryWidth::Byte, signed: false } => [register RDX, address MachineMemoryAddress::indexed_offset(RCX, R11, array_offset as i64)];
);
if optional {
emit!(emit.output, X86_64;
@@ -930,7 +930,7 @@ fn call_with_values(
}
let skip = emit.unique_label("skip_output_value");
emit!(emit.output, X86_64;
- Opcode::Load { width: MemoryWidth::HalfWord, signed: false } => [register R10, address MachineMemoryAddress::offset(RCX, field.instruction_offset as i64)];
+ Opcode::Load { width: MemoryWidth::Byte, signed: false } => [register R10, address MachineMemoryAddress::offset(RCX, field.instruction_offset as i64)];
);
if field.optional {
emit!(emit.output, X86_64;
@@ -976,7 +976,7 @@ fn call_with_values(
let skip = emit.unique_label("skip_exceptional_output");
emit!(emit.output, X86_64;
Opcode::LoadEffectiveAddress => [register RCX, address MachineMemoryAddress::indexed(R14, R13)];
- Opcode::Load { width: MemoryWidth::HalfWord, signed: false } => [register R10, address MachineMemoryAddress::offset(RCX, field.instruction_offset as i64)];
+ Opcode::Load { width: MemoryWidth::Byte, signed: false } => [register R10, address MachineMemoryAddress::offset(RCX, field.instruction_offset as i64)];
);
if field.optional {
emit!(emit.output, X86_64;
diff --git a/Libraries/LibJS/Flap/tests/interpreter-assembly/aarch64.S b/Libraries/LibJS/Flap/tests/interpreter-assembly/aarch64.S
index 00f68dedbd5..f760df184f7 100644
--- a/Libraries/LibJS/Flap/tests/interpreter-assembly/aarch64.S
+++ b/Libraries/LibJS/Flap/tests/interpreter-assembly/aarch64.S
@@ -15,6 +15,7 @@ CSYM(js_interpreter_dispatch_table):
asm_dispatch_table:
.quad asm_handler_Enter
.quad asm_handler_Mov
+ .quad asm_handler_MovWide
.quad asm_handler_Add
.quad asm_handler_Sub
.quad asm_handler_Mul
@@ -268,7 +269,6 @@ asm_dispatch_table:
.quad asm_handler_fallback
.quad asm_handler_fallback
.quad asm_handler_fallback
- .quad asm_handler_fallback
.globl CSYM(js_interpreter_debug_dispatch_table)
CSYM(js_interpreter_debug_dispatch_table):
@@ -541,6 +541,10 @@ CSYM(js_interpreter_handler_ranges):
.quad asm_handler_Mov_hot_end
.quad asm_handler_Mov_cold
.quad asm_handler_Mov_cold_end
+ .quad asm_handler_MovWide
+ .quad asm_handler_MovWide_hot_end
+ .quad asm_handler_MovWide_cold
+ .quad asm_handler_MovWide_cold_end
.quad asm_handler_Add
.quad asm_handler_Add_hot_end
.quad asm_handler_Add_cold
@@ -1553,10 +1557,6 @@ CSYM(js_interpreter_handler_ranges):
.quad asm_handler_fallback_hot_end
.quad asm_handler_fallback_cold
.quad asm_handler_fallback_cold_end
- .quad asm_handler_fallback
- .quad asm_handler_fallback_hot_end
- .quad asm_handler_fallback_cold
- .quad asm_handler_fallback_cold_end
.text
@@ -1696,20 +1696,32 @@ asm_handler_Enter_hot_end:
.p2align 4
asm_handler_Mov:
- ldurh w0, [x21, #1]
- ldurh w1, [x21, #3]
+ ldrb w0, [x21, #1]
+ ldrb w1, [x21, #2]
ldr x1, [x27, x1, lsl #3]
str x1, [x27, x0, lsl #3]
- ldrb w9, [x21, #5]
- add x21, x21, #5
+ ldrb w9, [x21, #3]
+ add x21, x21, #3
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_Mov_hot_end:
+.p2align 4
+asm_handler_MovWide:
+ ldur w0, [x21, #1]
+ ldur w1, [x21, #5]
+ ldr x1, [x27, x1, lsl #3]
+ str x1, [x27, x0, lsl #3]
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
+ ldr x10, [x19, x9, lsl #3]
+ br x10
+asm_handler_MovWide_hot_end:
+
.p2align 4
asm_handler_Add:
- ldurh w0, [x21, #5]
- ldurh w2, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w2, [x21, #5]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -1721,18 +1733,18 @@ asm_handler_Add:
adds w1, w1, w0
b.vs .Lasm_Add.ssa_checked_6_failure
movk x1, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_Add_hot_end:
.p2align 4
asm_handler_Sub:
- ldurh w0, [x21, #5]
- ldurh w2, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w2, [x21, #5]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -1744,18 +1756,18 @@ asm_handler_Sub:
subs w1, w1, w0
b.vs .Lasm_Sub.ssa_checked_6_failure
movk x1, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_Sub_hot_end:
.p2align 4
asm_handler_Mul:
- ldurh w0, [x21, #5]
- ldurh w2, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w2, [x21, #5]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -1776,10 +1788,10 @@ asm_handler_Mul:
1:
.Lasm_Mul.ssa_block_13:
movk x2, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x2, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_Mul_hot_end:
@@ -1795,7 +1807,7 @@ asm_handler_Jump_hot_end:
.p2align 4
asm_handler_JumpIf:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x0, [x27, x0, lsl #3]
lsr x1, x0, #48
cmp w1, w23
@@ -1813,7 +1825,7 @@ asm_handler_JumpIf:
ldrh w0, [x0, #12]
tbnz x0, #13, .Lasm_JumpIf.ssa_block_1
.Lasm_JumpIf.ssa_block_2:
- ldur w0, [x21, #3]
+ ldur w0, [x21, #2]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -1824,7 +1836,7 @@ asm_handler_JumpIf:
b.hs .Lasm_JumpIf.assert_predicate_failure_7
cbnz x0, .Lasm_JumpIf.ssa_block_2
.Lasm_JumpIf.ssa_block_1:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #6]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -1836,14 +1848,14 @@ asm_handler_JumpIf_hot_end:
.p2align 4
asm_handler_JumpTrue:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x0, [x27, x0, lsl #3]
lsr x1, x0, #48
cmp w1, w23
b.ne .Lasm_JumpTrue.ssa_block_6
tbnz x0, #0, .Lasm_JumpTrue.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpTrue.ssa_block_6:
@@ -1856,8 +1868,8 @@ asm_handler_JumpTrue:
add x0, x0, x24
ldrh w0, [x0, #12]
tbz x0, #13, .Lasm_JumpTrue.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpTrue.ssa_block_2:
@@ -1865,18 +1877,18 @@ asm_handler_JumpTrue:
cmp x0, #2
b.hs .Lasm_JumpTrue.assert_predicate_failure_6
cbnz x0, .Lasm_JumpTrue.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpTrue.ssa_block_3:
cbnz w0, .Lasm_JumpTrue.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpTrue.ssa_block_1:
- ldur w0, [x21, #3]
+ ldur w0, [x21, #2]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -1885,14 +1897,14 @@ asm_handler_JumpTrue_hot_end:
.p2align 4
asm_handler_JumpFalse:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x0, [x27, x0, lsl #3]
lsr x1, x0, #48
cmp w1, w23
b.ne .Lasm_JumpFalse.ssa_block_6
tbz x0, #0, .Lasm_JumpFalse.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpFalse.ssa_block_6:
@@ -1905,8 +1917,8 @@ asm_handler_JumpFalse:
add x0, x0, x24
ldrh w0, [x0, #12]
tbnz x0, #13, .Lasm_JumpFalse.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpFalse.ssa_block_2:
@@ -1914,18 +1926,18 @@ asm_handler_JumpFalse:
cmp x0, #2
b.hs .Lasm_JumpFalse.assert_predicate_failure_6
cbz x0, .Lasm_JumpFalse.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpFalse.ssa_block_3:
cbz w0, .Lasm_JumpFalse.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpFalse.ssa_block_1:
- ldur w0, [x21, #3]
+ ldur w0, [x21, #2]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -1934,20 +1946,20 @@ asm_handler_JumpFalse_hot_end:
.p2align 4
asm_handler_JumpNullish:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x0, [x27, x0, lsl #3]
lsr x0, x0, #48
and w0, w0, #0xfffe
mov w9, #32766
cmp w0, w9
b.ne .Lasm_JumpNullish.ssa_block_2
- ldur w0, [x21, #3]
+ ldur w0, [x21, #2]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpNullish.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #6]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -1956,18 +1968,18 @@ asm_handler_JumpNullish_hot_end:
.p2align 4
asm_handler_JumpUndefined:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x0, [x27, x0, lsl #3]
movz x1, #0x7ffe, lsl #48
cmp x0, x1
b.ne .Lasm_JumpUndefined.ssa_block_2
- ldur w0, [x21, #3]
+ ldur w0, [x21, #2]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpUndefined.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #6]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -1976,8 +1988,8 @@ asm_handler_JumpUndefined_hot_end:
.p2align 4
asm_handler_JumpLessThan:
- ldurh w0, [x21, #3]
- ldurh w2, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w2, [x21, #4]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -1990,13 +2002,13 @@ asm_handler_JumpLessThan:
cmp w2, w0
b.ge .Lasm_JumpLessThan.ssa_block_3
.Lasm_JumpLessThan.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLessThan.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2005,8 +2017,8 @@ asm_handler_JumpLessThan_hot_end:
.p2align 4
asm_handler_JumpGreaterThan:
- ldurh w0, [x21, #3]
- ldurh w2, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w2, [x21, #4]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -2019,13 +2031,13 @@ asm_handler_JumpGreaterThan:
cmp w2, w0
b.le .Lasm_JumpGreaterThan.ssa_block_3
.Lasm_JumpGreaterThan.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpGreaterThan.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2034,8 +2046,8 @@ asm_handler_JumpGreaterThan_hot_end:
.p2align 4
asm_handler_JumpLessThanEquals:
- ldurh w0, [x21, #3]
- ldurh w2, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w2, [x21, #4]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -2048,13 +2060,13 @@ asm_handler_JumpLessThanEquals:
cmp w2, w0
b.gt .Lasm_JumpLessThanEquals.ssa_block_3
.Lasm_JumpLessThanEquals.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLessThanEquals.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2063,8 +2075,8 @@ asm_handler_JumpLessThanEquals_hot_end:
.p2align 4
asm_handler_JumpGreaterThanEquals:
- ldurh w0, [x21, #3]
- ldurh w2, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w2, [x21, #4]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -2077,13 +2089,13 @@ asm_handler_JumpGreaterThanEquals:
cmp w2, w0
b.lt .Lasm_JumpGreaterThanEquals.ssa_block_3
.Lasm_JumpGreaterThanEquals.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpGreaterThanEquals.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2092,8 +2104,8 @@ asm_handler_JumpGreaterThanEquals_hot_end:
.p2align 4
asm_handler_JumpLooselyEquals:
- ldurh w0, [x21, #3]
- ldurh w1, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w1, [x21, #4]
ldr x0, [x27, x0, lsl #3]
ldr x2, [x27, x1, lsl #3]
lsr x3, x2, #48
@@ -2173,13 +2185,13 @@ asm_handler_JumpLooselyEquals:
b.ne .Lasm_JumpLooselyEquals.ssa_block_22
b .Lasm_JumpLooselyEquals.ssa_block_1
.Lasm_JumpLooselyEquals.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLooselyEquals.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2188,8 +2200,8 @@ asm_handler_JumpLooselyEquals_hot_end:
.p2align 4
asm_handler_JumpLooselyInequals:
- ldurh w0, [x21, #3]
- ldurh w1, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w1, [x21, #4]
ldr x0, [x27, x0, lsl #3]
ldr x2, [x27, x1, lsl #3]
lsr x3, x2, #48
@@ -2269,13 +2281,13 @@ asm_handler_JumpLooselyInequals:
b.ne .Lasm_JumpLooselyInequals.ssa_block_22
b .Lasm_JumpLooselyInequals.ssa_block_1
.Lasm_JumpLooselyInequals.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLooselyInequals.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2284,8 +2296,8 @@ asm_handler_JumpLooselyInequals_hot_end:
.p2align 4
asm_handler_JumpStrictlyEquals:
- ldurh w0, [x21, #3]
- ldurh w1, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w1, [x21, #4]
ldr x0, [x27, x0, lsl #3]
ldr x2, [x27, x1, lsl #3]
lsr x3, x2, #48
@@ -2366,13 +2378,13 @@ asm_handler_JumpStrictlyEquals:
cmp w3, w9
b.ne .Lasm_JumpStrictlyEquals.ssa_block_20
.Lasm_JumpStrictlyEquals.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpStrictlyEquals.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2381,8 +2393,8 @@ asm_handler_JumpStrictlyEquals_hot_end:
.p2align 4
asm_handler_JumpStrictlyInequals:
- ldurh w0, [x21, #3]
- ldurh w1, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w1, [x21, #4]
ldr x0, [x27, x0, lsl #3]
ldr x2, [x27, x1, lsl #3]
lsr x3, x2, #48
@@ -2463,13 +2475,13 @@ asm_handler_JumpStrictlyInequals:
cmp w3, w9
b.ne .Lasm_JumpStrictlyInequals.ssa_block_20
.Lasm_JumpStrictlyInequals.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpStrictlyInequals.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2487,7 +2499,7 @@ asm_handler_JumpLoop_hot_end:
.p2align 4
asm_handler_JumpIfLoop:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x0, [x27, x0, lsl #3]
lsr x1, x0, #48
cmp w1, w23
@@ -2505,7 +2517,7 @@ asm_handler_JumpIfLoop:
ldrh w0, [x0, #12]
tbnz x0, #13, .Lasm_JumpIfLoop.ssa_block_1
.Lasm_JumpIfLoop.ssa_block_2:
- ldur w0, [x21, #3]
+ ldur w0, [x21, #2]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2516,7 +2528,7 @@ asm_handler_JumpIfLoop:
b.hs .Lasm_JumpIfLoop.assert_predicate_failure_7
cbnz x0, .Lasm_JumpIfLoop.ssa_block_2
.Lasm_JumpIfLoop.ssa_block_1:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #6]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2528,14 +2540,14 @@ asm_handler_JumpIfLoop_hot_end:
.p2align 4
asm_handler_JumpTrueLoop:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x0, [x27, x0, lsl #3]
lsr x1, x0, #48
cmp w1, w23
b.ne .Lasm_JumpTrueLoop.ssa_block_6
tbnz x0, #0, .Lasm_JumpTrueLoop.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpTrueLoop.ssa_block_6:
@@ -2548,8 +2560,8 @@ asm_handler_JumpTrueLoop:
add x0, x0, x24
ldrh w0, [x0, #12]
tbz x0, #13, .Lasm_JumpTrueLoop.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpTrueLoop.ssa_block_2:
@@ -2557,18 +2569,18 @@ asm_handler_JumpTrueLoop:
cmp x0, #2
b.hs .Lasm_JumpTrueLoop.assert_predicate_failure_6
cbnz x0, .Lasm_JumpTrueLoop.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpTrueLoop.ssa_block_3:
cbnz w0, .Lasm_JumpTrueLoop.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpTrueLoop.ssa_block_1:
- ldur w0, [x21, #3]
+ ldur w0, [x21, #2]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2577,14 +2589,14 @@ asm_handler_JumpTrueLoop_hot_end:
.p2align 4
asm_handler_JumpFalseLoop:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x0, [x27, x0, lsl #3]
lsr x1, x0, #48
cmp w1, w23
b.ne .Lasm_JumpFalseLoop.ssa_block_6
tbz x0, #0, .Lasm_JumpFalseLoop.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpFalseLoop.ssa_block_6:
@@ -2597,8 +2609,8 @@ asm_handler_JumpFalseLoop:
add x0, x0, x24
ldrh w0, [x0, #12]
tbnz x0, #13, .Lasm_JumpFalseLoop.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpFalseLoop.ssa_block_2:
@@ -2606,18 +2618,18 @@ asm_handler_JumpFalseLoop:
cmp x0, #2
b.hs .Lasm_JumpFalseLoop.assert_predicate_failure_6
cbz x0, .Lasm_JumpFalseLoop.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpFalseLoop.ssa_block_3:
cbz w0, .Lasm_JumpFalseLoop.ssa_block_1
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpFalseLoop.ssa_block_1:
- ldur w0, [x21, #3]
+ ldur w0, [x21, #2]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2626,8 +2638,8 @@ asm_handler_JumpFalseLoop_hot_end:
.p2align 4
asm_handler_JumpLessThanLoop:
- ldurh w0, [x21, #3]
- ldurh w2, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w2, [x21, #4]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -2640,13 +2652,13 @@ asm_handler_JumpLessThanLoop:
cmp w2, w0
b.ge .Lasm_JumpLessThanLoop.ssa_block_3
.Lasm_JumpLessThanLoop.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLessThanLoop.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2655,8 +2667,8 @@ asm_handler_JumpLessThanLoop_hot_end:
.p2align 4
asm_handler_JumpGreaterThanLoop:
- ldurh w0, [x21, #3]
- ldurh w2, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w2, [x21, #4]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -2669,13 +2681,13 @@ asm_handler_JumpGreaterThanLoop:
cmp w2, w0
b.le .Lasm_JumpGreaterThanLoop.ssa_block_3
.Lasm_JumpGreaterThanLoop.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpGreaterThanLoop.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2684,8 +2696,8 @@ asm_handler_JumpGreaterThanLoop_hot_end:
.p2align 4
asm_handler_JumpLessThanEqualsLoop:
- ldurh w0, [x21, #3]
- ldurh w2, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w2, [x21, #4]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -2698,13 +2710,13 @@ asm_handler_JumpLessThanEqualsLoop:
cmp w2, w0
b.gt .Lasm_JumpLessThanEqualsLoop.ssa_block_3
.Lasm_JumpLessThanEqualsLoop.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLessThanEqualsLoop.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2713,8 +2725,8 @@ asm_handler_JumpLessThanEqualsLoop_hot_end:
.p2align 4
asm_handler_JumpGreaterThanEqualsLoop:
- ldurh w0, [x21, #3]
- ldurh w2, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w2, [x21, #4]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -2727,13 +2739,13 @@ asm_handler_JumpGreaterThanEqualsLoop:
cmp w2, w0
b.lt .Lasm_JumpGreaterThanEqualsLoop.ssa_block_3
.Lasm_JumpGreaterThanEqualsLoop.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpGreaterThanEqualsLoop.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2742,8 +2754,8 @@ asm_handler_JumpGreaterThanEqualsLoop_hot_end:
.p2align 4
asm_handler_JumpLooselyEqualsLoop:
- ldurh w0, [x21, #3]
- ldurh w1, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w1, [x21, #4]
ldr x0, [x27, x0, lsl #3]
ldr x2, [x27, x1, lsl #3]
lsr x3, x2, #48
@@ -2823,13 +2835,13 @@ asm_handler_JumpLooselyEqualsLoop:
b.ne .Lasm_JumpLooselyEqualsLoop.ssa_block_22
b .Lasm_JumpLooselyEqualsLoop.ssa_block_1
.Lasm_JumpLooselyEqualsLoop.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLooselyEqualsLoop.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2838,8 +2850,8 @@ asm_handler_JumpLooselyEqualsLoop_hot_end:
.p2align 4
asm_handler_JumpLooselyInequalsLoop:
- ldurh w0, [x21, #3]
- ldurh w1, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w1, [x21, #4]
ldr x0, [x27, x0, lsl #3]
ldr x2, [x27, x1, lsl #3]
lsr x3, x2, #48
@@ -2919,13 +2931,13 @@ asm_handler_JumpLooselyInequalsLoop:
b.ne .Lasm_JumpLooselyInequalsLoop.ssa_block_22
b .Lasm_JumpLooselyInequalsLoop.ssa_block_1
.Lasm_JumpLooselyInequalsLoop.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLooselyInequalsLoop.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -2934,8 +2946,8 @@ asm_handler_JumpLooselyInequalsLoop_hot_end:
.p2align 4
asm_handler_JumpStrictlyEqualsLoop:
- ldurh w0, [x21, #3]
- ldurh w1, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w1, [x21, #4]
ldr x0, [x27, x0, lsl #3]
ldr x2, [x27, x1, lsl #3]
lsr x3, x2, #48
@@ -3016,13 +3028,13 @@ asm_handler_JumpStrictlyEqualsLoop:
cmp w3, w9
b.ne .Lasm_JumpStrictlyEqualsLoop.ssa_block_20
.Lasm_JumpStrictlyEqualsLoop.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpStrictlyEqualsLoop.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -3031,8 +3043,8 @@ asm_handler_JumpStrictlyEqualsLoop_hot_end:
.p2align 4
asm_handler_JumpStrictlyInequalsLoop:
- ldurh w0, [x21, #3]
- ldurh w1, [x21, #5]
+ ldrb w0, [x21, #3]
+ ldrb w1, [x21, #4]
ldr x0, [x27, x0, lsl #3]
ldr x2, [x27, x1, lsl #3]
lsr x3, x2, #48
@@ -3113,13 +3125,13 @@ asm_handler_JumpStrictlyInequalsLoop:
cmp w3, w9
b.ne .Lasm_JumpStrictlyInequalsLoop.ssa_block_20
.Lasm_JumpStrictlyInequalsLoop.ssa_block_2:
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpStrictlyInequalsLoop.ssa_block_3:
- ldur w0, [x21, #11]
+ ldur w0, [x21, #9]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -3128,7 +3140,7 @@ asm_handler_JumpStrictlyInequalsLoop_hot_end:
.p2align 4
asm_handler_Increment:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x1, [x27, x0, lsl #3]
lsr x9, x1, #48
cmp x9, x22
@@ -3137,15 +3149,15 @@ asm_handler_Increment:
b.vs .Lasm_Increment.ssa_block_1
movk x1, #0x7ffa, lsl #48
str x1, [x27, x0, lsl #3]
- ldrb w9, [x21, #5]
- add x21, x21, #5
+ ldrb w9, [x21, #4]
+ add x21, x21, #4
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_Increment_hot_end:
.p2align 4
asm_handler_Decrement:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x1, [x27, x0, lsl #3]
lsr x9, x1, #48
cmp x9, x22
@@ -3154,15 +3166,15 @@ asm_handler_Decrement:
b.vs .Lasm_Decrement.ssa_block_1
movk x1, #0x7ffa, lsl #48
str x1, [x27, x0, lsl #3]
- ldrb w9, [x21, #5]
- add x21, x21, #5
+ ldrb w9, [x21, #4]
+ add x21, x21, #4
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_Decrement_hot_end:
.p2align 4
asm_handler_Not:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #2]
ldr x0, [x27, x0, lsl #3]
lsr x1, x0, #48
cmp w1, w23
@@ -3174,12 +3186,12 @@ asm_handler_Not:
b.ne .Lasm_Not.ssa_block_6
cbnz w0, .Lasm_Not.ssa_block_2
.Lasm_Not.ssa_block_1:
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #5]
- add x21, x21, #5
+ ldrb w9, [x21, #3]
+ add x21, x21, #3
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Not.ssa_block_6:
@@ -3202,28 +3214,28 @@ asm_handler_Not:
ldrh w0, [x0, #12]
tbnz x0, #13, .Lasm_Not.ssa_block_1
.Lasm_Not.ssa_block_2:
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #5]
- add x21, x21, #5
+ ldrb w9, [x21, #3]
+ add x21, x21, #3
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_Not_hot_end:
.p2align 4
asm_handler_ToBoolean:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #2]
ldr x0, [x27, x0, lsl #3]
bl CSYM(asm_helper_to_boolean)
cmp x0, #2
b.hs .Lasm_ToBoolean.assert_predicate_failure_3
movz x1, #0x7ff9, lsl #48
orr x0, x0, x1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #5]
- add x21, x21, #5
+ ldrb w9, [x21, #3]
+ add x21, x21, #3
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_ToBoolean_hot_end:
@@ -3231,19 +3243,19 @@ asm_handler_ToBoolean_hot_end:
.p2align 4
asm_handler_Catch:
ldr x0, [x27, #8]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
movz x9, #0x7ffb, lsl #48
str x9, [x27, #8]
- ldrb w9, [x21, #5]
- add x21, x21, #5
+ ldrb w9, [x21, #4]
+ add x21, x21, #4
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_Catch_hot_end:
.p2align 4
asm_handler_Return:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x1, [x27, x0, lsl #3]
movz x2, #0x7ffb, lsl #48
cmp x1, x2
@@ -3293,7 +3305,7 @@ asm_handler_Return_hot_end:
.p2align 4
asm_handler_End:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x1, [x27, x0, lsl #3]
lsr x9, x1, #48
mov w10, #32763
@@ -3346,17 +3358,17 @@ asm_handler_GetLexicalEnvironment:
and x0, x0, #0x7ffffffff
movz x1, #0xfff8, lsl #48
orr x0, x0, x1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #3]
- add x21, x21, #3
+ ldrb w9, [x21, #2]
+ add x21, x21, #2
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_GetLexicalEnvironment_hot_end:
.p2align 4
asm_handler_SetLexicalEnvironment:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x0, [x27, x0, lsl #3]
lsr x1, x0, #48
mov w9, #65528
@@ -3365,8 +3377,8 @@ asm_handler_SetLexicalEnvironment:
and x0, x0, #0x7ffffffff
add x0, x0, x24
str x0, [x28, #32]
- ldrb w9, [x21, #3]
- add x21, x21, #3
+ ldrb w9, [x21, #2]
+ add x21, x21, #2
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_SetLexicalEnvironment_hot_end:
@@ -3394,7 +3406,7 @@ asm_handler_GetBinding:
movz x9, #0x7ffb, lsl #48
cmp x0, x9
b.eq .Lasm_GetBinding.ssa_block_1
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
ldrb w9, [x21, #15]
add x21, x21, #15
@@ -3439,7 +3451,7 @@ asm_handler_DynamicGetBinding:
movz x9, #0x7ffb, lsl #48
cmp x0, x9
b.eq .Lasm_DynamicGetBinding.ssa_block_1
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
ldrb w9, [x21, #9]
add x21, x21, #9
@@ -3467,7 +3479,7 @@ asm_handler_GetInitializedBinding:
ldr x0, [x0, #24]
cbz x0, .Lasm_GetInitializedBinding.assert_failure_0
ldr x0, [x0, x2, lsl #3]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
ldrb w9, [x21, #15]
add x21, x21, #15
@@ -3509,7 +3521,7 @@ asm_handler_DynamicGetInitializedBinding:
ldr x0, [x0, #24]
cbz x0, .Lasm_DynamicGetInitializedBinding.assert_failure_0
ldr x0, [x0, x2, lsl #3]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
ldrb w9, [x21, #9]
add x21, x21, #9
@@ -3536,7 +3548,7 @@ asm_handler_InitializeLexicalBinding:
cbz x0, .Lasm_InitializeLexicalBinding.assert_predicate_failure_12
ldr x0, [x0, #24]
cbz x0, .Lasm_InitializeLexicalBinding.assert_failure_0
- ldurh w1, [x21, #3]
+ ldrb w1, [x21, #4]
ldr x1, [x27, x1, lsl #3]
str x1, [x0, x2, lsl #3]
ldrb w9, [x21, #13]
@@ -3564,7 +3576,7 @@ asm_handler_InitializeVariableBinding:
cbz x0, .Lasm_InitializeVariableBinding.assert_predicate_failure_12
ldr x0, [x0, #24]
cbz x0, .Lasm_InitializeVariableBinding.assert_failure_0
- ldurh w1, [x21, #3]
+ ldrb w1, [x21, #4]
ldr x1, [x27, x1, lsl #3]
str x1, [x0, x2, lsl #3]
ldrb w9, [x21, #13]
@@ -3606,7 +3618,7 @@ asm_handler_DynamicInitializeLexicalBinding:
cbnz w9, .Lasm_DynamicInitializeLexicalBinding.ssa_block_1
ldr x0, [x0, #24]
cbz x0, .Lasm_DynamicInitializeLexicalBinding.assert_failure_0
- ldurh w1, [x21, #3]
+ ldrb w1, [x21, #4]
ldr x1, [x27, x1, lsl #3]
str x1, [x0, x2, lsl #3]
ldrb w9, [x21, #7]
@@ -3648,7 +3660,7 @@ asm_handler_DynamicInitializeVariableBinding:
cbnz w9, .Lasm_DynamicInitializeVariableBinding.ssa_block_1
ldr x0, [x0, #24]
cbz x0, .Lasm_DynamicInitializeVariableBinding.assert_failure_0
- ldurh w1, [x21, #3]
+ ldrb w1, [x21, #4]
ldr x1, [x27, x1, lsl #3]
str x1, [x0, x2, lsl #3]
ldrb w9, [x21, #7]
@@ -3715,7 +3727,7 @@ asm_handler_SetLexicalBinding:
tbnz x1, #1, 1f
b .Lasm_SetLexicalBinding.ssa_block_1
1:
- ldurh w1, [x21, #3]
+ ldrb w1, [x21, #4]
ldr x1, [x27, x1, lsl #3]
str x1, [x3, x0, lsl #3]
ldrb w9, [x21, #13]
@@ -3782,7 +3794,7 @@ asm_handler_SetVariableBinding:
tbnz x1, #1, 1f
b .Lasm_SetVariableBinding.ssa_block_1
1:
- ldurh w1, [x21, #3]
+ ldrb w1, [x21, #4]
ldr x1, [x27, x1, lsl #3]
str x1, [x3, x0, lsl #3]
ldrb w9, [x21, #13]
@@ -3863,7 +3875,7 @@ asm_handler_DynamicSetLexicalBinding:
tbnz x0, #1, 1f
b .Lasm_DynamicSetLexicalBinding.ssa_block_1
1:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
str x0, [x3, x1, lsl #3]
ldrb w9, [x21, #7]
@@ -3944,7 +3956,7 @@ asm_handler_DynamicSetVariableBinding:
tbnz x0, #1, 1f
b .Lasm_DynamicSetVariableBinding.ssa_block_1
1:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
str x0, [x3, x1, lsl #3]
ldrb w9, [x21, #7]
@@ -3955,27 +3967,27 @@ asm_handler_DynamicSetVariableBinding_hot_end:
.p2align 4
asm_handler_PostfixIncrement:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x1, [x27, x0, lsl #3]
lsr x9, x1, #48
cmp x9, x22
b.ne .Lasm_PostfixIncrement.ssa_block_2
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
adds w1, w1, #1
b.vs .Lasm_PostfixIncrement.ssa_block_1
movk x1, #0x7ffa, lsl #48
str x1, [x27, x0, lsl #3]
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #5]
+ add x21, x21, #5
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_PostfixIncrement_hot_end:
.p2align 4
asm_handler_Div:
- ldurh w0, [x21, #5]
- ldurh w2, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w2, [x21, #5]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -4012,10 +4024,10 @@ asm_handler_Div:
cbz w0, .Lasm_Div.ssa_block_2
.Lasm_Div.ssa_block_3:
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Div.ssa_block_2:
@@ -4026,18 +4038,18 @@ asm_handler_Div:
fcmp d0, d0
b.vs .Lasm_Div.canon_nan_0
.Lasm_Div.canon_nan_0_ret:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_Div_hot_end:
.p2align 4
asm_handler_LessThan:
- ldurh w0, [x21, #5]
- ldurh w2, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w2, [x21, #5]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -4050,28 +4062,28 @@ asm_handler_LessThan:
cmp w2, w0
b.ge .Lasm_LessThan.ssa_block_2
.Lasm_LessThan.ssa_block_1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_LessThan.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_LessThan_hot_end:
.p2align 4
asm_handler_LessThanEquals:
- ldurh w0, [x21, #5]
- ldurh w2, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w2, [x21, #5]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -4084,28 +4096,28 @@ asm_handler_LessThanEquals:
cmp w2, w0
b.gt .Lasm_LessThanEquals.ssa_block_2
.Lasm_LessThanEquals.ssa_block_1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_LessThanEquals.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_LessThanEquals_hot_end:
.p2align 4
asm_handler_GreaterThan:
- ldurh w0, [x21, #5]
- ldurh w2, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w2, [x21, #5]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -4118,28 +4130,28 @@ asm_handler_GreaterThan:
cmp w2, w0
b.le .Lasm_GreaterThan.ssa_block_2
.Lasm_GreaterThan.ssa_block_1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GreaterThan.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_GreaterThan_hot_end:
.p2align 4
asm_handler_GreaterThanEquals:
- ldurh w0, [x21, #5]
- ldurh w2, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w2, [x21, #5]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -4152,28 +4164,28 @@ asm_handler_GreaterThanEquals:
cmp w2, w0
b.lt .Lasm_GreaterThanEquals.ssa_block_2
.Lasm_GreaterThanEquals.ssa_block_1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GreaterThanEquals.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_GreaterThanEquals_hot_end:
.p2align 4
asm_handler_BitwiseXor:
- ldurh w0, [x21, #5]
- ldurh w2, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w2, [x21, #5]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -4184,108 +4196,108 @@ asm_handler_BitwiseXor:
b.ne .Lasm_BitwiseXor.ssa_block_2
eor w1, w1, w0
movk x1, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_BitwiseXor_hot_end:
.p2align 4
asm_handler_UnaryPlus:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_UnaryPlus.ssa_block_4
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #5]
+ add x21, x21, #5
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_UnaryPlus_hot_end:
.p2align 4
asm_handler_ThrowIfTDZ:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x0, [x27, x0, lsl #3]
movz x9, #0x7ffb, lsl #48
cmp x0, x9
b.eq .Lasm_ThrowIfTDZ.ssa_block_1
- ldrb w9, [x21, #3]
- add x21, x21, #3
+ ldrb w9, [x21, #2]
+ add x21, x21, #2
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_ThrowIfTDZ_hot_end:
.p2align 4
asm_handler_ThrowIfNotObject:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x0, [x27, x0, lsl #3]
lsr x9, x0, #48
mov w10, #65529
cmp x9, x10
b.ne .Lasm_ThrowIfNotObject.ssa_block_1
- ldrb w9, [x21, #3]
- add x21, x21, #3
+ ldrb w9, [x21, #2]
+ add x21, x21, #2
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_ThrowIfNotObject_hot_end:
.p2align 4
asm_handler_ThrowIfNullish:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x0, [x27, x0, lsl #3]
lsr x0, x0, #48
and w0, w0, #0xfffe
mov w9, #32766
cmp w0, w9
b.eq .Lasm_ThrowIfNullish.ssa_block_1
- ldrb w9, [x21, #3]
- add x21, x21, #3
+ ldrb w9, [x21, #2]
+ add x21, x21, #2
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_ThrowIfNullish_hot_end:
.p2align 4
asm_handler_ToPrimitiveWithStringHint:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #2]
ldr x0, [x27, x0, lsl #3]
lsr x9, x0, #48
mov w10, #65529
cmp x9, x10
b.eq .Lasm_ToPrimitiveWithStringHint.ssa_block_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #5]
- add x21, x21, #5
+ ldrb w9, [x21, #3]
+ add x21, x21, #3
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_ToPrimitiveWithStringHint_hot_end:
.p2align 4
asm_handler_BitwiseNot:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
lsr x9, x0, #48
cmp x9, x22
b.ne .Lasm_BitwiseNot.ssa_block_2
mvn w0, w0
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #5]
+ add x21, x21, #5
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_BitwiseNot_hot_end:
.p2align 4
asm_handler_BitwiseAnd:
- ldurh w0, [x21, #5]
- ldurh w2, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w2, [x21, #5]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -4296,18 +4308,18 @@ asm_handler_BitwiseAnd:
b.ne .Lasm_BitwiseAnd.ssa_block_2
and w1, w1, w0
movk x1, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_BitwiseAnd_hot_end:
.p2align 4
asm_handler_BitwiseOr:
- ldurh w0, [x21, #5]
- ldurh w2, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w2, [x21, #5]
ldr x1, [x27, x0, lsl #3]
ldr x0, [x27, x2, lsl #3]
lsr x2, x1, #48
@@ -4318,18 +4330,18 @@ asm_handler_BitwiseOr:
b.ne .Lasm_BitwiseOr.ssa_block_2
orr w1, w1, w0
movk x1, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_BitwiseOr_hot_end:
.p2align 4
asm_handler_LeftShift:
- ldurh w0, [x21, #5]
- ldurh w1, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w1, [x21, #5]
ldr x0, [x27, x0, lsl #3]
ldr x1, [x27, x1, lsl #3]
lsr x9, x0, #48
@@ -4340,18 +4352,18 @@ asm_handler_LeftShift:
b.ne .Lasm_LeftShift.ssa_block_1
lsl w0, w0, w1
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_LeftShift_hot_end:
.p2align 4
asm_handler_RightShift:
- ldurh w0, [x21, #5]
- ldurh w1, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w1, [x21, #5]
ldr x0, [x27, x0, lsl #3]
ldr x1, [x27, x1, lsl #3]
lsr x9, x0, #48
@@ -4362,18 +4374,18 @@ asm_handler_RightShift:
b.ne .Lasm_RightShift.ssa_block_1
asr w0, w0, w1
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_RightShift_hot_end:
.p2align 4
asm_handler_UnsignedRightShift:
- ldurh w0, [x21, #5]
- ldurh w1, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w1, [x21, #5]
ldr x0, [x27, x0, lsl #3]
ldr x1, [x27, x1, lsl #3]
lsr x9, x0, #48
@@ -4387,22 +4399,22 @@ asm_handler_UnsignedRightShift:
b .Lasm_UnsignedRightShift.ssa_block_2
1:
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_UnsignedRightShift_hot_end:
.p2align 4
asm_handler_Mod:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
lsr x9, x0, #48
cmp x9, x22
b.ne .Lasm_Mod.ssa_block_2
- ldurh w1, [x21, #7]
+ ldrb w1, [x21, #5]
ldr x1, [x27, x1, lsl #3]
lsr x9, x1, #48
cmp x9, x22
@@ -4414,18 +4426,18 @@ asm_handler_Mod:
sdiv w9, w0, w1
msub w0, w9, w1, w0
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_Mod_hot_end:
.p2align 4
asm_handler_StrictlyEquals:
- ldurh w0, [x21, #5]
- ldurh w1, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w1, [x21, #5]
ldr x0, [x27, x0, lsl #3]
ldr x2, [x27, x1, lsl #3]
lsr x3, x2, #48
@@ -4506,28 +4518,28 @@ asm_handler_StrictlyEquals:
cmp w3, w9
b.ne .Lasm_StrictlyEquals.ssa_block_20
.Lasm_StrictlyEquals.ssa_block_3:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_StrictlyEquals.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_StrictlyEquals_hot_end:
.p2align 4
asm_handler_StrictlyInequals:
- ldurh w0, [x21, #5]
- ldurh w1, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w1, [x21, #5]
ldr x0, [x27, x0, lsl #3]
ldr x2, [x27, x1, lsl #3]
lsr x3, x2, #48
@@ -4608,20 +4620,20 @@ asm_handler_StrictlyInequals:
cmp w3, w9
b.ne .Lasm_StrictlyInequals.ssa_block_20
.Lasm_StrictlyInequals.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_StrictlyInequals.ssa_block_3:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_StrictlyInequals_hot_end:
@@ -4629,7 +4641,7 @@ asm_handler_StrictlyInequals_hot_end:
.p2align 4
asm_handler_GetCalleeAndThisFromEnvironment:
ldr x0, [x28, #32]
- add x1, x21, #9
+ add x1, x21, #8
ldp w1, w2, [x1, #0]
cbz x0, .Lasm_GetCalleeAndThisFromEnvironment.assert_predicate_failure_9
cbz w1, .Lasm_GetCalleeAndThisFromEnvironment.ssa_block_3
@@ -4649,13 +4661,13 @@ asm_handler_GetCalleeAndThisFromEnvironment:
movz x9, #0x7ffb, lsl #48
cmp x0, x9
b.eq .Lasm_GetCalleeAndThisFromEnvironment.ssa_block_1
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #4]
movz x10, #0x7ffe, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #16]
+ add x21, x21, #16
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_GetCalleeAndThisFromEnvironment_hot_end:
@@ -4664,7 +4676,7 @@ asm_handler_GetCalleeAndThisFromEnvironment_hot_end:
asm_handler_DynamicGetCalleeAndThisFromEnvironment:
ldr x0, [x28, #88]
ldr x0, [x0, #200]
- ldurh w1, [x21, #9]
+ ldrh w1, [x21, #8]
add x0, x0, x1, lsl #3
ldp w1, w2, [x0, #0]
movn w9, #1
@@ -4697,21 +4709,21 @@ asm_handler_DynamicGetCalleeAndThisFromEnvironment:
movz x9, #0x7ffb, lsl #48
cmp x0, x9
b.eq .Lasm_DynamicGetCalleeAndThisFromEnvironment.ssa_block_1
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #4]
movz x10, #0x7ffe, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #10]
+ add x21, x21, #10
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_DynamicGetCalleeAndThisFromEnvironment_hot_end:
.p2align 4
asm_handler_LooselyEquals:
- ldurh w0, [x21, #5]
- ldurh w1, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w1, [x21, #5]
ldr x0, [x27, x0, lsl #3]
ldr x2, [x27, x1, lsl #3]
lsr x3, x2, #48
@@ -4791,28 +4803,28 @@ asm_handler_LooselyEquals:
b.ne .Lasm_LooselyEquals.ssa_block_22
b .Lasm_LooselyEquals.ssa_block_1
.Lasm_LooselyEquals.ssa_block_3:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_LooselyEquals.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_LooselyEquals_hot_end:
.p2align 4
asm_handler_LooselyInequals:
- ldurh w0, [x21, #5]
- ldurh w1, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w1, [x21, #5]
ldr x0, [x27, x0, lsl #3]
ldr x2, [x27, x1, lsl #3]
lsr x3, x2, #48
@@ -4892,27 +4904,27 @@ asm_handler_LooselyInequals:
b.ne .Lasm_LooselyInequals.ssa_block_22
b .Lasm_LooselyInequals.ssa_block_1
.Lasm_LooselyInequals.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_LooselyInequals.ssa_block_3:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_LooselyInequals_hot_end:
.p2align 4
asm_handler_UnaryMinus:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
lsr x1, x0, #48
cmp w1, w22
@@ -4921,58 +4933,58 @@ asm_handler_UnaryMinus:
negs w0, w0
b.vs .Lasm_UnaryMinus.ssa_block_2
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #5]
+ add x21, x21, #5
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_UnaryMinus_hot_end:
.p2align 4
asm_handler_PostfixDecrement:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x1, [x27, x0, lsl #3]
lsr x9, x1, #48
cmp x9, x22
b.ne .Lasm_PostfixDecrement.ssa_block_2
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
subs w1, w1, #1
b.vs .Lasm_PostfixDecrement.ssa_block_1
movk x1, #0x7ffa, lsl #48
str x1, [x27, x0, lsl #3]
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #5]
+ add x21, x21, #5
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_PostfixDecrement_hot_end:
.p2align 4
asm_handler_ToInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
lsr x9, x0, #48
cmp x9, x22
b.ne .Lasm_ToInt32.ssa_block_2
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #5]
+ add x21, x21, #5
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_ToInt32_hot_end:
.p2align 4
asm_handler_PutByValue:
- ldrb w9, [x21, #9]
+ ldrb w9, [x21, #6]
cbnz w9, .Lasm_PutByValue.ssa_block_1
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x4, [x27, x0, lsl #3]
lsr x9, x4, #48
cmp x9, x22
b.ne .Lasm_PutByValue.ssa_block_4
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x3, [x27, x0, lsl #3]
lsr x9, x3, #48
mov w10, #65529
@@ -4997,11 +5009,11 @@ asm_handler_PutByValue:
ldur w2, [x1, #-8]
cmp x0, x2
b.hs .Lasm_PutByValue.ssa_block_1
- ldurh w2, [x21, #7]
+ ldrb w2, [x21, #5]
ldr x2, [x27, x2, lsl #3]
str x2, [x1, x0, lsl #3]
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutByValue.ssa_switch_10_after_preferred:
@@ -5019,11 +5031,11 @@ asm_handler_PutByValue:
movz x9, #0x7ffb, lsl #48
cmp x2, x9
b.eq .Lasm_PutByValue.ssa_block_5
- ldurh w2, [x21, #7]
+ ldrb w2, [x21, #5]
ldr x2, [x27, x2, lsl #3]
str x2, [x1, x0, lsl #3]
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutByValue.ssa_block_11:
@@ -5040,7 +5052,7 @@ asm_handler_PutByValue:
cmp x0, x4
b.hs .Lasm_PutByValue.ssa_block_1
ldrb w3, [x3, #64]
- ldurh w4, [x21, #7]
+ ldrb w4, [x21, #5]
ldr x4, [x27, x4, lsl #3]
lsr x5, x4, #48
cmp w5, w22
@@ -5067,8 +5079,8 @@ asm_handler_PutByValue:
and x0, x0, #0x3ffffffffff
adds x0, x0, x1
strb w4, [x0]
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutByValue.ssa_block_16:
@@ -5076,8 +5088,8 @@ asm_handler_PutByValue:
and x0, x0, #0x3ffffffffff
adds x0, x0, x1
strh w4, [x0]
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutByValue.ssa_block_17:
@@ -5088,8 +5100,8 @@ asm_handler_PutByValue:
mov x4, #0
.Lasm_PutByValue.ssa_block_23:
strb w4, [x0]
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutByValue.ssa_block_22:
@@ -5102,8 +5114,8 @@ asm_handler_PutByValue:
and x0, x0, #0x3ffffffffff
adds x0, x0, x1
str w4, [x0]
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutByValue.ssa_block_19:
@@ -5113,8 +5125,8 @@ asm_handler_PutByValue:
scvtf d0, w4
fcvt s0, d0
str s0, [x0]
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutByValue.ssa_block_20:
@@ -5124,8 +5136,8 @@ asm_handler_PutByValue:
scvtf d0, w4
fmov x1, d0
str x1, [x0]
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutByValue.ssa_block_7:
@@ -5141,8 +5153,8 @@ asm_handler_PutByValue:
fmov d0, x4
fcvt s0, d0
str s0, [x0]
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutByValue.ssa_switch_7_after_preferred:
@@ -5167,8 +5179,8 @@ asm_handler_PutByValue:
and x0, x0, #0x3ffffffffff
adds x0, x0, x1
str x4, [x0]
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutByValue.ssa_block_29:
@@ -5187,8 +5199,8 @@ asm_handler_PutByValue:
and x0, x0, #0x3ffffffffff
adds x0, x0, x1
strb w3, [x0]
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutByValue.ssa_block_30:
@@ -5207,8 +5219,8 @@ asm_handler_PutByValue:
and x0, x0, #0x3ffffffffff
adds x0, x0, x1
strh w3, [x0]
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutByValue.ssa_block_31:
@@ -5227,8 +5239,8 @@ asm_handler_PutByValue:
and x0, x0, #0x3ffffffffff
adds x1, x1, x0
str w3, [x1]
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutByValue.ssa_block_4:
@@ -5236,13 +5248,13 @@ asm_handler_PutByValue:
cbz x0, .Lasm_PutByValue.assert_predicate_failure_15
ldr x0, [x0, #152]
cbz x0, .Lasm_PutByValue.assert_failure_1
- ldurh w1, [x21, #15]
+ ldrh w1, [x21, #12]
ldr x0, [x0, x1, lsl #3]
cbz x0, .Lasm_PutByValue.ssa_block_1
cmp x0, #3
b.eq .Lasm_PutByValue.ssa_block_2
and x0, x0, #0xfffffffffffffffc
- ldurh w1, [x21, #3]
+ ldrb w1, [x21, #3]
ldr x2, [x27, x1, lsl #3]
lsr x9, x2, #48
mov w10, #65529
@@ -5273,18 +5285,18 @@ asm_handler_PutByValue:
mov w10, #65532
cmp x9, x10
b.eq .Lasm_PutByValue.ssa_block_3
- ldurh w1, [x21, #7]
+ ldrb w1, [x21, #5]
ldr x1, [x27, x1, lsl #3]
str x1, [x0, x3, lsl #3]
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_PutByValue_hot_end:
.p2align 4
asm_handler_GetById:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x3, [x27, x0, lsl #3]
lsr x9, x3, #48
mov w10, #65529
@@ -5299,7 +5311,7 @@ asm_handler_GetById:
cbz x1, .Lasm_GetById.assert_predicate_failure_123
ldr x2, [x1, #152]
cbz x2, .Lasm_GetById.assert_failure_1
- ldurh w4, [x21, #11]
+ ldrh w4, [x21, #10]
ldr x2, [x2, x4, lsl #3]
cbz x2, .Lasm_GetById.ssa_block_1
and x2, x2, #0xfffffffffffffffc
@@ -5325,16 +5337,16 @@ asm_handler_GetById:
mov w10, #65532
cmp x9, x10
b.eq .Lasm_GetById.ssa_block_17
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #13]
- add x21, x21, #13
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetById.ssa_block_15:
ldr x1, [x1, #152]
cbz x1, .Lasm_GetById.assert_failure_3
- ldurh w2, [x21, #11]
+ ldrh w2, [x21, #10]
ldr x1, [x1, x2, lsl #3]
mov x2, x1
and x2, x2, #0x3
@@ -5372,17 +5384,17 @@ asm_handler_GetById:
mov w10, #65532
cmp x9, x10
b.eq .Lasm_GetById.ssa_block_1
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #13]
- add x21, x21, #13
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_GetById_hot_end:
.p2align 4
asm_handler_PutById:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x2, [x27, x0, lsl #3]
lsr x9, x2, #48
mov w10, #65529
@@ -5397,7 +5409,7 @@ asm_handler_PutById:
cbz x0, .Lasm_PutById.assert_predicate_failure_14
ldr x0, [x0, #152]
cbz x0, .Lasm_PutById.assert_failure_1
- ldurh w3, [x21, #11]
+ ldrh w3, [x21, #10]
ldr x0, [x0, x3, lsl #3]
cbz x0, .Lasm_PutById.ssa_block_2
and x0, x0, #0xfffffffffffffffc
@@ -5419,23 +5431,23 @@ asm_handler_PutById:
mov w10, #65532
cmp x9, x10
b.eq .Lasm_PutById.ssa_block_2
- ldurh w1, [x21, #5]
+ ldrb w1, [x21, #5]
ldr x1, [x27, x1, lsl #3]
str x1, [x0, x3, lsl #3]
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_PutById_hot_end:
.p2align 4
asm_handler_GetByValue:
- ldurh w0, [x21, #9]
+ ldrb w0, [x21, #7]
ldr x4, [x27, x0, lsl #3]
lsr x9, x4, #48
cmp x9, x22
b.ne .Lasm_GetByValue.ssa_block_5
- ldurh w0, [x21, #7]
+ ldrb w0, [x21, #6]
ldr x3, [x27, x0, lsl #3]
lsr x0, x3, #48
mov w9, #65529
@@ -5461,10 +5473,10 @@ asm_handler_GetByValue:
cmp x0, x2
b.hs .Lasm_GetByValue.ssa_block_1
ldr x0, [x1, x0, lsl #3]
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetByValue.ssa_switch_21_after_preferred:
@@ -5482,10 +5494,10 @@ asm_handler_GetByValue:
movz x9, #0x7ffb, lsl #48
cmp x0, x9
b.eq .Lasm_GetByValue.ssa_block_1
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetByValue.ssa_block_20:
@@ -5509,10 +5521,10 @@ asm_handler_GetByValue:
adds x0, x0, x1
ldrb w0, [x0]
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetByValue.ssa_switch_20_after_preferred:
@@ -5565,10 +5577,10 @@ asm_handler_GetByValue:
1:
.Lasm_GetByValue.ssa_block_11:
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetByValue.ssa_block_30:
@@ -5601,10 +5613,10 @@ asm_handler_GetByValue:
b.ne .Lasm_GetByValue.ssa_block_10
.Lasm_GetByValue.ssa_block_9:
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetByValue.ssa_block_10:
@@ -5612,10 +5624,10 @@ asm_handler_GetByValue:
fcmp d0, d0
b.vs .Lasm_GetByValue.canon_nan_1
.Lasm_GetByValue.canon_nan_1_ret:
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetByValue.ssa_block_8:
@@ -5672,14 +5684,14 @@ asm_handler_GetByValue:
mov w10, #65530
cmp x9, x10
b.ne .Lasm_GetByValue.assert_predicate_failure_297
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetByValue.ssa_block_5:
- ldurh w0, [x21, #7]
+ ldrb w0, [x21, #6]
ldr x2, [x27, x0, lsl #3]
lsr x9, x2, #48
mov w10, #65529
@@ -5688,7 +5700,7 @@ asm_handler_GetByValue:
ldr x0, [x28, #88]
ldr x1, [x0, #152]
cbz x1, .Lasm_GetByValue.assert_failure_2
- ldurh w3, [x21, #13]
+ ldrh w3, [x21, #10]
ldr x1, [x1, x3, lsl #3]
and x2, x2, #0x7ffffffff
add x2, x2, x24
@@ -5697,7 +5709,7 @@ asm_handler_GetByValue:
cbz x0, .Lasm_GetByValue.assert_predicate_failure_231
ldr x0, [x0, #152]
cbz x0, .Lasm_GetByValue.assert_failure_3
- ldurh w1, [x21, #13]
+ ldrh w1, [x21, #10]
ldr x0, [x0, x1, lsl #3]
cbz x0, .Lasm_GetByValue.ssa_block_1
cmp x0, #3
@@ -5728,17 +5740,17 @@ asm_handler_GetByValue:
mov w10, #65532
cmp x9, x10
b.eq .Lasm_GetByValue.ssa_block_1
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_GetByValue_hot_end:
.p2align 4
asm_handler_GetLength:
- ldurh w0, [x21, #7]
+ ldrb w0, [x21, #6]
ldr x2, [x27, x0, lsl #3]
lsr x0, x2, #48
mov w9, #65529
@@ -5753,10 +5765,10 @@ asm_handler_GetLength:
b .Lasm_GetLength.ssa_block_3
1:
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #13]
- add x21, x21, #13
+ ldrb w9, [x21, #11]
+ add x21, x21, #11
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetLength.ssa_block_6:
@@ -5767,7 +5779,7 @@ asm_handler_GetLength:
cbz x0, .Lasm_GetLength.assert_predicate_failure_21
ldr x0, [x0, #152]
cbz x0, .Lasm_GetLength.assert_failure_1
- ldurh w3, [x21, #11]
+ ldurh w3, [x21, #9]
ldr x0, [x0, x3, lsl #3]
cbz x0, .Lasm_GetLength.ssa_block_1
and x0, x0, #0xfffffffffffffffc
@@ -5790,10 +5802,10 @@ asm_handler_GetLength:
mov w10, #65532
cmp x9, x10
b.eq .Lasm_GetLength.ssa_block_1
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #13]
- add x21, x21, #13
+ ldrb w9, [x21, #11]
+ add x21, x21, #11
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetLength.ssa_block_2:
@@ -5807,10 +5819,10 @@ asm_handler_GetLength:
b .Lasm_GetLength.ssa_block_1
1:
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #13]
- add x21, x21, #13
+ ldrb w9, [x21, #11]
+ add x21, x21, #11
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_GetLength_hot_end:
@@ -5849,7 +5861,7 @@ asm_handler_GetGlobal:
mov w10, #65532
cmp x9, x10
b.eq .Lasm_GetGlobal.ssa_block_1
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
ldrb w9, [x21, #9]
add x21, x21, #9
@@ -5865,7 +5877,7 @@ asm_handler_GetGlobal:
movz x9, #0x7ffb, lsl #48
cmp x0, x9
b.eq .Lasm_GetGlobal.ssa_block_1
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
ldrb w9, [x21, #9]
add x21, x21, #9
@@ -5900,7 +5912,7 @@ asm_handler_ResolveGlobalBinding:
ldr w9, [x1, #40]
cmp w9, w2
b.ne .Lasm_ResolveGlobalBinding.ssa_block_2
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
@@ -5911,7 +5923,7 @@ asm_handler_ResolveGlobalBinding:
.Lasm_ResolveGlobalBinding.ssa_block_2:
ldrb w9, [x0, #76]
cbz w9, .Lasm_ResolveGlobalBinding.ssa_block_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
@@ -5957,7 +5969,7 @@ asm_handler_SetGlobal:
b.eq .Lasm_SetGlobal.ssa_block_1
ldrb w9, [x0, #13]
cbz w9, .Lasm_SetGlobal.ssa_block_1
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
str x0, [x1, x4, lsl #3]
ldrb w9, [x21, #7]
@@ -6009,7 +6021,7 @@ asm_handler_SetGlobal:
tbnz x1, #1, 1f
b .Lasm_SetGlobal.ssa_block_1
1:
- ldurh w1, [x21, #3]
+ ldrb w1, [x21, #4]
ldr x1, [x27, x1, lsl #3]
str x1, [x3, x0, lsl #3]
ldrb w9, [x21, #7]
@@ -6020,7 +6032,7 @@ asm_handler_SetGlobal_hot_end:
.p2align 4
asm_handler_Call:
- ldurh w0, [x21, #7]
+ ldrb w0, [x21, #6]
ldr x1, [x27, x0, lsl #3]
lsr x9, x1, #48
mov w10, #65529
@@ -6047,7 +6059,7 @@ asm_handler_Call:
tbnz x0, #33, .Lasm_Call.ssa_block_2
movz x6, #0x7ffb, lsl #48
tbz x0, #34, .Lasm_Call.ssa_block_9
- ldurh w3, [x21, #9]
+ ldrb w3, [x21, #7]
ldr x6, [x27, x3, lsl #3]
tbnz x0, #35, .Lasm_Call.ssa_block_9
lsr x3, x6, #48
@@ -6074,7 +6086,7 @@ asm_handler_Call:
cmp w3, w9
b.ne .Lasm_Call.ssa_block_2
.Lasm_Call.ssa_block_9:
- ldur w4, [x21, #11]
+ ldrb w4, [x21, #8]
mov w3, w0
cmp x3, x4
b.hs .Lasm_Call.ssa_block_29
@@ -6104,7 +6116,7 @@ asm_handler_Call:
mov x8, x20
str x5, [x8, #16]
stp w7, w3, [x0, #116]
- ldur w5, [x21, #11]
+ ldrb w5, [x21, #8]
str w5, [x0, #104]
ldr w5, [x1, #20]
cbz x5, .Lasm_Call.assert_failure_6
@@ -6117,7 +6129,7 @@ asm_handler_Call:
add x9, x24, w5, uxtw #3
cmp w5, #0
csel x5, x9, xzr, ne
- cbz x5, .Lasm_Call.assert_predicate_failure_414
+ cbz x5, .Lasm_Call.assert_predicate_failure_415
stp x5, x5, [x0, #32]
str xzr, [x0, #48]
ldrb w9, [x1, #15]
@@ -6157,26 +6169,25 @@ asm_handler_Call:
strb wzr, [x0, #124]
strb wzr, [x0, #125]
str x28, [x0, #96]
- ldur w1, [x21, #11]
- mov w2, #17
- adds x2, x2, x1
- adds x2, x2, x1
- ldurh w5, [x21, #5]
- sub w1, w21, w26
- adds x2, x2, x1
- str w1, [x28, #64]
- stp w2, w5, [x0, #108]
- ldur w2, [x21, #11]
+ ldrb w2, [x21, #8]
+ mov w1, #11
+ adds x1, x1, x2
+ ldrb w5, [x21, #5]
+ sub w2, w21, w26
+ adds x1, x1, x2
+ str w2, [x28, #64]
+ stp w1, w5, [x0, #108]
+ ldrb w2, [x21, #8]
cmp x3, x2
- b.lo .Lasm_Call.assert_predicate_failure_274
+ b.lo .Lasm_Call.assert_predicate_failure_275
add x6, x28, #128
- add x7, x21, #17
+ add x7, x21, #11
add x5, x0, #128
mov x1, #0
.Lasm_Call.ssa_block_19:
cmp x1, x2
b.hs .Lasm_Call.ssa_block_18
- ldrh w8, [x7, x1, lsl #1]
+ ldrb w8, [x7, x1]
ldr x8, [x6, x8, lsl #3]
str x8, [x5, x4, lsl #3]
add x1, x1, #1
@@ -6194,7 +6205,7 @@ asm_handler_Call:
b .Lasm_Call.ssa_block_22
.Lasm_Call.ssa_block_21:
ldr x1, [x0, #88]
- cbz x1, .Lasm_Call.assert_predicate_failure_298
+ cbz x1, .Lasm_Call.assert_predicate_failure_299
ldr x26, [x1, #40]
cbz x26, .Lasm_Call.assert_failure_10
mov x1, x20
@@ -6210,7 +6221,7 @@ asm_handler_Call:
tbnz x0, #1, 1f
b .Lasm_Call.ssa_block_1
1:
- ldur w3, [x21, #11]
+ ldrb w3, [x21, #8]
mov x0, x20
ldp x0, x4, [x0, #16]
cbz x0, .Lasm_Call.assert_failure_11
@@ -6219,7 +6230,7 @@ asm_handler_Call:
add x2, x2, #128
adds x2, x2, x0
cmp x2, x0
- b.lo .Lasm_Call.assert_predicate_failure_35
+ b.lo .Lasm_Call.assert_predicate_failure_36
cmp x2, x4
b.hi .Lasm_Call.ssa_block_1
mov x4, x20
@@ -6227,7 +6238,7 @@ asm_handler_Call:
mov x4, x5
add x4, x4, #8, lsl #12
cmp x4, x5
- b.lo .Lasm_Call.assert_predicate_failure_43
+ b.lo .Lasm_Call.assert_predicate_failure_44
cmp x4, x29
b.hi .Lasm_Call.ssa_block_1
mov x4, x20
@@ -6242,12 +6253,12 @@ asm_handler_Call:
add x2, x24, w2, uxtw #3
stp x1, x2, [x0, #0]
ldp x2, x4, [x28, #32]
- cbz x2, .Lasm_Call.assert_predicate_failure_68
- cbz x4, .Lasm_Call.assert_predicate_failure_70
+ cbz x2, .Lasm_Call.assert_predicate_failure_69
+ cbz x4, .Lasm_Call.assert_predicate_failure_71
stp x2, x4, [x0, #32]
ldr x2, [x28, #48]
str x2, [x0, #48]
- ldurh w2, [x21, #9]
+ ldrb w2, [x21, #7]
ldr x2, [x27, x2, lsl #3]
str x2, [x0, #80]
str xzr, [x0, #16]
@@ -6268,24 +6279,23 @@ asm_handler_Call:
strb wzr, [x0, #79]
strb wzr, [x0, #124]
strb wzr, [x0, #125]
- ldur w2, [x21, #11]
- mov w4, #17
- adds x4, x4, x2
- adds x4, x4, x2
- ldurh w5, [x21, #5]
- sub w2, w21, w26
- adds x4, x4, x2
- str w2, [x28, #64]
+ ldrb w4, [x21, #8]
+ mov w2, #11
+ adds x2, x2, x4
+ ldrb w5, [x21, #5]
+ sub w4, w21, w26
+ adds x2, x2, x4
+ str w4, [x28, #64]
str x28, [x0, #96]
- stp w4, w5, [x0, #108]
+ stp w2, w5, [x0, #108]
add x4, x28, #128
- add x5, x21, #17
+ add x5, x21, #11
add x6, x0, #128
mov x2, #0
.Lasm_Call.ssa_block_25:
cmp x2, x3
b.hs .Lasm_Call.ssa_block_24
- ldrh w7, [x5, x2, lsl #1]
+ ldrb w7, [x5, x2]
ldr x7, [x4, x7, lsl #3]
str x7, [x6, x2, lsl #3]
add x2, x2, #1
@@ -6303,7 +6313,7 @@ asm_handler_Call:
adds x0, x0, x1
ldr w1, [x0, #8]
cmp x1, #1
- b.hs .Lasm_Call.assert_predicate_failure_334
+ b.hs .Lasm_Call.assert_predicate_failure_335
ldr x2, [x0]
cbz x2, .Lasm_Call.assert_failure_17
mov x9, x2
@@ -6311,28 +6321,27 @@ asm_handler_Call:
blr x9
and x1, x1, #0xff
cmp x1, #2
- b.hs .Lasm_Call.assert_predicate_failure_341
+ b.hs .Lasm_Call.assert_predicate_failure_342
cbnz x1, .Lasm_Call.ssa_block_4
ldr x1, [x28, #96]
- cbz x1, .Lasm_Call.assert_predicate_failure_347
+ cbz x1, .Lasm_Call.assert_predicate_failure_348
mov x2, x20
str x1, [x2]
str x28, [x2, #16]
mov x28, x1
add x27, x28, #128
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x0, [x27, x9, lsl #3]
- ldur w0, [x21, #11]
- mov w1, #17
- adds x1, x1, x0
- adds x1, x1, x0
- add x21, x21, w1, uxtw
+ ldrb w1, [x21, #8]
+ mov w0, #11
+ adds x0, x0, x1
+ add x21, x21, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Call.ssa_block_2:
add x9, sp, #0
- ldur w10, [x21, #11]
+ ldrb w10, [x21, #8]
lsl x10, x10, #3
add x10, x10, #55
and x10, x10, #0xfffffffffffffff0
@@ -6355,22 +6364,22 @@ asm_handler_Call:
.Lasm_Call.values_allocated_21:
add sp, x14, #0
str x9, [sp]
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #6]
ldr x11, [x27, x12, lsl #3]
.Lasm_Call.value_ready_22:
str x11, [sp, #24]
- ldurh w12, [x21, #9]
+ ldrb w12, [x21, #7]
ldr x11, [x27, x12, lsl #3]
.Lasm_Call.value_ready_23:
str x11, [sp, #32]
mov w9, #0
- ldur w10, [x21, #11]
+ ldrb w10, [x21, #8]
add x14, sp, #40
- add x3, x21, #17
+ add x3, x21, #11
.Lasm_Call.array_value_next_24:
cmp x9, x10
b.hs .Lasm_Call.array_values_end_26
- ldrh w12, [x3, x9, lsl #1]
+ ldrb w12, [x3, x9]
ldr x11, [x27, x12, lsl #3]
.Lasm_Call.array_value_ready_25:
str x11, [x14, x9, lsl #3]
@@ -6386,7 +6395,7 @@ asm_handler_Call:
cmp x9, x28
b.ne .Lasm_Call.values_restore_stack_27
cbnz x0, .Lasm_Call.values_exceptional_outputs_28
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #5]
ldr x11, [sp, #16]
str x11, [x27, x12, lsl #3]
.Lasm_Call.skip_output_value_29:
@@ -6414,7 +6423,7 @@ asm_handler_Call_hot_end:
.p2align 4
asm_handler_ObjectPropertyIteratorNext:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #3]
ldr x3, [x27, x0, lsl #3]
lsr x9, x3, #48
mov w10, #65529
@@ -6422,7 +6431,7 @@ asm_handler_ObjectPropertyIteratorNext:
b.ne .Lasm_ObjectPropertyIteratorNext.ssa_block_1
and x3, x3, #0x7ffffffff
add x3, x3, x24
- ldurh w0, [x21, #7]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
lsr x1, x0, #48
mov w9, #65528
@@ -6468,7 +6477,7 @@ asm_handler_ObjectPropertyIteratorNext:
ldrb w9, [x1, #11]
cbz w9, .Lasm_ObjectPropertyIteratorNext.ssa_block_1
.Lasm_ObjectPropertyIteratorNext.ssa_block_8:
- ldurh w2, [x21, #9]
+ ldrb w2, [x21, #5]
ldr x1, [x27, x2, lsl #3]
lsr x9, x1, #48
cmp x9, x22
@@ -6487,31 +6496,31 @@ asm_handler_ObjectPropertyIteratorNext:
ldr x0, [x0, #32]
cbz x0, .Lasm_ObjectPropertyIteratorNext.assert_predicate_failure_66
ldr x0, [x0, x1, lsl #3]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x0, [x27, x9, lsl #3]
movk x3, #0x7ffa, lsl #48
str x3, [x27, x2, lsl #3]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_ObjectPropertyIteratorNext.ssa_block_13:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_ObjectPropertyIteratorNext_hot_end:
.p2align 4
asm_handler_IteratorClose:
- ldurh w0, [x21, #1]
+ ldrb w0, [x21, #1]
ldr x0, [x27, x0, lsl #3]
lsr x9, x0, #48
cmp x9, x22
@@ -6521,15 +6530,15 @@ asm_handler_IteratorClose:
cbz x0, .Lasm_IteratorClose.ssa_block_1
ldrb w9, [x0, #11]
cbz w9, .Lasm_IteratorClose.ssa_block_1
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #11]
+ add x21, x21, #11
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_IteratorClose.ssa_block_3:
ldr x1, [x28, #88]
ldr x1, [x1, #152]
cbz x1, .Lasm_IteratorClose.assert_failure_0
- ldurh w2, [x21, #13]
+ ldurh w2, [x21, #9]
lsl x2, x2, #3
adds x1, x1, x2
bl CSYM(asm_try_get_by_id_cache)
@@ -6538,15 +6547,15 @@ asm_handler_IteratorClose:
mov w9, #32766
cmp w0, w9
b.ne .Lasm_IteratorClose.ssa_block_1
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #11]
+ add x21, x21, #11
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_IteratorClose_hot_end:
.p2align 4
asm_handler_IteratorNextUnpack:
- ldurh w2, [x21, #5]
+ ldrb w2, [x21, #3]
ldr x0, [x27, x2, lsl #3]
lsr x9, x0, #48
cmp x9, x22
@@ -6555,12 +6564,12 @@ asm_handler_IteratorNextUnpack:
tbz w0, #31, 1f
b .Lasm_IteratorNextUnpack.ssa_block_1
1:
- ldurh w3, [x21, #9]
+ ldrb w3, [x21, #5]
ldr x1, [x27, x3, lsl #3]
tbz x1, #0, 1f
b .Lasm_IteratorNextUnpack.ssa_block_1
1:
- ldurh w1, [x21, #7]
+ ldrb w1, [x21, #4]
ldr x1, [x27, x1, lsl #3]
lsr x9, x1, #48
mov w10, #65529
@@ -6578,18 +6587,18 @@ asm_handler_IteratorNextUnpack:
ldr w4, [x1, #16]
cmp x0, x4
b.lo .Lasm_IteratorNextUnpack.ssa_block_7
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
movz x10, #0x7ffe, lsl #48
str x10, [x27, x9, lsl #3]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
movz x9, #0x1, lsl #0
movk x9, #0x7ff9, lsl #48
str x9, [x27, x3, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_IteratorNextUnpack.ssa_block_7:
@@ -6609,22 +6618,22 @@ asm_handler_IteratorNextUnpack:
b.eq .Lasm_IteratorNextUnpack.ssa_block_1
adds w0, w0, #1
b.vs .Lasm_IteratorNextUnpack.ssa_block_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
movk x0, #0x7ffa, lsl #48
str x0, [x27, x2, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_IteratorNextUnpack_hot_end:
.p2align 4
asm_handler_IsCallable:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #2]
ldr x0, [x27, x0, lsl #3]
lsr x9, x0, #48
mov w10, #65529
@@ -6634,20 +6643,20 @@ asm_handler_IsCallable:
add x0, x0, x24
ldrh w0, [x0, #12]
tbz x0, #7, .Lasm_IsCallable.ssa_block_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #5]
- add x21, x21, #5
+ ldrb w9, [x21, #3]
+ add x21, x21, #3
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_IsCallable.ssa_block_1:
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #5]
- add x21, x21, #5
+ ldrb w9, [x21, #3]
+ add x21, x21, #3
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_IsCallable_hot_end:
@@ -6681,19 +6690,19 @@ asm_handler_ResolveThisBinding_hot_end:
.p2align 4
asm_handler_MovSrcUndefined:
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
movz x10, #0x7ffe, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #3]
- add x21, x21, #3
+ ldrb w9, [x21, #2]
+ add x21, x21, #2
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_MovSrcUndefined_hot_end:
.p2align 4
asm_handler_AddLhsInt32:
- ldur w2, [x21, #5]
- ldurh w0, [x21, #9]
+ ldr w2, [x21, #4]
+ ldrb w0, [x21, #8]
ldr x0, [x27, x0, lsl #3]
lsr x1, x0, #48
cmp w1, w22
@@ -6701,57 +6710,57 @@ asm_handler_AddLhsInt32:
adds w2, w2, w0
b.vs .Lasm_AddLhsInt32.ssa_block_8
movk x2, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x2, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_AddLhsInt32_hot_end:
.p2align 4
asm_handler_AddRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_AddRhsInt32.ssa_block_5
- ldur w9, [x21, #7]
+ ldur w9, [x21, #5]
adds w0, w0, w9
b.vs .Lasm_AddRhsInt32.ssa_checked_6_failure
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_AddRhsInt32_hot_end:
.p2align 4
asm_handler_SubRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_SubRhsInt32.ssa_block_5
- ldur w9, [x21, #7]
+ ldur w9, [x21, #5]
subs w0, w0, w9
b.vs .Lasm_SubRhsInt32.ssa_checked_6_failure
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_SubRhsInt32_hot_end:
.p2align 4
asm_handler_MulRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
lsr x2, x0, #48
cmp w2, w22
b.ne .Lasm_MulRhsInt32.ssa_block_6
@@ -6767,19 +6776,19 @@ asm_handler_MulRhsInt32:
1:
.Lasm_MulRhsInt32.ssa_block_11:
movk x2, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x2, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_MulRhsInt32_hot_end:
.p2align 4
asm_handler_DivRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w2, [x21, #7]
+ ldur w2, [x21, #5]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_DivRhsInt32.ssa_block_11
@@ -6802,10 +6811,10 @@ asm_handler_DivRhsInt32:
cbz w0, .Lasm_DivRhsInt32.ssa_block_2
.Lasm_DivRhsInt32.ssa_block_3:
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_DivRhsInt32.ssa_block_2:
@@ -6816,109 +6825,109 @@ asm_handler_DivRhsInt32:
fcmp d0, d0
b.vs .Lasm_DivRhsInt32.canon_nan_0
.Lasm_DivRhsInt32.canon_nan_0_ret:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_DivRhsInt32_hot_end:
.p2align 4
asm_handler_BitwiseXorRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
lsr x9, x0, #48
cmp x9, x22
b.ne .Lasm_BitwiseXorRhsInt32.ssa_block_2
eor w0, w0, w1
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_BitwiseXorRhsInt32_hot_end:
.p2align 4
asm_handler_BitwiseAndRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
lsr x9, x0, #48
cmp x9, x22
b.ne .Lasm_BitwiseAndRhsInt32.ssa_block_2
and w0, w0, w1
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_BitwiseAndRhsInt32_hot_end:
.p2align 4
asm_handler_BitwiseOrRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
lsr x9, x0, #48
cmp x9, x22
b.ne .Lasm_BitwiseOrRhsInt32.ssa_block_2
orr w0, w0, w1
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_BitwiseOrRhsInt32_hot_end:
.p2align 4
asm_handler_LeftShiftRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
lsr x9, x0, #48
cmp x9, x22
b.ne .Lasm_LeftShiftRhsInt32.ssa_block_1
lsl w0, w0, w1
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_LeftShiftRhsInt32_hot_end:
.p2align 4
asm_handler_RightShiftRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
lsr x9, x0, #48
cmp x9, x22
b.ne .Lasm_RightShiftRhsInt32.ssa_block_1
asr w0, w0, w1
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_RightShiftRhsInt32_hot_end:
.p2align 4
asm_handler_UnsignedRightShiftRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
lsr x9, x0, #48
cmp x9, x22
b.ne .Lasm_UnsignedRightShiftRhsInt32.ssa_block_1
@@ -6927,22 +6936,22 @@ asm_handler_UnsignedRightShiftRhsInt32:
b .Lasm_UnsignedRightShiftRhsInt32.ssa_block_2
1:
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_UnsignedRightShiftRhsInt32_hot_end:
.p2align 4
asm_handler_ModRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
lsr x9, x0, #48
cmp x9, x22
b.ne .Lasm_ModRhsInt32.ssa_block_2
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
cbz w1, .Lasm_ModRhsInt32.ssa_block_1
tbz w0, #31, 1f
b .Lasm_ModRhsInt32.ssa_block_2
@@ -6950,148 +6959,148 @@ asm_handler_ModRhsInt32:
sdiv w9, w0, w1
msub w0, w9, w1, w0
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_ModRhsInt32_hot_end:
.p2align 4
asm_handler_LessThanRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w2, [x21, #7]
+ ldur w2, [x21, #5]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_LessThanRhsInt32.ssa_block_8
cmp w0, w2
b.lt .Lasm_LessThanRhsInt32.ssa_block_1
.Lasm_LessThanRhsInt32.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_LessThanRhsInt32.ssa_block_1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_LessThanRhsInt32_hot_end:
.p2align 4
asm_handler_LessThanEqualsRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w2, [x21, #7]
+ ldur w2, [x21, #5]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_LessThanEqualsRhsInt32.ssa_block_8
cmp w0, w2
b.le .Lasm_LessThanEqualsRhsInt32.ssa_block_1
.Lasm_LessThanEqualsRhsInt32.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_LessThanEqualsRhsInt32.ssa_block_1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_LessThanEqualsRhsInt32_hot_end:
.p2align 4
asm_handler_GreaterThanRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w2, [x21, #7]
+ ldur w2, [x21, #5]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_GreaterThanRhsInt32.ssa_block_8
cmp w0, w2
b.gt .Lasm_GreaterThanRhsInt32.ssa_block_1
.Lasm_GreaterThanRhsInt32.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GreaterThanRhsInt32.ssa_block_1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_GreaterThanRhsInt32_hot_end:
.p2align 4
asm_handler_GreaterThanEqualsRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w2, [x21, #7]
+ ldur w2, [x21, #5]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_GreaterThanEqualsRhsInt32.ssa_block_8
cmp w0, w2
b.ge .Lasm_GreaterThanEqualsRhsInt32.ssa_block_1
.Lasm_GreaterThanEqualsRhsInt32.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GreaterThanEqualsRhsInt32.ssa_block_1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
- str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ str x10, [x27, x9, lsl #3]
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_GreaterThanEqualsRhsInt32_hot_end:
.p2align 4
asm_handler_JumpLessThanRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w2, [x21, #5]
+ ldr w2, [x21, #4]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_JumpLessThanRhsInt32.ssa_block_8
cmp w0, w2
b.lt .Lasm_JumpLessThanRhsInt32.ssa_block_2
.Lasm_JumpLessThanRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLessThanRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -7100,22 +7109,22 @@ asm_handler_JumpLessThanRhsInt32_hot_end:
.p2align 4
asm_handler_JumpLessThanEqualsRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w2, [x21, #5]
+ ldr w2, [x21, #4]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_JumpLessThanEqualsRhsInt32.ssa_block_8
cmp w0, w2
b.le .Lasm_JumpLessThanEqualsRhsInt32.ssa_block_2
.Lasm_JumpLessThanEqualsRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLessThanEqualsRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -7124,22 +7133,22 @@ asm_handler_JumpLessThanEqualsRhsInt32_hot_end:
.p2align 4
asm_handler_JumpGreaterThanRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w2, [x21, #5]
+ ldr w2, [x21, #4]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_JumpGreaterThanRhsInt32.ssa_block_8
cmp w0, w2
b.gt .Lasm_JumpGreaterThanRhsInt32.ssa_block_2
.Lasm_JumpGreaterThanRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpGreaterThanRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -7148,22 +7157,22 @@ asm_handler_JumpGreaterThanRhsInt32_hot_end:
.p2align 4
asm_handler_JumpGreaterThanEqualsRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w2, [x21, #5]
+ ldr w2, [x21, #4]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_JumpGreaterThanEqualsRhsInt32.ssa_block_8
cmp w0, w2
b.ge .Lasm_JumpGreaterThanEqualsRhsInt32.ssa_block_2
.Lasm_JumpGreaterThanEqualsRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpGreaterThanEqualsRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -7172,9 +7181,9 @@ asm_handler_JumpGreaterThanEqualsRhsInt32_hot_end:
.p2align 4
asm_handler_StrictlyEqualsRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
b .Lasm_StrictlyEqualsRhsInt32.ssa_block_9
lsr x2, x0, #48
@@ -7254,29 +7263,29 @@ asm_handler_StrictlyEqualsRhsInt32:
cmp w2, w9
b.ne .Lasm_StrictlyEqualsRhsInt32.ssa_block_20
.Lasm_StrictlyEqualsRhsInt32.ssa_block_3:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_StrictlyEqualsRhsInt32.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_StrictlyEqualsRhsInt32_hot_end:
.p2align 4
asm_handler_StrictlyInequalsRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
b .Lasm_StrictlyInequalsRhsInt32.ssa_block_9
lsr x2, x0, #48
@@ -7356,29 +7365,29 @@ asm_handler_StrictlyInequalsRhsInt32:
cmp w2, w9
b.ne .Lasm_StrictlyInequalsRhsInt32.ssa_block_20
.Lasm_StrictlyInequalsRhsInt32.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_StrictlyInequalsRhsInt32.ssa_block_3:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_StrictlyInequalsRhsInt32_hot_end:
.p2align 4
asm_handler_LooselyEqualsRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
b .Lasm_LooselyEqualsRhsInt32.ssa_block_9
lsr x2, x0, #48
@@ -7452,29 +7461,29 @@ asm_handler_LooselyEqualsRhsInt32:
b.ne .Lasm_LooselyEqualsRhsInt32.ssa_block_22
b .Lasm_LooselyEqualsRhsInt32.ssa_block_1
.Lasm_LooselyEqualsRhsInt32.ssa_block_3:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_LooselyEqualsRhsInt32.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_LooselyEqualsRhsInt32_hot_end:
.p2align 4
asm_handler_LooselyInequalsRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
b .Lasm_LooselyInequalsRhsInt32.ssa_block_9
lsr x2, x0, #48
@@ -7548,29 +7557,29 @@ asm_handler_LooselyInequalsRhsInt32:
b.ne .Lasm_LooselyInequalsRhsInt32.ssa_block_22
b .Lasm_LooselyInequalsRhsInt32.ssa_block_1
.Lasm_LooselyInequalsRhsInt32.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x1, lsl #0
movk x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_LooselyInequalsRhsInt32.ssa_block_3:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x7ff9, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_LooselyInequalsRhsInt32_hot_end:
.p2align 4
asm_handler_JumpStrictlyEqualsRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #5]
+ ldr w1, [x21, #4]
movk x1, #0x7ffa, lsl #48
b .Lasm_JumpStrictlyEqualsRhsInt32.ssa_block_9
lsr x2, x0, #48
@@ -7650,13 +7659,13 @@ asm_handler_JumpStrictlyEqualsRhsInt32:
cmp w2, w9
b.ne .Lasm_JumpStrictlyEqualsRhsInt32.ssa_block_20
.Lasm_JumpStrictlyEqualsRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpStrictlyEqualsRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -7665,9 +7674,9 @@ asm_handler_JumpStrictlyEqualsRhsInt32_hot_end:
.p2align 4
asm_handler_JumpStrictlyInequalsRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #5]
+ ldr w1, [x21, #4]
movk x1, #0x7ffa, lsl #48
b .Lasm_JumpStrictlyInequalsRhsInt32.ssa_block_9
lsr x2, x0, #48
@@ -7747,13 +7756,13 @@ asm_handler_JumpStrictlyInequalsRhsInt32:
cmp w2, w9
b.ne .Lasm_JumpStrictlyInequalsRhsInt32.ssa_block_20
.Lasm_JumpStrictlyInequalsRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpStrictlyInequalsRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -7762,9 +7771,9 @@ asm_handler_JumpStrictlyInequalsRhsInt32_hot_end:
.p2align 4
asm_handler_JumpLooselyEqualsRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #5]
+ ldr w1, [x21, #4]
movk x1, #0x7ffa, lsl #48
b .Lasm_JumpLooselyEqualsRhsInt32.ssa_block_9
lsr x2, x0, #48
@@ -7838,13 +7847,13 @@ asm_handler_JumpLooselyEqualsRhsInt32:
b.ne .Lasm_JumpLooselyEqualsRhsInt32.ssa_block_22
b .Lasm_JumpLooselyEqualsRhsInt32.ssa_block_1
.Lasm_JumpLooselyEqualsRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLooselyEqualsRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -7853,9 +7862,9 @@ asm_handler_JumpLooselyEqualsRhsInt32_hot_end:
.p2align 4
asm_handler_JumpLooselyInequalsRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #5]
+ ldr w1, [x21, #4]
movk x1, #0x7ffa, lsl #48
b .Lasm_JumpLooselyInequalsRhsInt32.ssa_block_9
lsr x2, x0, #48
@@ -7929,13 +7938,13 @@ asm_handler_JumpLooselyInequalsRhsInt32:
b.ne .Lasm_JumpLooselyInequalsRhsInt32.ssa_block_22
b .Lasm_JumpLooselyInequalsRhsInt32.ssa_block_1
.Lasm_JumpLooselyInequalsRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLooselyInequalsRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -7944,22 +7953,22 @@ asm_handler_JumpLooselyInequalsRhsInt32_hot_end:
.p2align 4
asm_handler_JumpLessThanLoopRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w2, [x21, #5]
+ ldr w2, [x21, #4]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_JumpLessThanLoopRhsInt32.ssa_block_8
cmp w0, w2
b.lt .Lasm_JumpLessThanLoopRhsInt32.ssa_block_2
.Lasm_JumpLessThanLoopRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLessThanLoopRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -7968,22 +7977,22 @@ asm_handler_JumpLessThanLoopRhsInt32_hot_end:
.p2align 4
asm_handler_JumpLessThanEqualsLoopRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w2, [x21, #5]
+ ldr w2, [x21, #4]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_JumpLessThanEqualsLoopRhsInt32.ssa_block_8
cmp w0, w2
b.le .Lasm_JumpLessThanEqualsLoopRhsInt32.ssa_block_2
.Lasm_JumpLessThanEqualsLoopRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLessThanEqualsLoopRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -7992,22 +8001,22 @@ asm_handler_JumpLessThanEqualsLoopRhsInt32_hot_end:
.p2align 4
asm_handler_JumpGreaterThanLoopRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w2, [x21, #5]
+ ldr w2, [x21, #4]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_JumpGreaterThanLoopRhsInt32.ssa_block_8
cmp w0, w2
b.gt .Lasm_JumpGreaterThanLoopRhsInt32.ssa_block_2
.Lasm_JumpGreaterThanLoopRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpGreaterThanLoopRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -8016,22 +8025,22 @@ asm_handler_JumpGreaterThanLoopRhsInt32_hot_end:
.p2align 4
asm_handler_JumpGreaterThanEqualsLoopRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w2, [x21, #5]
+ ldr w2, [x21, #4]
lsr x1, x0, #48
cmp w1, w22
b.ne .Lasm_JumpGreaterThanEqualsLoopRhsInt32.ssa_block_8
cmp w0, w2
b.ge .Lasm_JumpGreaterThanEqualsLoopRhsInt32.ssa_block_2
.Lasm_JumpGreaterThanEqualsLoopRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpGreaterThanEqualsLoopRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -8040,9 +8049,9 @@ asm_handler_JumpGreaterThanEqualsLoopRhsInt32_hot_end:
.p2align 4
asm_handler_JumpStrictlyEqualsLoopRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #5]
+ ldr w1, [x21, #4]
movk x1, #0x7ffa, lsl #48
b .Lasm_JumpStrictlyEqualsLoopRhsInt32.ssa_block_9
lsr x2, x0, #48
@@ -8122,13 +8131,13 @@ asm_handler_JumpStrictlyEqualsLoopRhsInt32:
cmp w2, w9
b.ne .Lasm_JumpStrictlyEqualsLoopRhsInt32.ssa_block_20
.Lasm_JumpStrictlyEqualsLoopRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpStrictlyEqualsLoopRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -8137,9 +8146,9 @@ asm_handler_JumpStrictlyEqualsLoopRhsInt32_hot_end:
.p2align 4
asm_handler_JumpStrictlyInequalsLoopRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #5]
+ ldr w1, [x21, #4]
movk x1, #0x7ffa, lsl #48
b .Lasm_JumpStrictlyInequalsLoopRhsInt32.ssa_block_9
lsr x2, x0, #48
@@ -8219,13 +8228,13 @@ asm_handler_JumpStrictlyInequalsLoopRhsInt32:
cmp w2, w9
b.ne .Lasm_JumpStrictlyInequalsLoopRhsInt32.ssa_block_20
.Lasm_JumpStrictlyInequalsLoopRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpStrictlyInequalsLoopRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -8234,9 +8243,9 @@ asm_handler_JumpStrictlyInequalsLoopRhsInt32_hot_end:
.p2align 4
asm_handler_JumpLooselyEqualsLoopRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #5]
+ ldr w1, [x21, #4]
movk x1, #0x7ffa, lsl #48
b .Lasm_JumpLooselyEqualsLoopRhsInt32.ssa_block_9
lsr x2, x0, #48
@@ -8310,13 +8319,13 @@ asm_handler_JumpLooselyEqualsLoopRhsInt32:
b.ne .Lasm_JumpLooselyEqualsLoopRhsInt32.ssa_block_22
b .Lasm_JumpLooselyEqualsLoopRhsInt32.ssa_block_1
.Lasm_JumpLooselyEqualsLoopRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLooselyEqualsLoopRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -8325,9 +8334,9 @@ asm_handler_JumpLooselyEqualsLoopRhsInt32_hot_end:
.p2align 4
asm_handler_JumpLooselyInequalsLoopRhsInt32:
- ldurh w0, [x21, #3]
+ ldrb w0, [x21, #3]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #5]
+ ldr w1, [x21, #4]
movk x1, #0x7ffa, lsl #48
b .Lasm_JumpLooselyInequalsLoopRhsInt32.ssa_block_9
lsr x2, x0, #48
@@ -8401,13 +8410,13 @@ asm_handler_JumpLooselyInequalsLoopRhsInt32:
b.ne .Lasm_JumpLooselyInequalsLoopRhsInt32.ssa_block_22
b .Lasm_JumpLooselyInequalsLoopRhsInt32.ssa_block_1
.Lasm_JumpLooselyInequalsLoopRhsInt32.ssa_block_2:
- ldur w0, [x21, #9]
+ ldr w0, [x21, #8]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_JumpLooselyInequalsLoopRhsInt32.ssa_block_3:
- ldur w0, [x21, #13]
+ ldr w0, [x21, #12]
add x21, x26, w0, uxtw
ldrb w9, [x21]
ldr x10, [x19, x9, lsl #3]
@@ -8420,6 +8429,8 @@ asm_handler_Enter_cold:
asm_handler_Enter_cold_end:
asm_handler_Mov_cold:
asm_handler_Mov_cold_end:
+asm_handler_MovWide_cold:
+asm_handler_MovWide_cold_end:
asm_handler_Add_cold:
// Cold paths for Add
.Lasm_Add.ssa_checked_6_failure:
@@ -8430,10 +8441,10 @@ asm_handler_Add_cold:
scvtf d1, w0
fadd d0, d0, d1
fmov x0, d0
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Add.ssa_block_8:
@@ -8487,19 +8498,19 @@ asm_handler_Add_cold:
b.vs .Lasm_Add.canon_nan_0
.Lasm_Add.canon_nan_0_ret:
.Lasm_Add.ssa_box_number_6_done:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Add.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x1
mov x4, x0
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -8554,10 +8565,10 @@ asm_handler_Sub_cold:
scvtf d1, w0
fsub d0, d0, d1
fmov x0, d0
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Sub.ssa_block_8:
@@ -8611,19 +8622,19 @@ asm_handler_Sub_cold:
b.vs .Lasm_Sub.canon_nan_0
.Lasm_Sub.canon_nan_0_ret:
.Lasm_Sub.ssa_box_number_6_done:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Sub.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x1
mov x4, x0
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -8677,18 +8688,18 @@ asm_handler_Mul_cold:
scvtf d1, w0
fmul d0, d0, d1
fmov x0, d0
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Mul.ssa_block_3:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x8000, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Mul.ssa_block_9:
@@ -8742,19 +8753,19 @@ asm_handler_Mul_cold:
b.vs .Lasm_Mul.canon_nan_0
.Lasm_Mul.canon_nan_0_ret:
.Lasm_Mul.ssa_box_number_6_done:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Mul.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x1
mov x4, x0
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -8801,16 +8812,16 @@ asm_handler_Mul_cold:
asm_handler_Mul_cold_end:
.p2align 4
asm_handler_Exp:
- ldurh w0, [x21, #5]
- ldurh w1, [x21, #7]
+ ldrb w0, [x21, #4]
+ ldrb w1, [x21, #5]
ldr x0, [x27, x0, lsl #3]
ldr x1, [x27, x1, lsl #3]
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -8855,11 +8866,11 @@ asm_handler_ConcatString:
sub w1, w21, w26
str w1, [x28, #64]
sub sp, sp, #16
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [x27, x12, lsl #3]
.Lasm_ConcatString.value_ready_1:
mov x4, x11
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #2]
ldr x11, [x27, x12, lsl #3]
.Lasm_ConcatString.value_ready_2:
mov x5, x11
@@ -8870,7 +8881,7 @@ asm_handler_ConcatString:
bl CSYM(asm_slow_path_concat_string)
tbnz x0, #63, .Lasm_ConcatString.values_exceptional_outputs_4
tbz x0, #32, .Lasm_ConcatString.values_exceptional_outputs_4
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_ConcatString.skip_output_value_5:
@@ -8883,7 +8894,7 @@ asm_handler_ConcatString:
ldr x9, [x20]
cmp x9, x28
b.ne .Lasm_ConcatString.values_restore_stack_3
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_ConcatString.skip_exceptional_output_6:
@@ -8917,7 +8928,7 @@ asm_handler_CopyObjectExcludingProperties:
sub w1, w21, w26
str w1, [x28, #64]
add x9, sp, #0
- ldur w10, [x21, #5]
+ ldrb w10, [x21, #4]
lsl x10, x10, #3
add x10, x10, #47
and x10, x10, #0xfffffffffffffff0
@@ -8942,18 +8953,18 @@ asm_handler_CopyObjectExcludingProperties:
.Lasm_CopyObjectExcludingProperties.values_allocated_3:
add sp, x14, #0
str x9, [sp]
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #2]
ldr x11, [x27, x12, lsl #3]
.Lasm_CopyObjectExcludingProperties.value_ready_4:
str x11, [sp, #24]
mov w9, #0
- ldur w10, [x21, #5]
+ ldrb w10, [x21, #4]
add x14, sp, #32
- add x3, x21, #9
+ add x3, x21, #5
.Lasm_CopyObjectExcludingProperties.array_value_next_5:
cmp x9, x10
b.hs .Lasm_CopyObjectExcludingProperties.array_values_end_7
- ldrh w12, [x3, x9, lsl #1]
+ ldrb w12, [x3, x9]
ldr x11, [x27, x12, lsl #3]
.Lasm_CopyObjectExcludingProperties.array_value_ready_6:
str x11, [x14, x9, lsl #3]
@@ -8967,7 +8978,7 @@ asm_handler_CopyObjectExcludingProperties:
bl CSYM(asm_slow_path_copy_object_excluding_properties)
tbnz x0, #63, .Lasm_CopyObjectExcludingProperties.values_exceptional_outputs_9
tbz x0, #32, .Lasm_CopyObjectExcludingProperties.values_exceptional_outputs_9
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [sp, #16]
str x11, [x27, x12, lsl #3]
.Lasm_CopyObjectExcludingProperties.skip_output_value_10:
@@ -9008,11 +9019,11 @@ asm_handler_ImportCall:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_ImportCall.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #3]
ldr x10, [x27, x9, lsl #3]
.Lasm_ImportCall.scalar_value_ready_1:
mov x4, x10
@@ -9022,7 +9033,7 @@ asm_handler_ImportCall:
bl CSYM(asm_slow_path_import_call)
tbnz x0, #63, .Lasm_ImportCall.scalar_result_done_2
tbz x0, #32, .Lasm_ImportCall.scalar_result_done_2
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -9061,7 +9072,7 @@ asm_handler_GetClassFieldInitializerName:
bl CSYM(asm_slow_path_get_class_field_initializer_name)
tbnz x0, #63, .Lasm_GetClassFieldInitializerName.scalar_result_done_0
tbz x0, #32, .Lasm_GetClassFieldInitializerName.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -9094,7 +9105,7 @@ asm_handler_GetClassProtoParent:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetClassProtoParent.scalar_value_ready_0:
mov x3, x10
@@ -9104,7 +9115,7 @@ asm_handler_GetClassProtoParent:
bl CSYM(asm_slow_path_get_class_proto_parent)
tbnz x0, #63, .Lasm_GetClassProtoParent.scalar_result_done_1
tbz x0, #32, .Lasm_GetClassProtoParent.scalar_result_done_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -9138,7 +9149,7 @@ asm_handler_NewClass:
sub w1, w21, w26
str w1, [x28, #64]
add x9, sp, #0
- ldur w10, [x21, #17]
+ ldrb w10, [x21, #14]
lsl x10, x10, #3
add x10, x10, #71
and x10, x10, #0xfffffffffffffff0
@@ -9164,43 +9175,43 @@ asm_handler_NewClass:
add sp, x14, #0
str x9, [sp]
movz x11, #0x7ffb, lsl #48
- ldurh w12, [x21, #3]
- mov w13, #65535
+ ldrb w12, [x21, #2]
+ mov w13, #255
cmp w12, w13
b.eq .Lasm_NewClass.value_ready_4
ldr x11, [x27, x12, lsl #3]
.Lasm_NewClass.value_ready_4:
str x11, [sp, #24]
movz x11, #0x7ffb, lsl #48
- ldurh w12, [x21, #5]
- mov w13, #65535
+ ldrb w12, [x21, #3]
+ mov w13, #255
cmp w12, w13
b.eq .Lasm_NewClass.value_ready_5
ldr x11, [x27, x12, lsl #3]
.Lasm_NewClass.value_ready_5:
str x11, [sp, #32]
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #4]
ldr x11, [x27, x12, lsl #3]
.Lasm_NewClass.value_ready_6:
str x11, [sp, #40]
movz x11, #0x7ffb, lsl #48
- ldurh w12, [x21, #15]
- mov w13, #65535
+ ldrb w12, [x21, #12]
+ mov w13, #255
cmp w12, w13
b.eq .Lasm_NewClass.value_ready_7
ldr x11, [x27, x12, lsl #3]
.Lasm_NewClass.value_ready_7:
str x11, [sp, #48]
mov w9, #0
- ldur w10, [x21, #17]
+ ldrb w10, [x21, #14]
add x14, sp, #56
- add x3, x21, #21
+ add x3, x21, #15
.Lasm_NewClass.array_value_next_8:
cmp x9, x10
b.hs .Lasm_NewClass.array_values_end_10
- ldrh w12, [x3, x9, lsl #1]
+ ldrb w12, [x3, x9]
movz x11, #0x7ffb, lsl #48
- mov w13, #65535
+ mov w13, #255
cmp w12, w13
b.eq .Lasm_NewClass.array_value_ready_9
ldr x11, [x27, x12, lsl #3]
@@ -9216,7 +9227,7 @@ asm_handler_NewClass:
bl CSYM(asm_slow_path_new_class)
tbnz x0, #63, .Lasm_NewClass.values_exceptional_outputs_12
tbz x0, #32, .Lasm_NewClass.values_exceptional_outputs_12
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [sp, #16]
str x11, [x27, x12, lsl #3]
.Lasm_NewClass.skip_output_value_13:
@@ -9298,8 +9309,8 @@ asm_handler_JumpLessThan_cold:
b.mi .Lasm_JumpLessThan.ssa_block_2
b .Lasm_JumpLessThan.ssa_block_3
.Lasm_JumpLessThan.ssa_block_1:
- ldur w2, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w2, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x2
mov x2, x1
mov x5, x3
@@ -9362,8 +9373,8 @@ asm_handler_JumpGreaterThan_cold:
b.gt .Lasm_JumpGreaterThan.ssa_block_2
b .Lasm_JumpGreaterThan.ssa_block_3
.Lasm_JumpGreaterThan.ssa_block_1:
- ldur w2, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w2, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x2
mov x2, x1
mov x5, x3
@@ -9426,8 +9437,8 @@ asm_handler_JumpLessThanEquals_cold:
b.ls .Lasm_JumpLessThanEquals.ssa_block_2
b .Lasm_JumpLessThanEquals.ssa_block_3
.Lasm_JumpLessThanEquals.ssa_block_1:
- ldur w2, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w2, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x2
mov x2, x1
mov x5, x3
@@ -9490,8 +9501,8 @@ asm_handler_JumpGreaterThanEquals_cold:
b.ge .Lasm_JumpGreaterThanEquals.ssa_block_2
b .Lasm_JumpGreaterThanEquals.ssa_block_3
.Lasm_JumpGreaterThanEquals.ssa_block_1:
- ldur w2, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w2, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x2
mov x2, x1
mov x5, x3
@@ -9544,8 +9555,8 @@ asm_handler_JumpLooselyEquals_cold:
cmp w1, w9
b.eq .Lasm_JumpLooselyEquals.ssa_block_36
.Lasm_JumpLooselyEquals.ssa_block_1:
- ldur w1, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w1, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x1
mov x5, x3
mov x3, x2
@@ -9605,8 +9616,8 @@ asm_handler_JumpLooselyInequals_cold:
cmp w1, w9
b.eq .Lasm_JumpLooselyInequals.ssa_block_36
.Lasm_JumpLooselyInequals.ssa_block_1:
- ldur w1, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w1, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x1
mov x5, x3
mov x3, x2
@@ -9666,8 +9677,8 @@ asm_handler_JumpStrictlyEquals_cold:
cmp w1, w9
b.eq .Lasm_JumpStrictlyEquals.ssa_block_34
.Lasm_JumpStrictlyEquals.ssa_block_1:
- ldur w1, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w1, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x1
mov x5, x3
mov x3, x2
@@ -9727,8 +9738,8 @@ asm_handler_JumpStrictlyInequals_cold:
cmp w1, w9
b.eq .Lasm_JumpStrictlyInequals.ssa_block_34
.Lasm_JumpStrictlyInequals.ssa_block_1:
- ldur w1, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w1, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x1
mov x5, x3
mov x3, x2
@@ -9806,8 +9817,8 @@ asm_handler_JumpLessThanLoop_cold:
b.mi .Lasm_JumpLessThanLoop.ssa_block_2
b .Lasm_JumpLessThanLoop.ssa_block_3
.Lasm_JumpLessThanLoop.ssa_block_1:
- ldur w2, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w2, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x2
mov x2, x1
mov x5, x3
@@ -9870,8 +9881,8 @@ asm_handler_JumpGreaterThanLoop_cold:
b.gt .Lasm_JumpGreaterThanLoop.ssa_block_2
b .Lasm_JumpGreaterThanLoop.ssa_block_3
.Lasm_JumpGreaterThanLoop.ssa_block_1:
- ldur w2, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w2, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x2
mov x2, x1
mov x5, x3
@@ -9934,8 +9945,8 @@ asm_handler_JumpLessThanEqualsLoop_cold:
b.ls .Lasm_JumpLessThanEqualsLoop.ssa_block_2
b .Lasm_JumpLessThanEqualsLoop.ssa_block_3
.Lasm_JumpLessThanEqualsLoop.ssa_block_1:
- ldur w2, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w2, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x2
mov x2, x1
mov x5, x3
@@ -9998,8 +10009,8 @@ asm_handler_JumpGreaterThanEqualsLoop_cold:
b.ge .Lasm_JumpGreaterThanEqualsLoop.ssa_block_2
b .Lasm_JumpGreaterThanEqualsLoop.ssa_block_3
.Lasm_JumpGreaterThanEqualsLoop.ssa_block_1:
- ldur w2, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w2, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x2
mov x2, x1
mov x5, x3
@@ -10052,8 +10063,8 @@ asm_handler_JumpLooselyEqualsLoop_cold:
cmp w1, w9
b.eq .Lasm_JumpLooselyEqualsLoop.ssa_block_36
.Lasm_JumpLooselyEqualsLoop.ssa_block_1:
- ldur w1, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w1, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x1
mov x5, x3
mov x3, x2
@@ -10113,8 +10124,8 @@ asm_handler_JumpLooselyInequalsLoop_cold:
cmp w1, w9
b.eq .Lasm_JumpLooselyInequalsLoop.ssa_block_36
.Lasm_JumpLooselyInequalsLoop.ssa_block_1:
- ldur w1, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w1, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x1
mov x5, x3
mov x3, x2
@@ -10174,8 +10185,8 @@ asm_handler_JumpStrictlyEqualsLoop_cold:
cmp w1, w9
b.eq .Lasm_JumpStrictlyEqualsLoop.ssa_block_34
.Lasm_JumpStrictlyEqualsLoop.ssa_block_1:
- ldur w1, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w1, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x1
mov x5, x3
mov x3, x2
@@ -10235,8 +10246,8 @@ asm_handler_JumpStrictlyInequalsLoop_cold:
cmp w1, w9
b.eq .Lasm_JumpStrictlyInequalsLoop.ssa_block_34
.Lasm_JumpStrictlyInequalsLoop.ssa_block_1:
- ldur w1, [x21, #7]
- ldur w3, [x21, #11]
+ ldur w1, [x21, #5]
+ ldur w3, [x21, #9]
mov x4, x1
mov x5, x3
mov x3, x2
@@ -10282,10 +10293,10 @@ asm_handler_Increment_cold:
fmov d1, x0
fadd d0, d0, d1
fmov x0, d0
- ldurh w1, [x21, #3]
+ ldrb w1, [x21, #3]
str x0, [x27, x1, lsl #3]
- ldrb w9, [x21, #5]
- add x21, x21, #5
+ ldrb w9, [x21, #4]
+ add x21, x21, #4
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Increment.ssa_block_2:
@@ -10293,7 +10304,7 @@ asm_handler_Increment_cold:
sub w1, w21, w26
str w1, [x28, #64]
sub sp, sp, #16
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #3]
ldr x11, [x27, x12, lsl #3]
.Lasm_Increment.value_ready_1:
mov x4, x11
@@ -10308,7 +10319,7 @@ asm_handler_Increment_cold:
tbnz x0, #32, 1f
b .Lasm_Increment.values_exceptional_outputs_3
1:
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #3]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_Increment.skip_output_value_4:
@@ -10321,7 +10332,7 @@ asm_handler_Increment_cold:
ldr x9, [x20]
cmp x9, x28
b.ne .Lasm_Increment.values_restore_stack_2
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #3]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_Increment.skip_exceptional_output_5:
@@ -10358,10 +10369,10 @@ asm_handler_Decrement_cold:
fmov d1, x0
fsub d0, d0, d1
fmov x0, d0
- ldurh w1, [x21, #3]
+ ldrb w1, [x21, #3]
str x0, [x27, x1, lsl #3]
- ldrb w9, [x21, #5]
- add x21, x21, #5
+ ldrb w9, [x21, #4]
+ add x21, x21, #4
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Decrement.ssa_block_2:
@@ -10369,7 +10380,7 @@ asm_handler_Decrement_cold:
sub w1, w21, w26
str w1, [x28, #64]
sub sp, sp, #16
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #3]
ldr x11, [x27, x12, lsl #3]
.Lasm_Decrement.value_ready_1:
mov x4, x11
@@ -10384,7 +10395,7 @@ asm_handler_Decrement_cold:
tbnz x0, #32, 1f
b .Lasm_Decrement.values_exceptional_outputs_3
1:
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #3]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_Decrement.skip_output_value_4:
@@ -10397,7 +10408,7 @@ asm_handler_Decrement_cold:
ldr x9, [x20]
cmp x9, x28
b.ne .Lasm_Decrement.values_restore_stack_2
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #3]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_Decrement.skip_exceptional_output_5:
@@ -10447,7 +10458,7 @@ asm_handler_GetImportMeta:
bl CSYM(asm_slow_path_get_import_meta)
tbnz x0, #63, .Lasm_GetImportMeta.scalar_result_done_0
tbz x0, #32, .Lasm_GetImportMeta.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -10486,7 +10497,7 @@ asm_handler_GetImport:
bl CSYM(asm_slow_path_get_import)
tbnz x0, #63, .Lasm_GetImport.scalar_result_done_0
tbz x0, #32, .Lasm_GetImport.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -10525,7 +10536,7 @@ asm_handler_GetNewTarget:
bl CSYM(asm_slow_path_get_new_target)
tbnz x0, #63, .Lasm_GetNewTarget.scalar_result_done_0
tbz x0, #32, .Lasm_GetNewTarget.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -10564,7 +10575,7 @@ asm_handler_GetSuperConstructor:
bl CSYM(asm_slow_path_get_super_constructor)
tbnz x0, #63, .Lasm_GetSuperConstructor.scalar_result_done_0
tbz x0, #32, .Lasm_GetSuperConstructor.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -10610,7 +10621,7 @@ asm_handler_GetBinding_cold:
tbnz x0, #32, 1f
b .Lasm_GetBinding.scalar_result_done_1
1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -10653,7 +10664,7 @@ asm_handler_DynamicGetBinding_cold:
tbnz x0, #32, 1f
b .Lasm_DynamicGetBinding.scalar_result_done_1
1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -10698,7 +10709,7 @@ asm_handler_DynamicGetInitializedBinding_cold:
tbnz x0, #32, 1f
b .Lasm_DynamicGetInitializedBinding.scalar_result_done_1
1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -10735,7 +10746,7 @@ asm_handler_DynamicInitializeLexicalBinding_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_DynamicInitializeLexicalBinding.scalar_value_ready_1:
mov x3, x10
@@ -10780,7 +10791,7 @@ asm_handler_DynamicInitializeVariableBinding_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_DynamicInitializeVariableBinding.scalar_value_ready_1:
mov x3, x10
@@ -10825,7 +10836,7 @@ asm_handler_SetLexicalBinding_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_SetLexicalBinding.scalar_value_ready_4:
mov x3, x10
@@ -10870,7 +10881,7 @@ asm_handler_SetVariableBinding_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_SetVariableBinding.scalar_value_ready_4:
mov x3, x10
@@ -10915,7 +10926,7 @@ asm_handler_DynamicSetLexicalBinding_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_DynamicSetLexicalBinding.scalar_value_ready_4:
mov x3, x10
@@ -10959,7 +10970,7 @@ asm_handler_SetVariableBindingOfBlockFunction:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_SetVariableBindingOfBlockFunction.scalar_value_ready_0:
mov x3, x10
@@ -11001,7 +11012,7 @@ asm_handler_DynamicSetVariableBinding_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_DynamicSetVariableBinding.scalar_value_ready_4:
mov x3, x10
@@ -11051,7 +11062,7 @@ asm_handler_ResolveBinding:
bl CSYM(asm_slow_path_resolve_binding)
tbnz x0, #63, .Lasm_ResolveBinding.scalar_result_done_0
tbz x0, #32, .Lasm_ResolveBinding.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -11090,7 +11101,7 @@ asm_handler_ResolveSuperBase:
bl CSYM(asm_slow_path_resolve_super_base)
tbnz x0, #63, .Lasm_ResolveSuperBase.scalar_result_done_0
tbz x0, #32, .Lasm_ResolveSuperBase.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -11123,7 +11134,7 @@ asm_handler_GetResolvedBinding:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetResolvedBinding.scalar_value_ready_0:
mov x3, x10
@@ -11133,7 +11144,7 @@ asm_handler_GetResolvedBinding:
bl CSYM(asm_slow_path_get_resolved_binding)
tbnz x0, #63, .Lasm_GetResolvedBinding.scalar_result_done_1
tbz x0, #32, .Lasm_GetResolvedBinding.scalar_result_done_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -11166,11 +11177,11 @@ asm_handler_SetResolvedBinding:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_SetResolvedBinding.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
ldr x10, [x27, x9, lsl #3]
.Lasm_SetResolvedBinding.scalar_value_ready_1:
mov x4, x10
@@ -11217,7 +11228,7 @@ asm_handler_TypeofBinding:
bl CSYM(asm_slow_path_typeof_binding)
tbnz x0, #63, .Lasm_TypeofBinding.scalar_result_done_0
tbz x0, #32, .Lasm_TypeofBinding.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -11256,7 +11267,7 @@ asm_handler_DynamicTypeofBinding:
bl CSYM(asm_slow_path_dynamic_typeof_binding)
tbnz x0, #63, .Lasm_DynamicTypeofBinding.scalar_result_done_0
tbz x0, #32, .Lasm_DynamicTypeofBinding.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -11295,7 +11306,7 @@ asm_handler_TypeofGlobal:
bl CSYM(asm_slow_path_typeof_global)
tbnz x0, #63, .Lasm_TypeofGlobal.scalar_result_done_0
tbz x0, #32, .Lasm_TypeofGlobal.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -11365,7 +11376,7 @@ asm_handler_HasPrivateId:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_HasPrivateId.scalar_value_ready_0:
mov x3, x10
@@ -11375,7 +11386,7 @@ asm_handler_HasPrivateId:
bl CSYM(asm_slow_path_has_private_id)
tbnz x0, #63, .Lasm_HasPrivateId.scalar_result_done_1
tbz x0, #32, .Lasm_HasPrivateId.scalar_result_done_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -11408,11 +11419,11 @@ asm_handler_SetFunctionName:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_SetFunctionName.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_SetFunctionName.scalar_value_ready_1:
mov x4, x10
@@ -11453,7 +11464,7 @@ asm_handler_NewArrayWithLength:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_NewArrayWithLength.scalar_value_ready_0:
mov x3, x10
@@ -11463,7 +11474,7 @@ asm_handler_NewArrayWithLength:
bl CSYM(asm_slow_path_new_array_with_length)
tbnz x0, #63, .Lasm_NewArrayWithLength.scalar_result_done_1
tbz x0, #32, .Lasm_NewArrayWithLength.scalar_result_done_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -11496,11 +11507,11 @@ asm_handler_ArrayAppend:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_ArrayAppend.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_ArrayAppend.scalar_value_ready_1:
mov x4, x10
@@ -11578,7 +11589,7 @@ asm_handler_EnterObjectEnvironment:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_EnterObjectEnvironment.scalar_value_ready_0:
mov x3, x10
@@ -11588,7 +11599,7 @@ asm_handler_EnterObjectEnvironment:
bl CSYM(asm_slow_path_enter_object_environment)
tbnz x0, #63, .Lasm_EnterObjectEnvironment.scalar_result_done_1
tbz x0, #32, .Lasm_EnterObjectEnvironment.scalar_result_done_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -11626,10 +11637,10 @@ asm_handler_PostfixIncrement_cold:
fmov d1, x0
fadd d0, d0, d1
fmov x0, d0
- ldurh w1, [x21, #5]
+ ldrb w1, [x21, #4]
str x0, [x27, x1, lsl #3]
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #5]
+ add x21, x21, #5
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PostfixIncrement.ssa_block_2:
@@ -11637,7 +11648,7 @@ asm_handler_PostfixIncrement_cold:
sub w1, w21, w26
str w1, [x28, #64]
sub sp, sp, #16
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #4]
ldr x11, [x27, x12, lsl #3]
.Lasm_PostfixIncrement.value_ready_1:
mov x4, x11
@@ -11652,11 +11663,11 @@ asm_handler_PostfixIncrement_cold:
tbnz x0, #32, 1f
b .Lasm_PostfixIncrement.values_exceptional_outputs_3
1:
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #3]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_PostfixIncrement.skip_output_value_4:
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #4]
ldr x11, [sp, #8]
str x11, [x27, x12, lsl #3]
.Lasm_PostfixIncrement.skip_output_value_5:
@@ -11669,7 +11680,7 @@ asm_handler_PostfixIncrement_cold:
ldr x9, [x20]
cmp x9, x28
b.ne .Lasm_PostfixIncrement.values_restore_stack_2
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #4]
ldr x11, [sp, #8]
str x11, [x27, x12, lsl #3]
.Lasm_PostfixIncrement.skip_exceptional_output_6:
@@ -11699,12 +11710,12 @@ asm_handler_PostfixIncrement_cold_end:
asm_handler_Div_cold:
// Cold paths for Div
.Lasm_Div.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x1
mov x4, x0
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -11783,12 +11794,12 @@ asm_handler_LessThan_cold:
b.mi .Lasm_LessThan.ssa_block_1
b .Lasm_LessThan.ssa_block_2
.Lasm_LessThan.ssa_block_3:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x1
mov x4, x0
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -11864,12 +11875,12 @@ asm_handler_LessThanEquals_cold:
b.ls .Lasm_LessThanEquals.ssa_block_1
b .Lasm_LessThanEquals.ssa_block_2
.Lasm_LessThanEquals.ssa_block_3:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x1
mov x4, x0
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -11945,12 +11956,12 @@ asm_handler_GreaterThan_cold:
b.gt .Lasm_GreaterThan.ssa_block_1
b .Lasm_GreaterThan.ssa_block_2
.Lasm_GreaterThan.ssa_block_3:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x1
mov x4, x0
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -12026,12 +12037,12 @@ asm_handler_GreaterThanEquals_cold:
b.ge .Lasm_GreaterThanEquals.ssa_block_1
b .Lasm_GreaterThanEquals.ssa_block_2
.Lasm_GreaterThanEquals.ssa_block_3:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x1
mov x4, x0
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -12107,12 +12118,12 @@ asm_handler_BitwiseXor_cold:
b.ne .Lasm_BitwiseXor.ssa_block_1
b .Lasm_BitwiseXor.ssa_block_7
.Lasm_BitwiseXor.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x1
mov x4, x0
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -12158,10 +12169,10 @@ asm_handler_BitwiseXor_cold:
.Lasm_BitwiseXor.ssa_block_7:
eor w2, w2, w3
movk x2, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x2, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_BitwiseXor_cold_end:
@@ -12175,7 +12186,7 @@ asm_handler_UnaryPlus_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_UnaryPlus.scalar_value_ready_0:
mov x3, x10
@@ -12189,7 +12200,7 @@ asm_handler_UnaryPlus_cold:
tbnz x0, #32, 1f
b .Lasm_UnaryPlus.scalar_result_done_1
1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -12216,10 +12227,10 @@ asm_handler_UnaryPlus_cold:
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_UnaryPlus.ssa_block_2:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #5]
+ add x21, x21, #5
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_UnaryPlus_cold_end:
@@ -12229,7 +12240,7 @@ asm_handler_ThrowIfTDZ_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_ThrowIfTDZ.scalar_value_ready_0:
mov x3, x10
@@ -12274,7 +12285,7 @@ asm_handler_ThrowIfNotObject_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_ThrowIfNotObject.scalar_value_ready_0:
mov x3, x10
@@ -12319,7 +12330,7 @@ asm_handler_ThrowIfNullish_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_ThrowIfNullish.scalar_value_ready_0:
mov x3, x10
@@ -12400,7 +12411,7 @@ asm_handler_ThrowNotAFunction:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_ThrowNotAFunction.scalar_value_ready_0:
mov x3, x10
@@ -12447,7 +12458,7 @@ asm_handler_GetArgumentCount:
bl CSYM(asm_slow_path_get_argument_count)
tbnz x0, #63, .Lasm_GetArgumentCount.scalar_result_done_0
tbz x0, #32, .Lasm_GetArgumentCount.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -12480,7 +12491,7 @@ asm_handler_Throw:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_Throw.scalar_value_ready_0:
mov x3, x10
@@ -12558,7 +12569,7 @@ asm_handler_Await:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
ldr x10, [x27, x9, lsl #3]
.Lasm_Await.scalar_value_ready_0:
mov x3, x10
@@ -12599,7 +12610,7 @@ asm_handler_Yield:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldrh w9, [x21, #6]
+ ldrb w9, [x21, #6]
ldr x10, [x27, x9, lsl #3]
.Lasm_Yield.scalar_value_ready_0:
mov x3, x10
@@ -12640,7 +12651,7 @@ asm_handler_YieldIteratorResult:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
ldr x10, [x27, x9, lsl #3]
.Lasm_YieldIteratorResult.scalar_value_ready_0:
mov x3, x10
@@ -12681,7 +12692,7 @@ asm_handler_ToString:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_ToString.scalar_value_ready_0:
mov x3, x10
@@ -12691,7 +12702,7 @@ asm_handler_ToString:
bl CSYM(asm_slow_path_to_string)
tbnz x0, #63, .Lasm_ToString.scalar_result_done_1
tbz x0, #32, .Lasm_ToString.scalar_result_done_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -12725,7 +12736,7 @@ asm_handler_ToPrimitiveWithStringHint_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_ToPrimitiveWithStringHint.scalar_value_ready_0:
mov x3, x10
@@ -12739,7 +12750,7 @@ asm_handler_ToPrimitiveWithStringHint_cold:
tbnz x0, #32, 1f
b .Lasm_ToPrimitiveWithStringHint.scalar_result_done_1
1:
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -12771,7 +12782,7 @@ asm_handler_ToObject:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_ToObject.scalar_value_ready_0:
mov x3, x10
@@ -12781,7 +12792,7 @@ asm_handler_ToObject:
bl CSYM(asm_slow_path_to_object)
tbnz x0, #63, .Lasm_ToObject.scalar_result_done_1
tbz x0, #32, .Lasm_ToObject.scalar_result_done_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -12814,7 +12825,7 @@ asm_handler_ToLength:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_ToLength.scalar_value_ready_0:
mov x3, x10
@@ -12824,7 +12835,7 @@ asm_handler_ToLength:
bl CSYM(asm_slow_path_to_length)
tbnz x0, #63, .Lasm_ToLength.scalar_result_done_1
tbz x0, #32, .Lasm_ToLength.scalar_result_done_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -12858,7 +12869,7 @@ asm_handler_BitwiseNot_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_BitwiseNot.scalar_value_ready_0:
mov x3, x10
@@ -12872,7 +12883,7 @@ asm_handler_BitwiseNot_cold:
tbnz x0, #32, 1f
b .Lasm_BitwiseNot.scalar_result_done_1
1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -12933,12 +12944,12 @@ asm_handler_BitwiseAnd_cold:
b.ne .Lasm_BitwiseAnd.ssa_block_1
b .Lasm_BitwiseAnd.ssa_block_7
.Lasm_BitwiseAnd.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x1
mov x4, x0
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -12984,10 +12995,10 @@ asm_handler_BitwiseAnd_cold:
.Lasm_BitwiseAnd.ssa_block_7:
and w2, w2, w3
movk x2, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x2, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_BitwiseAnd_cold_end:
@@ -13025,12 +13036,12 @@ asm_handler_BitwiseOr_cold:
b.ne .Lasm_BitwiseOr.ssa_block_1
b .Lasm_BitwiseOr.ssa_block_7
.Lasm_BitwiseOr.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x1
mov x4, x0
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -13076,22 +13087,22 @@ asm_handler_BitwiseOr_cold:
.Lasm_BitwiseOr.ssa_block_7:
orr w2, w2, w3
movk x2, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x2, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_BitwiseOr_cold_end:
asm_handler_LeftShift_cold:
// Cold paths for LeftShift
.Lasm_LeftShift.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -13136,12 +13147,12 @@ asm_handler_LeftShift_cold_end:
asm_handler_RightShift_cold:
// Cold paths for RightShift
.Lasm_RightShift.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -13188,19 +13199,19 @@ asm_handler_UnsignedRightShift_cold:
.Lasm_UnsignedRightShift.ssa_block_2:
scvtf d0, x0
fmov x0, d0
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_UnsignedRightShift.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -13245,7 +13256,7 @@ asm_handler_UnsignedRightShift_cold_end:
asm_handler_Mod_cold:
// Cold paths for Mod
.Lasm_Mod.ssa_block_2:
- ldurh w1, [x21, #7]
+ ldrb w1, [x21, #5]
ldr x1, [x27, x1, lsl #3]
lsr x2, x0, #48
cmp w2, w22
@@ -13296,19 +13307,19 @@ asm_handler_Mod_cold:
cmp x2, x1
b.ne .Lasm_Mod.ssa_block_5
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Mod.ssa_block_5:
scvtf d0, x1
fmov x0, d0
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Mod.ssa_block_3:
@@ -13319,29 +13330,29 @@ asm_handler_Mod_cold:
b .Lasm_Mod.ssa_block_4
1:
movz x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Mod.ssa_block_4:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x8000, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #9]
- add x21, x21, #9
+ ldrb w9, [x21, #6]
+ add x21, x21, #6
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_Mod.ssa_block_1:
- ldurh w1, [x21, #7]
+ ldrb w1, [x21, #5]
ldr x1, [x27, x1, lsl #3]
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -13407,12 +13418,12 @@ asm_handler_StrictlyEquals_cold:
cmp w1, w9
b.eq .Lasm_StrictlyEquals.ssa_block_34
.Lasm_StrictlyEquals.ssa_block_1:
- ldurh w1, [x21, #3]
+ ldrb w1, [x21, #3]
sub sp, sp, #16
str w1, [sp, #8]
mov x3, x0
mov x4, x2
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -13485,12 +13496,12 @@ asm_handler_StrictlyInequals_cold:
cmp w1, w9
b.eq .Lasm_StrictlyInequals.ssa_block_34
.Lasm_StrictlyInequals.ssa_block_1:
- ldurh w1, [x21, #3]
+ ldrb w1, [x21, #3]
sub sp, sp, #16
str w1, [sp, #8]
mov x3, x0
mov x4, x2
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -13557,11 +13568,11 @@ asm_handler_GetCalleeAndThisFromEnvironment_cold:
tbnz x0, #32, 1f
b .Lasm_GetCalleeAndThisFromEnvironment.values_exceptional_outputs_3
1:
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #3]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_GetCalleeAndThisFromEnvironment.skip_output_value_4:
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #4]
ldr x11, [sp, #8]
str x11, [x27, x12, lsl #3]
.Lasm_GetCalleeAndThisFromEnvironment.skip_output_value_5:
@@ -13612,11 +13623,11 @@ asm_handler_DynamicGetCalleeAndThisFromEnvironment_cold:
tbnz x0, #32, 1f
b .Lasm_DynamicGetCalleeAndThisFromEnvironment.values_exceptional_outputs_3
1:
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #3]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_DynamicGetCalleeAndThisFromEnvironment.skip_output_value_4:
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #4]
ldr x11, [sp, #8]
str x11, [x27, x12, lsl #3]
.Lasm_DynamicGetCalleeAndThisFromEnvironment.skip_output_value_5:
@@ -13673,12 +13684,12 @@ asm_handler_LooselyEquals_cold:
cmp w1, w9
b.eq .Lasm_LooselyEquals.ssa_block_36
.Lasm_LooselyEquals.ssa_block_1:
- ldurh w1, [x21, #3]
+ ldrb w1, [x21, #3]
sub sp, sp, #16
str w1, [sp, #8]
mov x3, x0
mov x4, x2
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -13751,12 +13762,12 @@ asm_handler_LooselyInequals_cold:
cmp w1, w9
b.eq .Lasm_LooselyInequals.ssa_block_36
.Lasm_LooselyInequals.ssa_block_1:
- ldurh w1, [x21, #3]
+ ldrb w1, [x21, #3]
sub sp, sp, #16
str w1, [sp, #8]
mov x3, x0
mov x4, x2
- mov w5, #9
+ mov w5, #6
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -13815,7 +13826,7 @@ asm_handler_UnaryMinus_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_UnaryMinus.scalar_value_ready_0:
mov x3, x10
@@ -13829,7 +13840,7 @@ asm_handler_UnaryMinus_cold:
tbnz x0, #32, 1f
b .Lasm_UnaryMinus.scalar_result_done_1
1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -13857,10 +13868,10 @@ asm_handler_UnaryMinus_cold:
br x10
.Lasm_UnaryMinus.ssa_block_4:
eor x0, x0, #0x8000000000000000
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #5]
+ add x21, x21, #5
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_UnaryMinus.ssa_block_2:
@@ -13868,18 +13879,18 @@ asm_handler_UnaryMinus_cold:
neg x0, x0
scvtf d0, x0
fmov x0, d0
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #5]
+ add x21, x21, #5
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_UnaryMinus.ssa_block_1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x8000, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #5]
+ add x21, x21, #5
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_UnaryMinus_cold_end:
@@ -13893,10 +13904,10 @@ asm_handler_PostfixDecrement_cold:
fmov d1, x0
fsub d0, d0, d1
fmov x0, d0
- ldurh w1, [x21, #5]
+ ldrb w1, [x21, #4]
str x0, [x27, x1, lsl #3]
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #5]
+ add x21, x21, #5
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PostfixDecrement.ssa_block_2:
@@ -13904,7 +13915,7 @@ asm_handler_PostfixDecrement_cold:
sub w1, w21, w26
str w1, [x28, #64]
sub sp, sp, #16
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #4]
ldr x11, [x27, x12, lsl #3]
.Lasm_PostfixDecrement.value_ready_1:
mov x4, x11
@@ -13919,11 +13930,11 @@ asm_handler_PostfixDecrement_cold:
tbnz x0, #32, 1f
b .Lasm_PostfixDecrement.values_exceptional_outputs_3
1:
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #3]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_PostfixDecrement.skip_output_value_4:
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #4]
ldr x11, [sp, #8]
str x11, [x27, x12, lsl #3]
.Lasm_PostfixDecrement.skip_output_value_5:
@@ -13936,7 +13947,7 @@ asm_handler_PostfixDecrement_cold:
ldr x9, [x20]
cmp x9, x28
b.ne .Lasm_PostfixDecrement.values_restore_stack_2
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #4]
ldr x11, [sp, #8]
str x11, [x27, x12, lsl #3]
.Lasm_PostfixDecrement.skip_exceptional_output_6:
@@ -13966,7 +13977,7 @@ asm_handler_PostfixDecrement_cold_end:
asm_handler_ToInt32_cold:
// Cold paths for ToInt32
.Lasm_ToInt32.ssa_block_2:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
lsr x1, x0, #48
cmp x1, x22
@@ -13986,7 +13997,7 @@ asm_handler_ToInt32_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_ToInt32.scalar_value_ready_0:
mov x3, x10
@@ -14000,7 +14011,7 @@ asm_handler_ToInt32_cold:
tbnz x0, #32, 1f
b .Lasm_ToInt32.scalar_result_done_1
1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -14030,10 +14041,10 @@ asm_handler_ToInt32_cold:
sxtw x0, w0
.Lasm_ToInt32.ssa_block_6:
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #7]
- add x21, x21, #7
+ ldrb w9, [x21, #5]
+ add x21, x21, #5
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_ToInt32_cold_end:
@@ -14062,15 +14073,15 @@ asm_handler_PutByValue_cold:
b .Lasm_PutByValue.ssa_block_46
.Lasm_PutByValue.ssa_block_6:
sub sp, sp, #32
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #3]
ldr x11, [x27, x12, lsl #3]
.Lasm_PutByValue.value_ready_5:
str x11, [sp]
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #4]
ldr x11, [x27, x12, lsl #3]
.Lasm_PutByValue.value_ready_6:
str x11, [sp, #8]
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #5]
ldr x11, [x27, x12, lsl #3]
.Lasm_PutByValue.value_ready_7:
str x11, [sp, #16]
@@ -14083,23 +14094,23 @@ asm_handler_PutByValue_cold:
add sp, sp, #32
.Lasm_PutByValue.values_call_done_4:
cbnz w0, .Lasm_PutByValue.ssa_block_1
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutByValue.ssa_block_2:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutByValue.scalar_value_ready_9:
mov x3, x10
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutByValue.scalar_value_ready_10:
mov x4, x10
- ldurh w9, [x21, #7]
+ ldrb w9, [x21, #5]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutByValue.scalar_value_ready_11:
mov x5, x10
@@ -14141,15 +14152,15 @@ asm_handler_PutByValue_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutByValue.scalar_value_ready_14:
mov x3, x10
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutByValue.scalar_value_ready_15:
mov x4, x10
- ldurh w9, [x21, #7]
+ ldrb w9, [x21, #5]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutByValue.scalar_value_ready_16:
mov x5, x10
@@ -14189,15 +14200,15 @@ asm_handler_PutByValue_cold:
br x10
.Lasm_PutByValue.ssa_block_3:
sub sp, sp, #32
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #3]
ldr x11, [x27, x12, lsl #3]
.Lasm_PutByValue.value_ready_20:
str x11, [sp]
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #4]
ldr x11, [x27, x12, lsl #3]
.Lasm_PutByValue.value_ready_21:
str x11, [sp, #8]
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #5]
ldr x11, [x27, x12, lsl #3]
.Lasm_PutByValue.value_ready_22:
str x11, [sp, #16]
@@ -14210,21 +14221,21 @@ asm_handler_PutByValue_cold:
add sp, sp, #32
.Lasm_PutByValue.values_call_done_19:
cbnz w0, .Lasm_PutByValue.ssa_block_1
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutByValue.ssa_block_5:
sub sp, sp, #32
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #3]
ldr x11, [x27, x12, lsl #3]
.Lasm_PutByValue.value_ready_25:
str x11, [sp]
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #4]
ldr x11, [x27, x12, lsl #3]
.Lasm_PutByValue.value_ready_26:
str x11, [sp, #8]
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #5]
ldr x11, [x27, x12, lsl #3]
.Lasm_PutByValue.value_ready_27:
str x11, [sp, #16]
@@ -14237,8 +14248,8 @@ asm_handler_PutByValue_cold:
add sp, sp, #32
.Lasm_PutByValue.values_call_done_24:
cbnz w0, .Lasm_PutByValue.ssa_block_1
- ldrb w9, [x21, #17]
- add x21, x21, #17
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_PutByValue_cold_end:
@@ -14290,10 +14301,10 @@ asm_handler_GetById_cold:
movz x1, #0xfff9, lsl #48
orr x0, x0, x1
.Lasm_GetById.ssa_block_51:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #13]
- add x21, x21, #13
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetById.ssa_block_25:
@@ -14358,7 +14369,7 @@ asm_handler_GetById_cold:
strb wzr, [x0, #124]
strb wzr, [x0, #125]
sub w1, w21, w26
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
str w1, [x28, #64]
str x28, [x0, #96]
add x1, x1, #1
@@ -14383,25 +14394,25 @@ asm_handler_GetById_cold:
str x28, [x2, #16]
mov x28, x1
add x27, x28, #128
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #13]
- add x21, x21, #13
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetById.ssa_block_5:
movz x0, #0x7ffe, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #13]
- add x21, x21, #13
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetById.ssa_block_4:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetById.scalar_value_ready_11:
mov x3, x10
@@ -14415,7 +14426,7 @@ asm_handler_GetById_cold:
tbnz x0, #32, 1f
b .Lasm_GetById.scalar_result_done_12
1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -14465,7 +14476,7 @@ asm_handler_GetById_cold:
b .Lasm_GetById.ssa_block_24
.Lasm_GetById.ssa_block_3:
sub sp, sp, #16
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #4]
ldr x11, [x27, x12, lsl #3]
.Lasm_GetById.value_ready_15:
str x11, [sp, #8]
@@ -14478,7 +14489,7 @@ asm_handler_GetById_cold:
cmp x9, x28
b.ne .Lasm_GetById.values_restore_stack_16
cbnz x0, .Lasm_GetById.values_exceptional_outputs_17
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #3]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_GetById.skip_output_value_18:
@@ -14532,8 +14543,8 @@ asm_handler_GetById_cold:
ldr x0, [x28, #88]
ldr x1, [x0, #152]
cbz x1, .Lasm_GetById.assert_failure_21
- ldurh w2, [x21, #11]
- ldurh w0, [x21, #5]
+ ldrh w2, [x21, #10]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
lsl x2, x2, #3
adds x1, x1, x2
@@ -14541,15 +14552,15 @@ asm_handler_GetById_cold:
movz x9, #0x7ffb, lsl #48
cmp x0, x9
b.eq .Lasm_GetById.ssa_block_2
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #13]
- add x21, x21, #13
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetById.ssa_block_14:
sub sp, sp, #16
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #4]
ldr x11, [x27, x12, lsl #3]
.Lasm_GetById.value_ready_23:
str x11, [sp, #8]
@@ -14562,7 +14573,7 @@ asm_handler_GetById_cold:
cmp x9, x28
b.ne .Lasm_GetById.values_restore_stack_24
cbnz x0, .Lasm_GetById.values_exceptional_outputs_25
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #3]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_GetById.skip_output_value_26:
@@ -14572,15 +14583,15 @@ asm_handler_GetById_cold:
add sp, sp, #16
.Lasm_GetById.values_call_done_22:
cbnz w0, .Lasm_GetById.ssa_block_2
- ldrb w9, [x21, #13]
- add x21, x21, #13
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetById.ssa_block_2:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetById.scalar_value_ready_27:
mov x3, x10
@@ -14594,7 +14605,7 @@ asm_handler_GetById_cold:
tbnz x0, #32, 1f
b .Lasm_GetById.scalar_result_done_28
1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -14628,11 +14639,11 @@ asm_handler_GetByIdWithThis:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetByIdWithThis.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #9]
+ ldrb w9, [x21, #8]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetByIdWithThis.scalar_value_ready_1:
mov x4, x10
@@ -14642,7 +14653,7 @@ asm_handler_GetByIdWithThis:
bl CSYM(asm_slow_path_get_by_id_with_this)
tbnz x0, #63, .Lasm_GetByIdWithThis.scalar_result_done_2
tbz x0, #32, .Lasm_GetByIdWithThis.scalar_result_done_2
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -14674,11 +14685,11 @@ asm_handler_PutById_cold:
// Cold paths for PutById
.Lasm_PutById.ssa_block_2:
sub sp, sp, #16
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [x27, x12, lsl #3]
.Lasm_PutById.value_ready_4:
str x11, [sp]
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #5]
ldr x11, [x27, x12, lsl #3]
.Lasm_PutById.value_ready_5:
str x11, [sp, #8]
@@ -14691,19 +14702,19 @@ asm_handler_PutById_cold:
add sp, sp, #16
.Lasm_PutById.values_call_done_3:
cbnz w0, .Lasm_PutById.ssa_block_1
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #14]
+ add x21, x21, #14
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_PutById.ssa_block_1:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutById.scalar_value_ready_7:
mov x3, x10
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutById.scalar_value_ready_8:
mov x4, x10
@@ -14747,15 +14758,15 @@ asm_handler_PutByIdWithThis:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutByIdWithThis.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutByIdWithThis.scalar_value_ready_1:
mov x4, x10
- ldurh w9, [x21, #7]
+ ldrb w9, [x21, #6]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutByIdWithThis.scalar_value_ready_2:
mov x5, x10
@@ -14835,28 +14846,28 @@ asm_handler_GetByValue_cold:
mov w10, #65532
cmp x9, x10
b.eq .Lasm_GetByValue.ssa_block_2
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetByValue.ssa_block_12:
scvtf d0, x0
fmov x0, d0
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetByValue.ssa_block_4:
sub sp, sp, #32
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #6]
ldr x11, [x27, x12, lsl #3]
.Lasm_GetByValue.value_ready_10:
str x11, [sp, #8]
- ldurh w12, [x21, #9]
+ ldrb w12, [x21, #7]
ldr x11, [x27, x12, lsl #3]
.Lasm_GetByValue.value_ready_11:
str x11, [sp, #16]
@@ -14869,7 +14880,7 @@ asm_handler_GetByValue_cold:
cmp x9, x28
b.ne .Lasm_GetByValue.values_restore_stack_12
cbnz x0, .Lasm_GetByValue.values_exceptional_outputs_13
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #5]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_GetByValue.skip_output_value_14:
@@ -14879,19 +14890,19 @@ asm_handler_GetByValue_cold:
add sp, sp, #32
.Lasm_GetByValue.values_call_done_9:
cbnz w0, .Lasm_GetByValue.ssa_block_1
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetByValue.ssa_block_7:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #7]
+ ldrb w9, [x21, #6]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetByValue.scalar_value_ready_15:
mov x3, x10
- ldurh w9, [x21, #9]
+ ldrb w9, [x21, #7]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetByValue.scalar_value_ready_16:
mov x4, x10
@@ -14905,7 +14916,7 @@ asm_handler_GetByValue_cold:
tbnz x0, #32, 1f
b .Lasm_GetByValue.scalar_result_done_17
1:
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -14932,7 +14943,7 @@ asm_handler_GetByValue_cold:
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetByValue.ssa_block_6:
- ldurh w0, [x21, #9]
+ ldrb w0, [x21, #7]
ldr x0, [x27, x0, lsl #3]
lsr x9, x0, #48
mov w10, #65530
@@ -14942,11 +14953,11 @@ asm_handler_GetByValue_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #7]
+ ldrb w9, [x21, #6]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetByValue.scalar_value_ready_19:
mov x3, x10
- ldurh w9, [x21, #9]
+ ldrb w9, [x21, #7]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetByValue.scalar_value_ready_20:
mov x4, x10
@@ -14960,7 +14971,7 @@ asm_handler_GetByValue_cold:
tbnz x0, #32, 1f
b .Lasm_GetByValue.scalar_result_done_21
1:
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -14990,11 +15001,11 @@ asm_handler_GetByValue_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #7]
+ ldrb w9, [x21, #6]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetByValue.scalar_value_ready_23:
mov x3, x10
- ldurh w9, [x21, #9]
+ ldrb w9, [x21, #7]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetByValue.scalar_value_ready_24:
mov x4, x10
@@ -15008,7 +15019,7 @@ asm_handler_GetByValue_cold:
tbnz x0, #32, 1f
b .Lasm_GetByValue.scalar_result_done_25
1:
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -15036,11 +15047,11 @@ asm_handler_GetByValue_cold:
br x10
.Lasm_GetByValue.ssa_block_3:
sub sp, sp, #32
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #6]
ldr x11, [x27, x12, lsl #3]
.Lasm_GetByValue.value_ready_28:
str x11, [sp, #8]
- ldurh w12, [x21, #9]
+ ldrb w12, [x21, #7]
ldr x11, [x27, x12, lsl #3]
.Lasm_GetByValue.value_ready_29:
str x11, [sp, #16]
@@ -15053,7 +15064,7 @@ asm_handler_GetByValue_cold:
cmp x9, x28
b.ne .Lasm_GetByValue.values_restore_stack_30
cbnz x0, .Lasm_GetByValue.values_exceptional_outputs_31
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #5]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_GetByValue.skip_output_value_32:
@@ -15063,8 +15074,8 @@ asm_handler_GetByValue_cold:
add sp, sp, #32
.Lasm_GetByValue.values_call_done_27:
cbnz w0, .Lasm_GetByValue.ssa_block_1
- ldrb w9, [x21, #15]
- add x21, x21, #15
+ ldrb w9, [x21, #12]
+ add x21, x21, #12
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetByValue.canon_nan_1:
@@ -15076,15 +15087,15 @@ asm_handler_GetByValueWithThis:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetByValueWithThis.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #7]
+ ldrb w9, [x21, #5]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetByValueWithThis.scalar_value_ready_1:
mov x4, x10
- ldurh w9, [x21, #9]
+ ldrb w9, [x21, #6]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetByValueWithThis.scalar_value_ready_2:
mov x5, x10
@@ -15094,7 +15105,7 @@ asm_handler_GetByValueWithThis:
bl CSYM(asm_slow_path_get_by_value_with_this)
tbnz x0, #63, .Lasm_GetByValueWithThis.scalar_result_done_3
tbz x0, #32, .Lasm_GetByValueWithThis.scalar_result_done_3
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -15127,19 +15138,19 @@ asm_handler_PutByValueWithThis:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutByValueWithThis.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutByValueWithThis.scalar_value_ready_1:
mov x4, x10
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #3]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutByValueWithThis.scalar_value_ready_2:
mov x5, x10
- ldurh w9, [x21, #7]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutByValueWithThis.scalar_value_ready_3:
mov x6, x10
@@ -15180,11 +15191,11 @@ asm_handler_PutBySpread:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutBySpread.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutBySpread.scalar_value_ready_1:
mov x4, x10
@@ -15225,17 +15236,17 @@ asm_handler_GetLength_cold:
.Lasm_GetLength.ssa_block_3:
scvtf d0, x0
fmov x0, d0
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #13]
- add x21, x21, #13
+ ldrb w9, [x21, #11]
+ add x21, x21, #11
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_GetLength.ssa_block_1:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #7]
+ ldrb w9, [x21, #6]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetLength.scalar_value_ready_3:
mov x3, x10
@@ -15249,7 +15260,7 @@ asm_handler_GetLength_cold:
tbnz x0, #32, 1f
b .Lasm_GetLength.scalar_result_done_4
1:
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -15281,11 +15292,11 @@ asm_handler_GetLengthWithThis:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetLengthWithThis.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #7]
+ ldrb w9, [x21, #5]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetLengthWithThis.scalar_value_ready_1:
mov x4, x10
@@ -15295,7 +15306,7 @@ asm_handler_GetLengthWithThis:
bl CSYM(asm_slow_path_get_length_with_this)
tbnz x0, #63, .Lasm_GetLengthWithThis.scalar_result_done_2
tbz x0, #32, .Lasm_GetLengthWithThis.scalar_result_done_2
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -15328,7 +15339,7 @@ asm_handler_GetMethod:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetMethod.scalar_value_ready_0:
mov x3, x10
@@ -15338,7 +15349,7 @@ asm_handler_GetMethod:
bl CSYM(asm_slow_path_get_method)
tbnz x0, #63, .Lasm_GetMethod.scalar_result_done_1
tbz x0, #32, .Lasm_GetMethod.scalar_result_done_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -15372,7 +15383,7 @@ asm_handler_GetIterator:
sub w1, w21, w26
str w1, [x28, #64]
sub sp, sp, #32
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #4]
ldr x11, [x27, x12, lsl #3]
.Lasm_GetIterator.value_ready_1:
mov x4, x11
@@ -15383,15 +15394,15 @@ asm_handler_GetIterator:
bl CSYM(asm_slow_path_get_iterator)
tbnz x0, #63, .Lasm_GetIterator.values_exceptional_outputs_3
tbz x0, #32, .Lasm_GetIterator.values_exceptional_outputs_3
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_GetIterator.skip_output_value_4:
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #2]
ldr x11, [sp, #8]
str x11, [x27, x12, lsl #3]
.Lasm_GetIterator.skip_output_value_5:
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #3]
ldr x11, [sp, #16]
str x11, [x27, x12, lsl #3]
.Lasm_GetIterator.skip_output_value_6:
@@ -15441,7 +15452,7 @@ asm_handler_GetGlobal_cold:
tbnz x0, #32, 1f
b .Lasm_GetGlobal.scalar_result_done_4
1:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -15484,7 +15495,7 @@ asm_handler_ResolveGlobalBinding_cold:
tbnz x0, #32, 1f
b .Lasm_ResolveGlobalBinding.scalar_result_done_2
1:
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -15517,7 +15528,7 @@ asm_handler_SetGlobal_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_SetGlobal.scalar_value_ready_7:
mov x3, x10
@@ -15583,7 +15594,7 @@ asm_handler_Call_cold:
sub w1, w21, w26
str w1, [x28, #64]
add x9, sp, #0
- ldur w10, [x21, #11]
+ ldrb w10, [x21, #8]
lsl x10, x10, #3
add x10, x10, #55
and x10, x10, #0xfffffffffffffff0
@@ -15608,22 +15619,22 @@ asm_handler_Call_cold:
.Lasm_Call.values_allocated_35:
add sp, x14, #0
str x9, [sp]
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #6]
ldr x11, [x27, x12, lsl #3]
.Lasm_Call.value_ready_36:
str x11, [sp, #24]
- ldurh w12, [x21, #9]
+ ldrb w12, [x21, #7]
ldr x11, [x27, x12, lsl #3]
.Lasm_Call.value_ready_37:
str x11, [sp, #32]
mov w9, #0
- ldur w10, [x21, #11]
+ ldrb w10, [x21, #8]
add x14, sp, #40
- add x3, x21, #17
+ add x3, x21, #11
.Lasm_Call.array_value_next_38:
cmp x9, x10
b.hs .Lasm_Call.array_values_end_40
- ldrh w12, [x3, x9, lsl #1]
+ ldrb w12, [x3, x9]
ldr x11, [x27, x12, lsl #3]
.Lasm_Call.array_value_ready_39:
str x11, [x14, x9, lsl #3]
@@ -15641,7 +15652,7 @@ asm_handler_Call_cold:
tbnz x0, #32, 1f
b .Lasm_Call.values_exceptional_outputs_42
1:
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #5]
ldr x11, [sp, #16]
str x11, [x27, x12, lsl #3]
.Lasm_Call.skip_output_value_43:
@@ -15684,7 +15695,7 @@ asm_handler_GetObjectPropertyIterator:
sub w1, w21, w26
str w1, [x28, #64]
sub sp, sp, #32
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #3]
ldr x11, [x27, x12, lsl #3]
.Lasm_GetObjectPropertyIterator.value_ready_1:
mov x4, x11
@@ -15695,11 +15706,11 @@ asm_handler_GetObjectPropertyIterator:
bl CSYM(asm_slow_path_get_object_property_iterator)
tbnz x0, #63, .Lasm_GetObjectPropertyIterator.values_exceptional_outputs_3
tbz x0, #32, .Lasm_GetObjectPropertyIterator.values_exceptional_outputs_3
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_GetObjectPropertyIterator.skip_output_value_4:
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #2]
ldr x11, [sp, #8]
str x11, [x27, x12, lsl #3]
.Lasm_GetObjectPropertyIterator.skip_output_value_5:
@@ -15740,15 +15751,15 @@ asm_handler_ObjectPropertyIteratorNext_cold:
sub w1, w21, w26
str w1, [x28, #64]
sub sp, sp, #48
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #3]
ldr x11, [x27, x12, lsl #3]
.Lasm_ObjectPropertyIteratorNext.value_ready_2:
mov x4, x11
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #4]
ldr x11, [x27, x12, lsl #3]
.Lasm_ObjectPropertyIteratorNext.value_ready_3:
mov x5, x11
- ldurh w12, [x21, #9]
+ ldrb w12, [x21, #5]
ldr x11, [x27, x12, lsl #3]
.Lasm_ObjectPropertyIteratorNext.value_ready_4:
mov x6, x11
@@ -15763,15 +15774,15 @@ asm_handler_ObjectPropertyIteratorNext_cold:
tbnz x0, #32, 1f
b .Lasm_ObjectPropertyIteratorNext.values_exceptional_outputs_6
1:
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_ObjectPropertyIteratorNext.skip_output_value_7:
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #2]
ldr x11, [sp, #8]
str x11, [x27, x12, lsl #3]
.Lasm_ObjectPropertyIteratorNext.skip_output_value_8:
- ldurh w12, [x21, #9]
+ ldrb w12, [x21, #5]
ldr x11, [sp, #32]
str x11, [x27, x12, lsl #3]
.Lasm_ObjectPropertyIteratorNext.skip_output_value_9:
@@ -15784,7 +15795,7 @@ asm_handler_ObjectPropertyIteratorNext_cold:
ldr x9, [x20]
cmp x9, x28
b.ne .Lasm_ObjectPropertyIteratorNext.values_restore_stack_5
- ldurh w12, [x21, #9]
+ ldrb w12, [x21, #5]
ldr x11, [sp, #32]
str x11, [x27, x12, lsl #3]
.Lasm_ObjectPropertyIteratorNext.skip_exceptional_output_10:
@@ -15817,19 +15828,19 @@ asm_handler_IteratorClose_cold:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_IteratorClose.scalar_value_ready_1:
mov x3, x10
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_IteratorClose.scalar_value_ready_2:
mov x4, x10
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #3]
ldr x10, [x27, x9, lsl #3]
.Lasm_IteratorClose.scalar_value_ready_3:
mov x5, x10
- ldurh w9, [x21, #11]
+ ldrb w9, [x21, #8]
ldr x10, [x27, x9, lsl #3]
.Lasm_IteratorClose.scalar_value_ready_4:
mov x6, x10
@@ -15874,15 +15885,15 @@ asm_handler_IteratorNext:
sub w1, w21, w26
str w1, [x28, #64]
sub sp, sp, #32
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #2]
ldr x11, [x27, x12, lsl #3]
.Lasm_IteratorNext.value_ready_1:
mov x4, x11
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #3]
ldr x11, [x27, x12, lsl #3]
.Lasm_IteratorNext.value_ready_2:
mov x5, x11
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #4]
ldr x11, [x27, x12, lsl #3]
.Lasm_IteratorNext.value_ready_3:
mov x6, x11
@@ -15893,11 +15904,11 @@ asm_handler_IteratorNext:
bl CSYM(asm_slow_path_iterator_next)
tbnz x0, #63, .Lasm_IteratorNext.values_exceptional_outputs_5
tbz x0, #32, .Lasm_IteratorNext.values_exceptional_outputs_5
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorNext.skip_output_value_6:
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #4]
ldr x11, [sp, #24]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorNext.skip_output_value_7:
@@ -15910,7 +15921,7 @@ asm_handler_IteratorNext:
ldr x9, [x20]
cmp x9, x28
b.ne .Lasm_IteratorNext.values_restore_stack_4
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #4]
ldr x11, [sp, #24]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorNext.skip_exceptional_output_8:
@@ -15944,15 +15955,15 @@ asm_handler_IteratorStep:
sub w1, w21, w26
str w1, [x28, #64]
sub sp, sp, #32
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #2]
ldr x11, [x27, x12, lsl #3]
.Lasm_IteratorStep.value_ready_1:
mov x4, x11
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #3]
ldr x11, [x27, x12, lsl #3]
.Lasm_IteratorStep.value_ready_2:
mov x5, x11
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #4]
ldr x11, [x27, x12, lsl #3]
.Lasm_IteratorStep.value_ready_3:
mov x6, x11
@@ -15963,15 +15974,15 @@ asm_handler_IteratorStep:
bl CSYM(asm_slow_path_iterator_step)
tbnz x0, #63, .Lasm_IteratorStep.values_exceptional_outputs_5
tbz x0, #32, .Lasm_IteratorStep.values_exceptional_outputs_5
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorStep.skip_output_value_6:
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #2]
ldr x11, [sp, #8]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorStep.skip_output_value_7:
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #4]
ldr x11, [sp, #24]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorStep.skip_output_value_8:
@@ -15984,11 +15995,11 @@ asm_handler_IteratorStep:
ldr x9, [x20]
cmp x9, x28
b.ne .Lasm_IteratorStep.values_restore_stack_4
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #2]
ldr x11, [sp, #8]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorStep.skip_exceptional_output_9:
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #4]
ldr x11, [sp, #24]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorStep.skip_exceptional_output_10:
@@ -16023,15 +16034,15 @@ asm_handler_IteratorNextUnpack_cold:
sub w1, w21, w26
str w1, [x28, #64]
sub sp, sp, #48
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #3]
ldr x11, [x27, x12, lsl #3]
.Lasm_IteratorNextUnpack.value_ready_1:
mov x4, x11
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #4]
ldr x11, [x27, x12, lsl #3]
.Lasm_IteratorNextUnpack.value_ready_2:
mov x5, x11
- ldurh w12, [x21, #9]
+ ldrb w12, [x21, #5]
ldr x11, [x27, x12, lsl #3]
.Lasm_IteratorNextUnpack.value_ready_3:
mov x6, x11
@@ -16046,19 +16057,19 @@ asm_handler_IteratorNextUnpack_cold:
tbnz x0, #32, 1f
b .Lasm_IteratorNextUnpack.values_exceptional_outputs_5
1:
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorNextUnpack.skip_output_value_6:
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #2]
ldr x11, [sp, #8]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorNextUnpack.skip_output_value_7:
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #3]
ldr x11, [sp, #16]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorNextUnpack.skip_output_value_8:
- ldurh w12, [x21, #9]
+ ldrb w12, [x21, #5]
ldr x11, [sp, #32]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorNextUnpack.skip_output_value_9:
@@ -16071,11 +16082,11 @@ asm_handler_IteratorNextUnpack_cold:
ldr x9, [x20]
cmp x9, x28
b.ne .Lasm_IteratorNextUnpack.values_restore_stack_4
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #3]
ldr x11, [sp, #16]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorNextUnpack.skip_exceptional_output_10:
- ldurh w12, [x21, #9]
+ ldrb w12, [x21, #5]
ldr x11, [sp, #32]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorNextUnpack.skip_exceptional_output_11:
@@ -16108,15 +16119,15 @@ asm_handler_IteratorToArray:
sub w1, w21, w26
str w1, [x28, #64]
sub sp, sp, #32
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #2]
ldr x11, [x27, x12, lsl #3]
.Lasm_IteratorToArray.value_ready_1:
mov x4, x11
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #3]
ldr x11, [x27, x12, lsl #3]
.Lasm_IteratorToArray.value_ready_2:
mov x5, x11
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #4]
ldr x11, [x27, x12, lsl #3]
.Lasm_IteratorToArray.value_ready_3:
mov x6, x11
@@ -16127,11 +16138,11 @@ asm_handler_IteratorToArray:
bl CSYM(asm_slow_path_iterator_to_array)
tbnz x0, #63, .Lasm_IteratorToArray.values_exceptional_outputs_5
tbz x0, #32, .Lasm_IteratorToArray.values_exceptional_outputs_5
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorToArray.skip_output_value_6:
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #4]
ldr x11, [sp, #24]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorToArray.skip_output_value_7:
@@ -16144,7 +16155,7 @@ asm_handler_IteratorToArray:
ldr x9, [x20]
cmp x9, x28
b.ne .Lasm_IteratorToArray.values_restore_stack_4
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #4]
ldr x11, [sp, #24]
str x11, [x27, x12, lsl #3]
.Lasm_IteratorToArray.skip_exceptional_output_8:
@@ -16178,7 +16189,7 @@ asm_handler_CallConstruct:
sub w1, w21, w26
str w1, [x28, #64]
add x9, sp, #0
- ldur w10, [x21, #9]
+ ldrb w10, [x21, #7]
lsl x10, x10, #3
add x10, x10, #47
and x10, x10, #0xfffffffffffffff0
@@ -16203,18 +16214,18 @@ asm_handler_CallConstruct:
.Lasm_CallConstruct.values_allocated_3:
add sp, x14, #0
str x9, [sp]
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #6]
ldr x11, [x27, x12, lsl #3]
.Lasm_CallConstruct.value_ready_4:
str x11, [sp, #24]
mov w9, #0
- ldur w10, [x21, #9]
+ ldrb w10, [x21, #7]
add x14, sp, #32
- add x3, x21, #15
+ add x3, x21, #10
.Lasm_CallConstruct.array_value_next_5:
cmp x9, x10
b.hs .Lasm_CallConstruct.array_values_end_7
- ldrh w12, [x3, x9, lsl #1]
+ ldrb w12, [x3, x9]
ldr x11, [x27, x12, lsl #3]
.Lasm_CallConstruct.array_value_ready_6:
str x11, [x14, x9, lsl #3]
@@ -16228,7 +16239,7 @@ asm_handler_CallConstruct:
bl CSYM(asm_slow_path_call_construct)
tbnz x0, #63, .Lasm_CallConstruct.values_exceptional_outputs_9
tbz x0, #32, .Lasm_CallConstruct.values_exceptional_outputs_9
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #5]
ldr x11, [sp, #16]
str x11, [x27, x12, lsl #3]
.Lasm_CallConstruct.skip_output_value_10:
@@ -16270,7 +16281,7 @@ asm_handler_CallDirectEval:
sub w1, w21, w26
str w1, [x28, #64]
add x9, sp, #0
- ldur w10, [x21, #11]
+ ldrb w10, [x21, #8]
lsl x10, x10, #3
add x10, x10, #55
and x10, x10, #0xfffffffffffffff0
@@ -16295,22 +16306,22 @@ asm_handler_CallDirectEval:
.Lasm_CallDirectEval.values_allocated_3:
add sp, x14, #0
str x9, [sp]
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #6]
ldr x11, [x27, x12, lsl #3]
.Lasm_CallDirectEval.value_ready_4:
str x11, [sp, #24]
- ldurh w12, [x21, #9]
+ ldrb w12, [x21, #7]
ldr x11, [x27, x12, lsl #3]
.Lasm_CallDirectEval.value_ready_5:
str x11, [sp, #32]
mov w9, #0
- ldur w10, [x21, #11]
+ ldrb w10, [x21, #8]
add x14, sp, #40
- add x3, x21, #17
+ add x3, x21, #11
.Lasm_CallDirectEval.array_value_next_6:
cmp x9, x10
b.hs .Lasm_CallDirectEval.array_values_end_8
- ldrh w12, [x3, x9, lsl #1]
+ ldrb w12, [x3, x9]
ldr x11, [x27, x12, lsl #3]
.Lasm_CallDirectEval.array_value_ready_7:
str x11, [x14, x9, lsl #3]
@@ -16324,7 +16335,7 @@ asm_handler_CallDirectEval:
bl CSYM(asm_slow_path_call_direct_eval)
tbnz x0, #63, .Lasm_CallDirectEval.values_exceptional_outputs_10
tbz x0, #32, .Lasm_CallDirectEval.values_exceptional_outputs_10
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #5]
ldr x11, [sp, #16]
str x11, [x27, x12, lsl #3]
.Lasm_CallDirectEval.skip_output_value_11:
@@ -16365,15 +16376,15 @@ asm_handler_CallWithArgumentArray:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #7]
+ ldrb w9, [x21, #6]
ldr x10, [x27, x9, lsl #3]
.Lasm_CallWithArgumentArray.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #9]
+ ldrb w9, [x21, #7]
ldr x10, [x27, x9, lsl #3]
.Lasm_CallWithArgumentArray.scalar_value_ready_1:
mov x4, x10
- ldurh w9, [x21, #11]
+ ldrb w9, [x21, #8]
ldr x10, [x27, x9, lsl #3]
.Lasm_CallWithArgumentArray.scalar_value_ready_2:
mov x5, x10
@@ -16383,7 +16394,7 @@ asm_handler_CallWithArgumentArray:
bl CSYM(asm_slow_path_call_with_argument_array)
tbnz x0, #63, .Lasm_CallWithArgumentArray.scalar_result_done_3
tbz x0, #32, .Lasm_CallWithArgumentArray.scalar_result_done_3
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -16416,15 +16427,15 @@ asm_handler_CallDirectEvalWithArgumentArray:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #7]
+ ldrb w9, [x21, #6]
ldr x10, [x27, x9, lsl #3]
.Lasm_CallDirectEvalWithArgumentArray.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #9]
+ ldrb w9, [x21, #7]
ldr x10, [x27, x9, lsl #3]
.Lasm_CallDirectEvalWithArgumentArray.scalar_value_ready_1:
mov x4, x10
- ldurh w9, [x21, #11]
+ ldrb w9, [x21, #8]
ldr x10, [x27, x9, lsl #3]
.Lasm_CallDirectEvalWithArgumentArray.scalar_value_ready_2:
mov x5, x10
@@ -16434,7 +16445,7 @@ asm_handler_CallDirectEvalWithArgumentArray:
bl CSYM(asm_slow_path_call_direct_eval_with_argument_array)
tbnz x0, #63, .Lasm_CallDirectEvalWithArgumentArray.scalar_result_done_3
tbz x0, #32, .Lasm_CallDirectEvalWithArgumentArray.scalar_result_done_3
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -16467,15 +16478,15 @@ asm_handler_CallConstructWithArgumentArray:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #7]
+ ldrb w9, [x21, #6]
ldr x10, [x27, x9, lsl #3]
.Lasm_CallConstructWithArgumentArray.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #9]
+ ldrb w9, [x21, #7]
ldr x10, [x27, x9, lsl #3]
.Lasm_CallConstructWithArgumentArray.scalar_value_ready_1:
mov x4, x10
- ldurh w9, [x21, #11]
+ ldrb w9, [x21, #8]
ldr x10, [x27, x9, lsl #3]
.Lasm_CallConstructWithArgumentArray.scalar_value_ready_2:
mov x5, x10
@@ -16485,7 +16496,7 @@ asm_handler_CallConstructWithArgumentArray:
bl CSYM(asm_slow_path_call_construct_with_argument_array)
tbnz x0, #63, .Lasm_CallConstructWithArgumentArray.scalar_result_done_3
tbz x0, #32, .Lasm_CallConstructWithArgumentArray.scalar_result_done_3
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -16518,11 +16529,11 @@ asm_handler_SuperCallWithArgumentArray:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #7]
+ ldrb w9, [x21, #6]
ldr x10, [x27, x9, lsl #3]
.Lasm_SuperCallWithArgumentArray.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #9]
+ ldrb w9, [x21, #7]
ldr x10, [x27, x9, lsl #3]
.Lasm_SuperCallWithArgumentArray.scalar_value_ready_1:
mov x4, x10
@@ -16532,7 +16543,7 @@ asm_handler_SuperCallWithArgumentArray:
bl CSYM(asm_slow_path_super_call_with_argument_array)
tbnz x0, #63, .Lasm_SuperCallWithArgumentArray.scalar_result_done_2
tbz x0, #32, .Lasm_SuperCallWithArgumentArray.scalar_result_done_2
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -16571,7 +16582,7 @@ asm_handler_NewObject:
bl CSYM(asm_slow_path_new_object)
tbnz x0, #63, .Lasm_NewObject.scalar_result_done_0
tbz x0, #32, .Lasm_NewObject.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -16610,7 +16621,7 @@ asm_handler_NewObjectWithNoPrototype:
bl CSYM(asm_slow_path_new_object_with_no_prototype)
tbnz x0, #63, .Lasm_NewObjectWithNoPrototype.scalar_result_done_0
tbz x0, #32, .Lasm_NewObjectWithNoPrototype.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -16643,7 +16654,7 @@ asm_handler_CacheObjectShape:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_CacheObjectShape.scalar_value_ready_0:
mov x3, x10
@@ -16684,11 +16695,11 @@ asm_handler_InitObjectLiteralProperty:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_InitObjectLiteralProperty.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
ldr x10, [x27, x9, lsl #3]
.Lasm_InitObjectLiteralProperty.scalar_value_ready_1:
mov x4, x10
@@ -16730,7 +16741,7 @@ asm_handler_NewArray:
sub w1, w21, w26
str w1, [x28, #64]
add x9, sp, #0
- ldur w10, [x21, #3]
+ ldrb w10, [x21, #2]
lsl x10, x10, #3
add x10, x10, #39
and x10, x10, #0xfffffffffffffff0
@@ -16756,13 +16767,13 @@ asm_handler_NewArray:
add sp, x14, #0
str x9, [sp]
mov w9, #0
- ldur w10, [x21, #3]
+ ldrb w10, [x21, #2]
add x14, sp, #24
- add x3, x21, #7
+ add x3, x21, #3
.Lasm_NewArray.array_value_next_4:
cmp x9, x10
b.hs .Lasm_NewArray.array_values_end_6
- ldrh w12, [x3, x9, lsl #1]
+ ldrb w12, [x3, x9]
ldr x11, [x27, x12, lsl #3]
.Lasm_NewArray.array_value_ready_5:
str x11, [x14, x9, lsl #3]
@@ -16776,7 +16787,7 @@ asm_handler_NewArray:
bl CSYM(asm_slow_path_new_array)
tbnz x0, #63, .Lasm_NewArray.values_exceptional_outputs_8
tbz x0, #32, .Lasm_NewArray.values_exceptional_outputs_8
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [sp, #16]
str x11, [x27, x12, lsl #3]
.Lasm_NewArray.skip_output_value_9:
@@ -16823,7 +16834,7 @@ asm_handler_NewPrimitiveArray:
bl CSYM(asm_slow_path_new_primitive_array)
tbnz x0, #63, .Lasm_NewPrimitiveArray.scalar_result_done_0
tbz x0, #32, .Lasm_NewPrimitiveArray.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -16862,7 +16873,7 @@ asm_handler_NewRegExp:
bl CSYM(asm_slow_path_new_regexp)
tbnz x0, #63, .Lasm_NewRegExp.scalar_result_done_0
tbz x0, #32, .Lasm_NewRegExp.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -16901,7 +16912,7 @@ asm_handler_NewReferenceError:
bl CSYM(asm_slow_path_new_reference_error)
tbnz x0, #63, .Lasm_NewReferenceError.scalar_result_done_0
tbz x0, #32, .Lasm_NewReferenceError.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -16940,7 +16951,7 @@ asm_handler_NewTypeError:
bl CSYM(asm_slow_path_new_type_error)
tbnz x0, #63, .Lasm_NewTypeError.scalar_result_done_0
tbz x0, #32, .Lasm_NewTypeError.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -16973,11 +16984,11 @@ asm_handler_InstanceOf:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_InstanceOf.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #3]
ldr x10, [x27, x9, lsl #3]
.Lasm_InstanceOf.scalar_value_ready_1:
mov x4, x10
@@ -16987,7 +16998,7 @@ asm_handler_InstanceOf:
bl CSYM(asm_slow_path_instance_of)
tbnz x0, #63, .Lasm_InstanceOf.scalar_result_done_2
tbz x0, #32, .Lasm_InstanceOf.scalar_result_done_2
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -17020,11 +17031,11 @@ asm_handler_In:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_In.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #3]
ldr x10, [x27, x9, lsl #3]
.Lasm_In.scalar_value_ready_1:
mov x4, x10
@@ -17034,7 +17045,7 @@ asm_handler_In:
bl CSYM(asm_slow_path_in)
tbnz x0, #63, .Lasm_In.scalar_result_done_2
tbz x0, #32, .Lasm_In.scalar_result_done_2
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -17069,7 +17080,7 @@ asm_handler_IsConstructor:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_IsConstructor.scalar_value_ready_0:
mov x3, x10
@@ -17079,7 +17090,7 @@ asm_handler_IsConstructor:
bl CSYM(asm_slow_path_is_constructor)
tbnz x0, #63, .Lasm_IsConstructor.scalar_result_done_1
tbz x0, #32, .Lasm_IsConstructor.scalar_result_done_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -17149,15 +17160,15 @@ asm_handler_CreateAsyncFromSyncIterator:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_CreateAsyncFromSyncIterator.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #3]
ldr x10, [x27, x9, lsl #3]
.Lasm_CreateAsyncFromSyncIterator.scalar_value_ready_1:
mov x4, x10
- ldurh w9, [x21, #7]
+ ldrb w9, [x21, #4]
ldr x10, [x27, x9, lsl #3]
.Lasm_CreateAsyncFromSyncIterator.scalar_value_ready_2:
mov x5, x10
@@ -17167,7 +17178,7 @@ asm_handler_CreateAsyncFromSyncIterator:
bl CSYM(asm_slow_path_create_async_from_sync_iterator)
tbnz x0, #63, .Lasm_CreateAsyncFromSyncIterator.scalar_result_done_3
tbz x0, #32, .Lasm_CreateAsyncFromSyncIterator.scalar_result_done_3
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -17200,15 +17211,15 @@ asm_handler_CreateDataPropertyOrThrow:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_CreateDataPropertyOrThrow.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_CreateDataPropertyOrThrow.scalar_value_ready_1:
mov x4, x10
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #3]
ldr x10, [x27, x9, lsl #3]
.Lasm_CreateDataPropertyOrThrow.scalar_value_ready_2:
mov x5, x10
@@ -17249,7 +17260,7 @@ asm_handler_CreateImmutableBinding:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_CreateImmutableBinding.scalar_value_ready_0:
mov x3, x10
@@ -17290,7 +17301,7 @@ asm_handler_CreateMutableBinding:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_CreateMutableBinding.scalar_value_ready_0:
mov x3, x10
@@ -17337,7 +17348,7 @@ asm_handler_CreateRestParams:
bl CSYM(asm_slow_path_create_rest_params)
tbnz x0, #63, .Lasm_CreateRestParams.scalar_result_done_0
tbz x0, #32, .Lasm_CreateRestParams.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -17378,8 +17389,8 @@ asm_handler_CreateArguments:
bl CSYM(asm_slow_path_create_arguments)
tbnz x0, #63, .Lasm_CreateArguments.values_exceptional_outputs_2
tbz x0, #32, .Lasm_CreateArguments.values_exceptional_outputs_2
- ldurh w12, [x21, #1]
- mov w13, #65535
+ ldrb w12, [x21, #1]
+ mov w13, #255
cmp w12, w13
b.eq .Lasm_CreateArguments.skip_output_value_3
ldr x11, [sp]
@@ -17420,7 +17431,7 @@ asm_handler_CreateLexicalEnvironment:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_CreateLexicalEnvironment.scalar_value_ready_0:
mov x3, x10
@@ -17430,7 +17441,7 @@ asm_handler_CreateLexicalEnvironment:
bl CSYM(asm_slow_path_create_lexical_environment)
tbnz x0, #63, .Lasm_CreateLexicalEnvironment.scalar_result_done_1
tbz x0, #32, .Lasm_CreateLexicalEnvironment.scalar_result_done_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -17537,7 +17548,7 @@ asm_handler_DeleteById:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_DeleteById.scalar_value_ready_0:
mov x3, x10
@@ -17547,7 +17558,7 @@ asm_handler_DeleteById:
bl CSYM(asm_slow_path_delete_by_id)
tbnz x0, #63, .Lasm_DeleteById.scalar_result_done_1
tbz x0, #32, .Lasm_DeleteById.scalar_result_done_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -17580,11 +17591,11 @@ asm_handler_DeleteByValue:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_DeleteByValue.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #3]
ldr x10, [x27, x9, lsl #3]
.Lasm_DeleteByValue.scalar_value_ready_1:
mov x4, x10
@@ -17594,7 +17605,7 @@ asm_handler_DeleteByValue:
bl CSYM(asm_slow_path_delete_by_value)
tbnz x0, #63, .Lasm_DeleteByValue.scalar_result_done_2
tbz x0, #32, .Lasm_DeleteByValue.scalar_result_done_2
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -17633,7 +17644,7 @@ asm_handler_DeleteVariable:
bl CSYM(asm_slow_path_delete_variable)
tbnz x0, #63, .Lasm_DeleteVariable.scalar_result_done_0
tbz x0, #32, .Lasm_DeleteVariable.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -17672,7 +17683,7 @@ asm_handler_NewDisposableResourceStack:
bl CSYM(asm_slow_path_new_disposable_resource_stack)
tbnz x0, #63, .Lasm_NewDisposableResourceStack.scalar_result_done_0
tbz x0, #32, .Lasm_NewDisposableResourceStack.scalar_result_done_0
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -17705,11 +17716,11 @@ asm_handler_AddDisposableResource:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_AddDisposableResource.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_AddDisposableResource.scalar_value_ready_1:
mov x4, x10
@@ -17750,15 +17761,15 @@ asm_handler_DisposeResources:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_DisposeResources.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_DisposeResources.scalar_value_ready_1:
mov x4, x10
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #3]
ldr x10, [x27, x9, lsl #3]
.Lasm_DisposeResources.scalar_value_ready_2:
mov x5, x10
@@ -17800,23 +17811,23 @@ asm_handler_AsyncDisposeResourcesStep:
sub w1, w21, w26
str w1, [x28, #64]
sub sp, sp, #80
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #3]
ldr x11, [x27, x12, lsl #3]
.Lasm_AsyncDisposeResourcesStep.value_ready_1:
mov x4, x11
- ldurh w12, [x21, #7]
+ ldrb w12, [x21, #4]
ldr x11, [x27, x12, lsl #3]
.Lasm_AsyncDisposeResourcesStep.value_ready_2:
mov x5, x11
- ldurh w12, [x21, #9]
+ ldrb w12, [x21, #5]
ldr x11, [x27, x12, lsl #3]
.Lasm_AsyncDisposeResourcesStep.value_ready_3:
mov x6, x11
- ldurh w12, [x21, #11]
+ ldrb w12, [x21, #6]
ldr x11, [x27, x12, lsl #3]
.Lasm_AsyncDisposeResourcesStep.value_ready_4:
mov x7, x11
- ldurh w12, [x21, #13]
+ ldrb w12, [x21, #7]
ldr x11, [x27, x12, lsl #3]
.Lasm_AsyncDisposeResourcesStep.value_ready_5:
str x11, [sp]
@@ -17827,11 +17838,11 @@ asm_handler_AsyncDisposeResourcesStep:
bl CSYM(asm_slow_path_async_dispose_resources_step)
tbnz x0, #63, .Lasm_AsyncDisposeResourcesStep.values_exceptional_outputs_7
tbz x0, #32, .Lasm_AsyncDisposeResourcesStep.values_exceptional_outputs_7
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [sp, #16]
str x11, [x27, x12, lsl #3]
.Lasm_AsyncDisposeResourcesStep.skip_output_value_8:
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #2]
ldr x11, [sp, #24]
str x11, [x27, x12, lsl #3]
.Lasm_AsyncDisposeResourcesStep.skip_output_value_9:
@@ -17871,7 +17882,7 @@ asm_handler_GetCompletionFields:
sub w1, w21, w26
str w1, [x28, #64]
sub sp, sp, #32
- ldurh w12, [x21, #5]
+ ldrb w12, [x21, #3]
ldr x11, [x27, x12, lsl #3]
.Lasm_GetCompletionFields.value_ready_1:
mov x4, x11
@@ -17882,11 +17893,11 @@ asm_handler_GetCompletionFields:
bl CSYM(asm_slow_path_get_completion_fields)
tbnz x0, #63, .Lasm_GetCompletionFields.values_exceptional_outputs_3
tbz x0, #32, .Lasm_GetCompletionFields.values_exceptional_outputs_3
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [sp]
str x11, [x27, x12, lsl #3]
.Lasm_GetCompletionFields.skip_output_value_4:
- ldurh w12, [x21, #3]
+ ldrb w12, [x21, #2]
ldr x11, [sp, #8]
str x11, [x27, x12, lsl #3]
.Lasm_GetCompletionFields.skip_output_value_5:
@@ -17925,7 +17936,7 @@ asm_handler_SetCompletionType:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_SetCompletionType.scalar_value_ready_0:
mov x3, x10
@@ -17967,7 +17978,7 @@ asm_handler_GetTemplateObject:
sub w1, w21, w26
str w1, [x28, #64]
add x9, sp, #0
- ldur w10, [x21, #3]
+ ldrb w10, [x21, #3]
lsl x10, x10, #3
add x10, x10, #39
and x10, x10, #0xfffffffffffffff0
@@ -17993,13 +18004,13 @@ asm_handler_GetTemplateObject:
add sp, x14, #0
str x9, [sp]
mov w9, #0
- ldur w10, [x21, #3]
+ ldrb w10, [x21, #3]
add x14, sp, #24
- add x3, x21, #11
+ add x3, x21, #8
.Lasm_GetTemplateObject.array_value_next_4:
cmp x9, x10
b.hs .Lasm_GetTemplateObject.array_values_end_6
- ldrh w12, [x3, x9, lsl #1]
+ ldrb w12, [x3, x9]
ldr x11, [x27, x12, lsl #3]
.Lasm_GetTemplateObject.array_value_ready_5:
str x11, [x14, x9, lsl #3]
@@ -18013,7 +18024,7 @@ asm_handler_GetTemplateObject:
bl CSYM(asm_slow_path_get_template_object)
tbnz x0, #63, .Lasm_GetTemplateObject.values_exceptional_outputs_8
tbz x0, #32, .Lasm_GetTemplateObject.values_exceptional_outputs_8
- ldurh w12, [x21, #1]
+ ldrb w12, [x21, #1]
ldr x11, [sp, #16]
str x11, [x27, x12, lsl #3]
.Lasm_GetTemplateObject.skip_output_value_9:
@@ -18054,9 +18065,9 @@ asm_handler_NewFunction:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #9]
+ ldrb w9, [x21, #9]
movz x10, #0x7ffb, lsl #48
- mov w11, #65535
+ mov w11, #255
cmp w9, w11
b.eq .Lasm_NewFunction.scalar_value_ready_0
ldr x10, [x27, x9, lsl #3]
@@ -18068,7 +18079,7 @@ asm_handler_NewFunction:
bl CSYM(asm_slow_path_new_function)
tbnz x0, #63, .Lasm_NewFunction.scalar_result_done_1
tbz x0, #32, .Lasm_NewFunction.scalar_result_done_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -18101,7 +18112,7 @@ asm_handler_Typeof:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_Typeof.scalar_value_ready_0:
mov x3, x10
@@ -18111,7 +18122,7 @@ asm_handler_Typeof:
bl CSYM(asm_slow_path_typeof)
tbnz x0, #63, .Lasm_Typeof.scalar_result_done_1
tbz x0, #32, .Lasm_Typeof.scalar_result_done_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -18187,7 +18198,7 @@ asm_handler_GetPrivateById:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #2]
ldr x10, [x27, x9, lsl #3]
.Lasm_GetPrivateById.scalar_value_ready_0:
mov x3, x10
@@ -18197,7 +18208,7 @@ asm_handler_GetPrivateById:
bl CSYM(asm_slow_path_get_private_by_id)
tbnz x0, #63, .Lasm_GetPrivateById.scalar_result_done_1
tbz x0, #32, .Lasm_GetPrivateById.scalar_result_done_1
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
str x1, [x27, x9, lsl #3]
add x21, x26, w0, uxtw
ldrb w9, [x21]
@@ -18230,11 +18241,11 @@ asm_handler_PutPrivateById:
mov x0, x20
sub w1, w21, w26
str w1, [x28, #64]
- ldurh w9, [x21, #1]
+ ldrb w9, [x21, #1]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutPrivateById.scalar_value_ready_0:
mov x3, x10
- ldurh w9, [x21, #5]
+ ldrb w9, [x21, #5]
ldr x10, [x27, x9, lsl #3]
.Lasm_PutPrivateById.scalar_value_ready_1:
mov x4, x10
@@ -18279,14 +18290,14 @@ asm_handler_AddLhsInt32_cold:
mov w9, #32760
cmp w1, w9
b.ne .Lasm_AddLhsInt32.ssa_block_5
- ldur w1, [x21, #5]
+ ldr w1, [x21, #4]
movk x1, #0x7ffa, lsl #48
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x1
mov x4, x0
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -18329,7 +18340,7 @@ asm_handler_AddLhsInt32_cold:
br x10
.Lasm_AddLhsInt32.ssa_block_5:
fmov d1, x0
- ldur w0, [x21, #5]
+ ldr w0, [x21, #4]
scvtf d0, w0
fadd d0, d0, d1
fcvtzs w1, d0
@@ -18354,23 +18365,23 @@ asm_handler_AddLhsInt32_cold:
b.vs .Lasm_AddLhsInt32.canon_nan_2
.Lasm_AddLhsInt32.canon_nan_2_ret:
.Lasm_AddLhsInt32.ssa_box_number_6_done:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_AddLhsInt32.ssa_block_8:
sxtw x0, w0
- ldur w1, [x21, #5]
+ ldr w1, [x21, #4]
scvtf d0, w1
scvtf d1, w0
fadd d0, d0, d1
fmov x0, d0
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_AddLhsInt32.canon_nan_2:
@@ -18380,18 +18391,18 @@ asm_handler_AddLhsInt32_cold_end:
asm_handler_AddRhsInt32_cold:
// Cold paths for AddRhsInt32
.Lasm_AddRhsInt32.ssa_checked_6_failure:
- ldur w9, [x21, #7]
+ ldur w9, [x21, #5]
subs w0, w0, w9
sxtw x0, w0
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
scvtf d0, w0
scvtf d1, w1
fadd d0, d0, d1
fmov x0, d0
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_AddRhsInt32.ssa_block_5:
@@ -18400,7 +18411,7 @@ asm_handler_AddRhsInt32_cold:
cmp w1, w9
b.eq .Lasm_AddRhsInt32.ssa_block_1
fmov d0, x0
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
scvtf d1, w0
fadd d0, d0, d1
fcvtzs w1, d0
@@ -18425,21 +18436,21 @@ asm_handler_AddRhsInt32_cold:
b.vs .Lasm_AddRhsInt32.canon_nan_0
.Lasm_AddRhsInt32.canon_nan_0_ret:
.Lasm_AddRhsInt32.ssa_box_number_8_done:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_AddRhsInt32.ssa_block_1:
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -18487,18 +18498,18 @@ asm_handler_AddRhsInt32_cold_end:
asm_handler_SubRhsInt32_cold:
// Cold paths for SubRhsInt32
.Lasm_SubRhsInt32.ssa_checked_6_failure:
- ldur w9, [x21, #7]
+ ldur w9, [x21, #5]
adds w0, w0, w9
sxtw x0, w0
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
scvtf d0, w0
scvtf d1, w1
fsub d0, d0, d1
fmov x0, d0
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_SubRhsInt32.ssa_block_5:
@@ -18507,7 +18518,7 @@ asm_handler_SubRhsInt32_cold:
cmp w1, w9
b.eq .Lasm_SubRhsInt32.ssa_block_1
fmov d0, x0
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
scvtf d1, w0
fsub d0, d0, d1
fcvtzs w1, d0
@@ -18532,21 +18543,21 @@ asm_handler_SubRhsInt32_cold:
b.vs .Lasm_SubRhsInt32.canon_nan_0
.Lasm_SubRhsInt32.canon_nan_0_ret:
.Lasm_SubRhsInt32.ssa_box_number_8_done:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_SubRhsInt32.ssa_block_1:
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -18598,14 +18609,14 @@ asm_handler_MulRhsInt32_cold:
mov w9, #32760
cmp w2, w9
b.ne .Lasm_MulRhsInt32.ssa_block_13
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -18648,7 +18659,7 @@ asm_handler_MulRhsInt32_cold:
br x10
.Lasm_MulRhsInt32.ssa_block_13:
fmov d0, x0
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
scvtf d1, w0
fmul d0, d0, d1
fcvtzs w1, d0
@@ -18673,31 +18684,31 @@ asm_handler_MulRhsInt32_cold:
b.vs .Lasm_MulRhsInt32.canon_nan_2
.Lasm_MulRhsInt32.canon_nan_2_ret:
.Lasm_MulRhsInt32.ssa_box_number_8_done:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_MulRhsInt32.ssa_block_3:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x8000, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_MulRhsInt32.ssa_block_9:
sxtw x0, w0
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
scvtf d0, w0
scvtf d1, w1
fmul d0, d0, d1
fmov x0, d0
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_MulRhsInt32.canon_nan_2:
@@ -18706,16 +18717,16 @@ asm_handler_MulRhsInt32_cold:
asm_handler_MulRhsInt32_cold_end:
.p2align 4
asm_handler_ExpRhsInt32:
- ldurh w0, [x21, #5]
+ ldrb w0, [x21, #4]
ldr x0, [x27, x0, lsl #3]
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -18757,14 +18768,14 @@ asm_handler_ExpRhsInt32_cold_end:
asm_handler_DivRhsInt32_cold:
// Cold paths for DivRhsInt32
.Lasm_DivRhsInt32.ssa_block_1:
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -18812,7 +18823,7 @@ asm_handler_DivRhsInt32_cold_end:
asm_handler_BitwiseXorRhsInt32_cold:
// Cold paths for BitwiseXorRhsInt32
.Lasm_BitwiseXorRhsInt32.ssa_block_2:
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
lsr x2, x0, #48
movk x1, #0x7ffa, lsl #48
cmp x2, x22
@@ -18846,12 +18857,12 @@ asm_handler_BitwiseXorRhsInt32_cold:
b.ne .Lasm_BitwiseXorRhsInt32.ssa_block_1
b .Lasm_BitwiseXorRhsInt32.ssa_block_7
.Lasm_BitwiseXorRhsInt32.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -18897,17 +18908,17 @@ asm_handler_BitwiseXorRhsInt32_cold:
.Lasm_BitwiseXorRhsInt32.ssa_block_7:
eor w2, w2, w3
movk x2, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x2, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_BitwiseXorRhsInt32_cold_end:
asm_handler_BitwiseAndRhsInt32_cold:
// Cold paths for BitwiseAndRhsInt32
.Lasm_BitwiseAndRhsInt32.ssa_block_2:
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
lsr x2, x0, #48
movk x1, #0x7ffa, lsl #48
cmp x2, x22
@@ -18941,12 +18952,12 @@ asm_handler_BitwiseAndRhsInt32_cold:
b.ne .Lasm_BitwiseAndRhsInt32.ssa_block_1
b .Lasm_BitwiseAndRhsInt32.ssa_block_7
.Lasm_BitwiseAndRhsInt32.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -18992,17 +19003,17 @@ asm_handler_BitwiseAndRhsInt32_cold:
.Lasm_BitwiseAndRhsInt32.ssa_block_7:
and w2, w2, w3
movk x2, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x2, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_BitwiseAndRhsInt32_cold_end:
asm_handler_BitwiseOrRhsInt32_cold:
// Cold paths for BitwiseOrRhsInt32
.Lasm_BitwiseOrRhsInt32.ssa_block_2:
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
lsr x2, x0, #48
movk x1, #0x7ffa, lsl #48
cmp x2, x22
@@ -19036,12 +19047,12 @@ asm_handler_BitwiseOrRhsInt32_cold:
b.ne .Lasm_BitwiseOrRhsInt32.ssa_block_1
b .Lasm_BitwiseOrRhsInt32.ssa_block_7
.Lasm_BitwiseOrRhsInt32.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -19087,24 +19098,24 @@ asm_handler_BitwiseOrRhsInt32_cold:
.Lasm_BitwiseOrRhsInt32.ssa_block_7:
orr w2, w2, w3
movk x2, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x2, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
asm_handler_BitwiseOrRhsInt32_cold_end:
asm_handler_LeftShiftRhsInt32_cold:
// Cold paths for LeftShiftRhsInt32
.Lasm_LeftShiftRhsInt32.ssa_block_1:
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -19149,14 +19160,14 @@ asm_handler_LeftShiftRhsInt32_cold_end:
asm_handler_RightShiftRhsInt32_cold:
// Cold paths for RightShiftRhsInt32
.Lasm_RightShiftRhsInt32.ssa_block_1:
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -19203,21 +19214,21 @@ asm_handler_UnsignedRightShiftRhsInt32_cold:
.Lasm_UnsignedRightShiftRhsInt32.ssa_block_2:
scvtf d0, x0
fmov x0, d0
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_UnsignedRightShiftRhsInt32.ssa_block_1:
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -19281,7 +19292,7 @@ asm_handler_ModRhsInt32_cold:
sxtw x1, w0
sxtw x2, w1
.Lasm_ModRhsInt32.ssa_block_20:
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
sxtw x1, w1
cbz x1, .Lasm_ModRhsInt32.ssa_block_1
cmn x1, #1
@@ -19294,19 +19305,19 @@ asm_handler_ModRhsInt32_cold:
cmp x2, x1
b.ne .Lasm_ModRhsInt32.ssa_block_5
movk x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_ModRhsInt32.ssa_block_5:
scvtf d0, x1
fmov x0, d0
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_ModRhsInt32.ssa_block_3:
@@ -19317,29 +19328,29 @@ asm_handler_ModRhsInt32_cold:
b .Lasm_ModRhsInt32.ssa_block_4
1:
movz x0, #0x7ffa, lsl #48
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
str x0, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_ModRhsInt32.ssa_block_4:
- ldurh w9, [x21, #3]
+ ldrb w9, [x21, #3]
movz x10, #0x8000, lsl #48
str x10, [x27, x9, lsl #3]
- ldrb w9, [x21, #11]
- add x21, x21, #11
+ ldrb w9, [x21, #9]
+ add x21, x21, #9
ldr x10, [x19, x9, lsl #3]
br x10
.Lasm_ModRhsInt32.ssa_block_1:
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -19388,14 +19399,14 @@ asm_handler_LessThanRhsInt32_cold:
mov w9, #32760
cmp w1, w9
b.ne .Lasm_LessThanRhsInt32.ssa_block_15
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -19438,7 +19449,7 @@ asm_handler_LessThanRhsInt32_cold:
br x10
.Lasm_LessThanRhsInt32.ssa_block_15:
fmov d0, x0
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
scvtf d1, w0
fcmp d0, d1
b.vs .Lasm_LessThanRhsInt32.ssa_block_2
@@ -19452,14 +19463,14 @@ asm_handler_LessThanEqualsRhsInt32_cold:
mov w9, #32760
cmp w1, w9
b.ne .Lasm_LessThanEqualsRhsInt32.ssa_block_15
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -19502,7 +19513,7 @@ asm_handler_LessThanEqualsRhsInt32_cold:
br x10
.Lasm_LessThanEqualsRhsInt32.ssa_block_15:
fmov d0, x0
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
scvtf d1, w0
fcmp d0, d1
b.vs .Lasm_LessThanEqualsRhsInt32.ssa_block_2
@@ -19516,14 +19527,14 @@ asm_handler_GreaterThanRhsInt32_cold:
mov w9, #32760
cmp w1, w9
b.ne .Lasm_GreaterThanRhsInt32.ssa_block_15
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -19566,7 +19577,7 @@ asm_handler_GreaterThanRhsInt32_cold:
br x10
.Lasm_GreaterThanRhsInt32.ssa_block_15:
fmov d0, x0
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
scvtf d1, w0
fcmp d0, d1
b.vs .Lasm_GreaterThanRhsInt32.ssa_block_2
@@ -19580,14 +19591,14 @@ asm_handler_GreaterThanEqualsRhsInt32_cold:
mov w9, #32760
cmp w1, w9
b.ne .Lasm_GreaterThanEqualsRhsInt32.ssa_block_15
- ldur w1, [x21, #7]
+ ldur w1, [x21, #5]
movk x1, #0x7ffa, lsl #48
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -19630,7 +19641,7 @@ asm_handler_GreaterThanEqualsRhsInt32_cold:
br x10
.Lasm_GreaterThanEqualsRhsInt32.ssa_block_15:
fmov d0, x0
- ldur w0, [x21, #7]
+ ldur w0, [x21, #5]
scvtf d1, w0
fcmp d0, d1
b.vs .Lasm_GreaterThanEqualsRhsInt32.ssa_block_2
@@ -19644,9 +19655,9 @@ asm_handler_JumpLessThanRhsInt32_cold:
mov w9, #32760
cmp w1, w9
b.ne .Lasm_JumpLessThanRhsInt32.ssa_block_15
- ldur w1, [x21, #5]
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w1, [x21, #4]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
movk x1, #0x7ffa, lsl #48
mov x4, x2
mov x2, x0
@@ -19677,7 +19688,7 @@ asm_handler_JumpLessThanRhsInt32_cold:
br x10
.Lasm_JumpLessThanRhsInt32.ssa_block_15:
fmov d0, x0
- ldur w0, [x21, #5]
+ ldr w0, [x21, #4]
scvtf d1, w0
fcmp d0, d1
b.vs .Lasm_JumpLessThanRhsInt32.ssa_block_3
@@ -19691,9 +19702,9 @@ asm_handler_JumpLessThanEqualsRhsInt32_cold:
mov w9, #32760
cmp w1, w9
b.ne .Lasm_JumpLessThanEqualsRhsInt32.ssa_block_15
- ldur w1, [x21, #5]
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w1, [x21, #4]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
movk x1, #0x7ffa, lsl #48
mov x4, x2
mov x2, x0
@@ -19724,7 +19735,7 @@ asm_handler_JumpLessThanEqualsRhsInt32_cold:
br x10
.Lasm_JumpLessThanEqualsRhsInt32.ssa_block_15:
fmov d0, x0
- ldur w0, [x21, #5]
+ ldr w0, [x21, #4]
scvtf d1, w0
fcmp d0, d1
b.vs .Lasm_JumpLessThanEqualsRhsInt32.ssa_block_3
@@ -19738,9 +19749,9 @@ asm_handler_JumpGreaterThanRhsInt32_cold:
mov w9, #32760
cmp w1, w9
b.ne .Lasm_JumpGreaterThanRhsInt32.ssa_block_15
- ldur w1, [x21, #5]
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w1, [x21, #4]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
movk x1, #0x7ffa, lsl #48
mov x4, x2
mov x2, x0
@@ -19771,7 +19782,7 @@ asm_handler_JumpGreaterThanRhsInt32_cold:
br x10
.Lasm_JumpGreaterThanRhsInt32.ssa_block_15:
fmov d0, x0
- ldur w0, [x21, #5]
+ ldr w0, [x21, #4]
scvtf d1, w0
fcmp d0, d1
b.vs .Lasm_JumpGreaterThanRhsInt32.ssa_block_3
@@ -19785,9 +19796,9 @@ asm_handler_JumpGreaterThanEqualsRhsInt32_cold:
mov w9, #32760
cmp w1, w9
b.ne .Lasm_JumpGreaterThanEqualsRhsInt32.ssa_block_15
- ldur w1, [x21, #5]
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w1, [x21, #4]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
movk x1, #0x7ffa, lsl #48
mov x4, x2
mov x2, x0
@@ -19818,7 +19829,7 @@ asm_handler_JumpGreaterThanEqualsRhsInt32_cold:
br x10
.Lasm_JumpGreaterThanEqualsRhsInt32.ssa_block_15:
fmov d0, x0
- ldur w0, [x21, #5]
+ ldr w0, [x21, #4]
scvtf d1, w0
fcmp d0, d1
b.vs .Lasm_JumpGreaterThanEqualsRhsInt32.ssa_block_3
@@ -19851,12 +19862,12 @@ asm_handler_StrictlyEqualsRhsInt32_cold:
cmp x9, x10
b.eq .Lasm_StrictlyEqualsRhsInt32.ssa_block_34
.Lasm_StrictlyEqualsRhsInt32.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -19931,12 +19942,12 @@ asm_handler_StrictlyInequalsRhsInt32_cold:
cmp x9, x10
b.eq .Lasm_StrictlyInequalsRhsInt32.ssa_block_34
.Lasm_StrictlyInequalsRhsInt32.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -20011,12 +20022,12 @@ asm_handler_LooselyEqualsRhsInt32_cold:
cmp x9, x10
b.eq .Lasm_LooselyEqualsRhsInt32.ssa_block_36
.Lasm_LooselyEqualsRhsInt32.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -20091,12 +20102,12 @@ asm_handler_LooselyInequalsRhsInt32_cold:
cmp x9, x10
b.eq .Lasm_LooselyInequalsRhsInt32.ssa_block_36
.Lasm_LooselyInequalsRhsInt32.ssa_block_1:
- ldurh w2, [x21, #3]
+ ldrb w2, [x21, #3]
sub sp, sp, #16
str w2, [sp, #8]
mov x3, x0
mov x4, x1
- mov w5, #11
+ mov w5, #9
add x2, sp, #0
mov x0, x20
sub w1, w21, w26
@@ -20171,8 +20182,8 @@ asm_handler_JumpStrictlyEqualsRhsInt32_cold:
cmp x9, x10
b.eq .Lasm_JumpStrictlyEqualsRhsInt32.ssa_block_34
.Lasm_JumpStrictlyEqualsRhsInt32.ssa_block_1:
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
mov x4, x2
mov x2, x0
mov x5, x3
@@ -20234,8 +20245,8 @@ asm_handler_JumpStrictlyInequalsRhsInt32_cold:
cmp x9, x10
b.eq .Lasm_JumpStrictlyInequalsRhsInt32.ssa_block_34
.Lasm_JumpStrictlyInequalsRhsInt32.ssa_block_1:
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
mov x4, x2
mov x2, x0
mov x5, x3
@@ -20297,8 +20308,8 @@ asm_handler_JumpLooselyEqualsRhsInt32_cold:
cmp x9, x10
b.eq .Lasm_JumpLooselyEqualsRhsInt32.ssa_block_36
.Lasm_JumpLooselyEqualsRhsInt32.ssa_block_1:
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
mov x4, x2
mov x2, x0
mov x5, x3
@@ -20360,8 +20371,8 @@ asm_handler_JumpLooselyInequalsRhsInt32_cold:
cmp x9, x10
b.eq .Lasm_JumpLooselyInequalsRhsInt32.ssa_block_36
.Lasm_JumpLooselyInequalsRhsInt32.ssa_block_1:
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
mov x4, x2
mov x2, x0
mov x5, x3
@@ -20404,9 +20415,9 @@ asm_handler_JumpLessThanLoopRhsInt32_cold:
mov w9, #32760
cmp w1, w9
b.ne .Lasm_JumpLessThanLoopRhsInt32.ssa_block_15
- ldur w1, [x21, #5]
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w1, [x21, #4]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
movk x1, #0x7ffa, lsl #48
mov x4, x2
mov x2, x0
@@ -20437,7 +20448,7 @@ asm_handler_JumpLessThanLoopRhsInt32_cold:
br x10
.Lasm_JumpLessThanLoopRhsInt32.ssa_block_15:
fmov d0, x0
- ldur w0, [x21, #5]
+ ldr w0, [x21, #4]
scvtf d1, w0
fcmp d0, d1
b.vs .Lasm_JumpLessThanLoopRhsInt32.ssa_block_3
@@ -20451,9 +20462,9 @@ asm_handler_JumpLessThanEqualsLoopRhsInt32_cold:
mov w9, #32760
cmp w1, w9
b.ne .Lasm_JumpLessThanEqualsLoopRhsInt32.ssa_block_15
- ldur w1, [x21, #5]
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w1, [x21, #4]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
movk x1, #0x7ffa, lsl #48
mov x4, x2
mov x2, x0
@@ -20484,7 +20495,7 @@ asm_handler_JumpLessThanEqualsLoopRhsInt32_cold:
br x10
.Lasm_JumpLessThanEqualsLoopRhsInt32.ssa_block_15:
fmov d0, x0
- ldur w0, [x21, #5]
+ ldr w0, [x21, #4]
scvtf d1, w0
fcmp d0, d1
b.vs .Lasm_JumpLessThanEqualsLoopRhsInt32.ssa_block_3
@@ -20498,9 +20509,9 @@ asm_handler_JumpGreaterThanLoopRhsInt32_cold:
mov w9, #32760
cmp w1, w9
b.ne .Lasm_JumpGreaterThanLoopRhsInt32.ssa_block_15
- ldur w1, [x21, #5]
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w1, [x21, #4]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
movk x1, #0x7ffa, lsl #48
mov x4, x2
mov x2, x0
@@ -20531,7 +20542,7 @@ asm_handler_JumpGreaterThanLoopRhsInt32_cold:
br x10
.Lasm_JumpGreaterThanLoopRhsInt32.ssa_block_15:
fmov d0, x0
- ldur w0, [x21, #5]
+ ldr w0, [x21, #4]
scvtf d1, w0
fcmp d0, d1
b.vs .Lasm_JumpGreaterThanLoopRhsInt32.ssa_block_3
@@ -20545,9 +20556,9 @@ asm_handler_JumpGreaterThanEqualsLoopRhsInt32_cold:
mov w9, #32760
cmp w1, w9
b.ne .Lasm_JumpGreaterThanEqualsLoopRhsInt32.ssa_block_15
- ldur w1, [x21, #5]
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w1, [x21, #4]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
movk x1, #0x7ffa, lsl #48
mov x4, x2
mov x2, x0
@@ -20578,7 +20589,7 @@ asm_handler_JumpGreaterThanEqualsLoopRhsInt32_cold:
br x10
.Lasm_JumpGreaterThanEqualsLoopRhsInt32.ssa_block_15:
fmov d0, x0
- ldur w0, [x21, #5]
+ ldr w0, [x21, #4]
scvtf d1, w0
fcmp d0, d1
b.vs .Lasm_JumpGreaterThanEqualsLoopRhsInt32.ssa_block_3
@@ -20611,8 +20622,8 @@ asm_handler_JumpStrictlyEqualsLoopRhsInt32_cold:
cmp x9, x10
b.eq .Lasm_JumpStrictlyEqualsLoopRhsInt32.ssa_block_34
.Lasm_JumpStrictlyEqualsLoopRhsInt32.ssa_block_1:
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
mov x4, x2
mov x2, x0
mov x5, x3
@@ -20674,8 +20685,8 @@ asm_handler_JumpStrictlyInequalsLoopRhsInt32_cold:
cmp x9, x10
b.eq .Lasm_JumpStrictlyInequalsLoopRhsInt32.ssa_block_34
.Lasm_JumpStrictlyInequalsLoopRhsInt32.ssa_block_1:
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
mov x4, x2
mov x2, x0
mov x5, x3
@@ -20737,8 +20748,8 @@ asm_handler_JumpLooselyEqualsLoopRhsInt32_cold:
cmp x9, x10
b.eq .Lasm_JumpLooselyEqualsLoopRhsInt32.ssa_block_36
.Lasm_JumpLooselyEqualsLoopRhsInt32.ssa_block_1:
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
mov x4, x2
mov x2, x0
mov x5, x3
@@ -20800,8 +20811,8 @@ asm_handler_JumpLooselyInequalsLoopRhsInt32_cold:
cmp x9, x10
b.eq .Lasm_JumpLooselyInequalsLoopRhsInt32.ssa_block_36
.Lasm_JumpLooselyInequalsLoopRhsInt32.ssa_block_1:
- ldur w2, [x21, #9]
- ldur w3, [x21, #13]
+ ldr w2, [x21, #8]
+ ldr w3, [x21, #12]
mov x4, x2
mov x2, x0
mov x5, x3
@@ -21163,15 +21174,15 @@ asm_assertion_failure_traps:
brk #0
.Lasm_Call.assert_failure_7:
brk #0
-.Lasm_Call.assert_predicate_failure_414:
+.Lasm_Call.assert_predicate_failure_415:
brk #0
.Lasm_Call.assert_failure_8:
brk #0
.Lasm_Call.assert_failure_9:
brk #0
-.Lasm_Call.assert_predicate_failure_274:
+.Lasm_Call.assert_predicate_failure_275:
brk #0
-.Lasm_Call.assert_predicate_failure_298:
+.Lasm_Call.assert_predicate_failure_299:
brk #0
.Lasm_Call.assert_failure_10:
brk #0
@@ -21179,29 +21190,29 @@ asm_assertion_failure_traps:
brk #0
.Lasm_Call.assert_failure_12:
brk #0
-.Lasm_Call.assert_predicate_failure_35:
+.Lasm_Call.assert_predicate_failure_36:
brk #0
-.Lasm_Call.assert_predicate_failure_43:
+.Lasm_Call.assert_predicate_failure_44:
brk #0
.Lasm_Call.assert_failure_13:
brk #0
.Lasm_Call.assert_failure_14:
brk #0
-.Lasm_Call.assert_predicate_failure_68:
+.Lasm_Call.assert_predicate_failure_69:
brk #0
-.Lasm_Call.assert_predicate_failure_70:
+.Lasm_Call.assert_predicate_failure_71:
brk #0
.Lasm_Call.assert_failure_15:
brk #0
.Lasm_Call.assert_failure_16:
brk #0
-.Lasm_Call.assert_predicate_failure_334:
+.Lasm_Call.assert_predicate_failure_335:
brk #0
.Lasm_Call.assert_failure_17:
brk #0
-.Lasm_Call.assert_predicate_failure_341:
+.Lasm_Call.assert_predicate_failure_342:
brk #0
-.Lasm_Call.assert_predicate_failure_347:
+.Lasm_Call.assert_predicate_failure_348:
brk #0
.Lasm_Call.assert_predicate_failure_11:
brk #0
diff --git a/Libraries/LibJS/Flap/tests/interpreter-assembly/x86_64.S b/Libraries/LibJS/Flap/tests/interpreter-assembly/x86_64.S
index ce5e4b9bf47..bd1caa5a107 100644
--- a/Libraries/LibJS/Flap/tests/interpreter-assembly/x86_64.S
+++ b/Libraries/LibJS/Flap/tests/interpreter-assembly/x86_64.S
@@ -16,6 +16,7 @@ CSYM(js_interpreter_dispatch_table):
asm_dispatch_table:
.quad asm_handler_Enter
.quad asm_handler_Mov
+ .quad asm_handler_MovWide
.quad asm_handler_Add
.quad asm_handler_Sub
.quad asm_handler_Mul
@@ -269,7 +270,6 @@ asm_dispatch_table:
.quad asm_handler_fallback
.quad asm_handler_fallback
.quad asm_handler_fallback
- .quad asm_handler_fallback
.globl CSYM(js_interpreter_debug_dispatch_table)
CSYM(js_interpreter_debug_dispatch_table):
@@ -542,6 +542,10 @@ CSYM(js_interpreter_handler_ranges):
.quad asm_handler_Mov_hot_end
.quad asm_handler_Mov_cold
.quad asm_handler_Mov_cold_end
+ .quad asm_handler_MovWide
+ .quad asm_handler_MovWide_hot_end
+ .quad asm_handler_MovWide_cold
+ .quad asm_handler_MovWide_cold_end
.quad asm_handler_Add
.quad asm_handler_Add_hot_end
.quad asm_handler_Add_cold
@@ -1554,10 +1558,6 @@ CSYM(js_interpreter_handler_ranges):
.quad asm_handler_fallback_hot_end
.quad asm_handler_fallback_cold
.quad asm_handler_fallback_cold_end
- .quad asm_handler_fallback
- .quad asm_handler_fallback_hot_end
- .quad asm_handler_fallback_cold
- .quad asm_handler_fallback_cold_end
.text
@@ -1676,19 +1676,30 @@ asm_handler_Enter_hot_end:
.p2align 6
asm_handler_Mov:
- movzx eax, WORD PTR [r14 + r13 + 1]
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
+ movzx ecx, BYTE PTR [r14 + r13 + 2]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov QWORD PTR [rbx + rax * 8], rcx
- add r13d, 5
+ add r13d, 3
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_Mov_hot_end:
+.p2align 6
+asm_handler_MovWide:
+ mov eax, DWORD PTR [r14 + r13 + 1]
+ mov ecx, DWORD PTR [r14 + r13 + 5]
+ mov rcx, QWORD PTR [rbx + rcx * 8]
+ mov QWORD PTR [rbx + rax * 8], rcx
+ add r13d, 9
+ movzx eax, BYTE PTR [r14 + r13]
+ jmp [r12 + rax * 8]
+asm_handler_MovWide_hot_end:
+
.p2align 6
asm_handler_Add:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx ecx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -1703,17 +1714,17 @@ asm_handler_Add:
jo .Lasm_Add.ssa_checked_6_failure
movabs r11, 9221683186994511872
or rdx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rdx
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_Add_hot_end:
.p2align 6
asm_handler_Sub:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx ecx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -1728,17 +1739,17 @@ asm_handler_Sub:
jo .Lasm_Sub.ssa_checked_6_failure
movabs r11, 9221683186994511872
or rdx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rdx
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_Sub_hot_end:
.p2align 6
asm_handler_Mul:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx ecx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -1759,9 +1770,9 @@ asm_handler_Mul:
.Lasm_Mul.ssa_block_13:
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_Mul_hot_end:
@@ -1775,7 +1786,7 @@ asm_handler_Jump_hot_end:
.p2align 6
asm_handler_JumpIf:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rax, rcx
shr rax, 48
@@ -1796,7 +1807,7 @@ asm_handler_JumpIf:
test eax, 8192
jnz .Lasm_JumpIf.ssa_block_1
.Lasm_JumpIf.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 3]
+ mov r13d, DWORD PTR [r14 + r13 + 2]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpIf.ssa_block_3:
@@ -1807,7 +1818,7 @@ asm_handler_JumpIf:
test rax, rax
jnz .Lasm_JumpIf.ssa_block_2
.Lasm_JumpIf.ssa_block_1:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 6]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpIf.ssa_block_4:
@@ -1818,7 +1829,7 @@ asm_handler_JumpIf_hot_end:
.p2align 6
asm_handler_JumpTrue:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rax, rcx
shr rax, 48
@@ -1826,7 +1837,7 @@ asm_handler_JumpTrue:
jne .Lasm_JumpTrue.ssa_block_6
test ecx, 1
jnz .Lasm_JumpTrue.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpTrue.ssa_block_6:
@@ -1840,7 +1851,7 @@ asm_handler_JumpTrue:
movzx eax, WORD PTR [rcx + 12]
test eax, 8192
jz .Lasm_JumpTrue.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpTrue.ssa_block_2:
@@ -1850,24 +1861,24 @@ asm_handler_JumpTrue:
jae .Lasm_JumpTrue.assert_predicate_failure_6
test rax, rax
jnz .Lasm_JumpTrue.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpTrue.ssa_block_3:
test ecx, ecx
jnz .Lasm_JumpTrue.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpTrue.ssa_block_1:
- mov r13d, DWORD PTR [r14 + r13 + 3]
+ mov r13d, DWORD PTR [r14 + r13 + 2]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpTrue_hot_end:
.p2align 6
asm_handler_JumpFalse:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rax, rcx
shr rax, 48
@@ -1875,7 +1886,7 @@ asm_handler_JumpFalse:
jne .Lasm_JumpFalse.ssa_block_6
test ecx, 1
jz .Lasm_JumpFalse.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpFalse.ssa_block_6:
@@ -1889,7 +1900,7 @@ asm_handler_JumpFalse:
movzx eax, WORD PTR [rcx + 12]
test eax, 8192
jnz .Lasm_JumpFalse.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpFalse.ssa_block_2:
@@ -1899,58 +1910,58 @@ asm_handler_JumpFalse:
jae .Lasm_JumpFalse.assert_predicate_failure_6
test rax, rax
jz .Lasm_JumpFalse.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpFalse.ssa_block_3:
test ecx, ecx
jz .Lasm_JumpFalse.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpFalse.ssa_block_1:
- mov r13d, DWORD PTR [r14 + r13 + 3]
+ mov r13d, DWORD PTR [r14 + r13 + 2]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpFalse_hot_end:
.p2align 6
asm_handler_JumpNullish:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rax, QWORD PTR [rbx + rax * 8]
shr rax, 48
and ax, 65534
cmp ax, 32766
jne .Lasm_JumpNullish.ssa_block_2
- mov r13d, DWORD PTR [r14 + r13 + 3]
+ mov r13d, DWORD PTR [r14 + r13 + 2]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpNullish.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 6]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpNullish_hot_end:
.p2align 6
asm_handler_JumpUndefined:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rax, QWORD PTR [rbx + rax * 8]
movabs rcx, 9222809086901354496
cmp rax, rcx
jne .Lasm_JumpUndefined.ssa_block_2
- mov r13d, DWORD PTR [r14 + r13 + 3]
+ mov r13d, DWORD PTR [r14 + r13 + 2]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpUndefined.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 6]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpUndefined_hot_end:
.p2align 6
asm_handler_JumpLessThan:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx ecx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -1965,19 +1976,19 @@ asm_handler_JumpLessThan:
cmp eax, ecx
jge .Lasm_JumpLessThan.ssa_block_3
.Lasm_JumpLessThan.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLessThan.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLessThan_hot_end:
.p2align 6
asm_handler_JumpGreaterThan:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx ecx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -1992,19 +2003,19 @@ asm_handler_JumpGreaterThan:
cmp eax, ecx
jle .Lasm_JumpGreaterThan.ssa_block_3
.Lasm_JumpGreaterThan.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpGreaterThan.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpGreaterThan_hot_end:
.p2align 6
asm_handler_JumpLessThanEquals:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx ecx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -2019,19 +2030,19 @@ asm_handler_JumpLessThanEquals:
cmp eax, ecx
jg .Lasm_JumpLessThanEquals.ssa_block_3
.Lasm_JumpLessThanEquals.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLessThanEquals.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLessThanEquals_hot_end:
.p2align 6
asm_handler_JumpGreaterThanEquals:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx ecx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -2046,19 +2057,19 @@ asm_handler_JumpGreaterThanEquals:
cmp eax, ecx
jl .Lasm_JumpGreaterThanEquals.ssa_block_3
.Lasm_JumpGreaterThanEquals.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpGreaterThanEquals.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpGreaterThanEquals_hot_end:
.p2align 6
asm_handler_JumpLooselyEquals:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx edx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx edx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rdx * 8]
mov rsi, rdx
@@ -2134,19 +2145,19 @@ asm_handler_JumpLooselyEquals:
jne .Lasm_JumpLooselyEquals.ssa_block_22
jmp .Lasm_JumpLooselyEquals.ssa_block_1
.Lasm_JumpLooselyEquals.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLooselyEquals.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLooselyEquals_hot_end:
.p2align 6
asm_handler_JumpLooselyInequals:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx edx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx edx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rdx * 8]
mov rsi, rdx
@@ -2222,19 +2233,19 @@ asm_handler_JumpLooselyInequals:
jne .Lasm_JumpLooselyInequals.ssa_block_22
jmp .Lasm_JumpLooselyInequals.ssa_block_1
.Lasm_JumpLooselyInequals.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLooselyInequals.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLooselyInequals_hot_end:
.p2align 6
asm_handler_JumpStrictlyEquals:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx edx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx edx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rdx * 8]
mov rsi, rdx
@@ -2312,19 +2323,19 @@ asm_handler_JumpStrictlyEquals:
cmp si, 32760
jne .Lasm_JumpStrictlyEquals.ssa_block_20
.Lasm_JumpStrictlyEquals.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpStrictlyEquals.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpStrictlyEquals_hot_end:
.p2align 6
asm_handler_JumpStrictlyInequals:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx edx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx edx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rdx * 8]
mov rsi, rdx
@@ -2402,11 +2413,11 @@ asm_handler_JumpStrictlyInequals:
cmp si, 32760
jne .Lasm_JumpStrictlyInequals.ssa_block_20
.Lasm_JumpStrictlyInequals.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpStrictlyInequals.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpStrictlyInequals_hot_end:
@@ -2420,7 +2431,7 @@ asm_handler_JumpLoop_hot_end:
.p2align 6
asm_handler_JumpIfLoop:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rax, rcx
shr rax, 48
@@ -2441,7 +2452,7 @@ asm_handler_JumpIfLoop:
test eax, 8192
jnz .Lasm_JumpIfLoop.ssa_block_1
.Lasm_JumpIfLoop.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 3]
+ mov r13d, DWORD PTR [r14 + r13 + 2]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpIfLoop.ssa_block_3:
@@ -2452,7 +2463,7 @@ asm_handler_JumpIfLoop:
test rax, rax
jnz .Lasm_JumpIfLoop.ssa_block_2
.Lasm_JumpIfLoop.ssa_block_1:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 6]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpIfLoop.ssa_block_4:
@@ -2463,7 +2474,7 @@ asm_handler_JumpIfLoop_hot_end:
.p2align 6
asm_handler_JumpTrueLoop:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rax, rcx
shr rax, 48
@@ -2471,7 +2482,7 @@ asm_handler_JumpTrueLoop:
jne .Lasm_JumpTrueLoop.ssa_block_6
test ecx, 1
jnz .Lasm_JumpTrueLoop.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpTrueLoop.ssa_block_6:
@@ -2485,7 +2496,7 @@ asm_handler_JumpTrueLoop:
movzx eax, WORD PTR [rcx + 12]
test eax, 8192
jz .Lasm_JumpTrueLoop.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpTrueLoop.ssa_block_2:
@@ -2495,24 +2506,24 @@ asm_handler_JumpTrueLoop:
jae .Lasm_JumpTrueLoop.assert_predicate_failure_6
test rax, rax
jnz .Lasm_JumpTrueLoop.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpTrueLoop.ssa_block_3:
test ecx, ecx
jnz .Lasm_JumpTrueLoop.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpTrueLoop.ssa_block_1:
- mov r13d, DWORD PTR [r14 + r13 + 3]
+ mov r13d, DWORD PTR [r14 + r13 + 2]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpTrueLoop_hot_end:
.p2align 6
asm_handler_JumpFalseLoop:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rax, rcx
shr rax, 48
@@ -2520,7 +2531,7 @@ asm_handler_JumpFalseLoop:
jne .Lasm_JumpFalseLoop.ssa_block_6
test ecx, 1
jz .Lasm_JumpFalseLoop.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpFalseLoop.ssa_block_6:
@@ -2534,7 +2545,7 @@ asm_handler_JumpFalseLoop:
movzx eax, WORD PTR [rcx + 12]
test eax, 8192
jnz .Lasm_JumpFalseLoop.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpFalseLoop.ssa_block_2:
@@ -2544,25 +2555,25 @@ asm_handler_JumpFalseLoop:
jae .Lasm_JumpFalseLoop.assert_predicate_failure_6
test rax, rax
jz .Lasm_JumpFalseLoop.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpFalseLoop.ssa_block_3:
test ecx, ecx
jz .Lasm_JumpFalseLoop.ssa_block_1
- add r13d, 7
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpFalseLoop.ssa_block_1:
- mov r13d, DWORD PTR [r14 + r13 + 3]
+ mov r13d, DWORD PTR [r14 + r13 + 2]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpFalseLoop_hot_end:
.p2align 6
asm_handler_JumpLessThanLoop:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx ecx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -2577,19 +2588,19 @@ asm_handler_JumpLessThanLoop:
cmp eax, ecx
jge .Lasm_JumpLessThanLoop.ssa_block_3
.Lasm_JumpLessThanLoop.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLessThanLoop.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLessThanLoop_hot_end:
.p2align 6
asm_handler_JumpGreaterThanLoop:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx ecx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -2604,19 +2615,19 @@ asm_handler_JumpGreaterThanLoop:
cmp eax, ecx
jle .Lasm_JumpGreaterThanLoop.ssa_block_3
.Lasm_JumpGreaterThanLoop.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpGreaterThanLoop.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpGreaterThanLoop_hot_end:
.p2align 6
asm_handler_JumpLessThanEqualsLoop:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx ecx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -2631,19 +2642,19 @@ asm_handler_JumpLessThanEqualsLoop:
cmp eax, ecx
jg .Lasm_JumpLessThanEqualsLoop.ssa_block_3
.Lasm_JumpLessThanEqualsLoop.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLessThanEqualsLoop.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLessThanEqualsLoop_hot_end:
.p2align 6
asm_handler_JumpGreaterThanEqualsLoop:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx ecx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -2658,19 +2669,19 @@ asm_handler_JumpGreaterThanEqualsLoop:
cmp eax, ecx
jl .Lasm_JumpGreaterThanEqualsLoop.ssa_block_3
.Lasm_JumpGreaterThanEqualsLoop.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpGreaterThanEqualsLoop.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpGreaterThanEqualsLoop_hot_end:
.p2align 6
asm_handler_JumpLooselyEqualsLoop:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx edx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx edx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rdx * 8]
mov rsi, rdx
@@ -2746,19 +2757,19 @@ asm_handler_JumpLooselyEqualsLoop:
jne .Lasm_JumpLooselyEqualsLoop.ssa_block_22
jmp .Lasm_JumpLooselyEqualsLoop.ssa_block_1
.Lasm_JumpLooselyEqualsLoop.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLooselyEqualsLoop.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLooselyEqualsLoop_hot_end:
.p2align 6
asm_handler_JumpLooselyInequalsLoop:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx edx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx edx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rdx * 8]
mov rsi, rdx
@@ -2834,19 +2845,19 @@ asm_handler_JumpLooselyInequalsLoop:
jne .Lasm_JumpLooselyInequalsLoop.ssa_block_22
jmp .Lasm_JumpLooselyInequalsLoop.ssa_block_1
.Lasm_JumpLooselyInequalsLoop.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLooselyInequalsLoop.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLooselyInequalsLoop_hot_end:
.p2align 6
asm_handler_JumpStrictlyEqualsLoop:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx edx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx edx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rdx * 8]
mov rsi, rdx
@@ -2924,19 +2935,19 @@ asm_handler_JumpStrictlyEqualsLoop:
cmp si, 32760
jne .Lasm_JumpStrictlyEqualsLoop.ssa_block_20
.Lasm_JumpStrictlyEqualsLoop.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpStrictlyEqualsLoop.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpStrictlyEqualsLoop_hot_end:
.p2align 6
asm_handler_JumpStrictlyInequalsLoop:
- movzx eax, WORD PTR [r14 + r13 + 3]
- movzx edx, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
+ movzx edx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rdx * 8]
mov rsi, rdx
@@ -3014,18 +3025,18 @@ asm_handler_JumpStrictlyInequalsLoop:
cmp si, 32760
jne .Lasm_JumpStrictlyInequalsLoop.ssa_block_20
.Lasm_JumpStrictlyInequalsLoop.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 7]
+ mov r13d, DWORD PTR [r14 + r13 + 5]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpStrictlyInequalsLoop.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 11]
+ mov r13d, DWORD PTR [r14 + r13 + 9]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpStrictlyInequalsLoop_hot_end:
.p2align 6
asm_handler_Increment:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
mov r11, rcx
shr r11, 48
@@ -3036,14 +3047,14 @@ asm_handler_Increment:
movabs r11, 9221683186994511872
or rcx, r11
mov QWORD PTR [rbx + rax * 8], rcx
- add r13d, 5
+ add r13d, 4
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_Increment_hot_end:
.p2align 6
asm_handler_Decrement:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
mov r11, rcx
shr r11, 48
@@ -3054,14 +3065,14 @@ asm_handler_Decrement:
movabs r11, 9221683186994511872
or rcx, r11
mov QWORD PTR [rbx + rax * 8], rcx
- add r13d, 5
+ add r13d, 4
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_Decrement_hot_end:
.p2align 6
asm_handler_Not:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 2]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rax, rcx
shr rax, 48
@@ -3077,9 +3088,9 @@ asm_handler_Not:
jnz .Lasm_Not.ssa_block_2
.Lasm_Not.ssa_block_1:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 5
+ add r13d, 3
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_Not.ssa_block_6:
@@ -3105,16 +3116,16 @@ asm_handler_Not:
jnz .Lasm_Not.ssa_block_1
.Lasm_Not.ssa_block_2:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 5
+ add r13d, 3
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_Not_hot_end:
.p2align 6
asm_handler_ToBoolean:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 2]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rdi, rcx
call CSYM(asm_helper_to_boolean)
@@ -3122,9 +3133,9 @@ asm_handler_ToBoolean:
jae .Lasm_ToBoolean.assert_predicate_failure_3
movabs rcx, 9221401712017801216
or rax, rcx
- movzx r11d, WORD PTR [r14 + r13 + 1]
+ movzx r11d, BYTE PTR [r14 + r13 + 1]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 5
+ add r13d, 3
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_ToBoolean_hot_end:
@@ -3132,18 +3143,18 @@ asm_handler_ToBoolean_hot_end:
.p2align 6
asm_handler_Catch:
mov rax, QWORD PTR [rbx + 8]
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
movabs r11, 9221964661971222528
mov QWORD PTR [rbx + 8], r11
- add r13d, 5
+ add r13d, 4
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_Catch_hot_end:
.p2align 6
asm_handler_Return:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rcx, QWORD PTR [rbx + rax * 8]
movabs rdx, 9221964661971222528
cmp rcx, rdx
@@ -3193,7 +3204,7 @@ asm_handler_Return_hot_end:
.p2align 6
asm_handler_End:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rcx, QWORD PTR [rbx + rax * 8]
mov r11, rcx
shr r11, 48
@@ -3248,16 +3259,16 @@ asm_handler_GetLexicalEnvironment:
and rax, rcx
movabs rcx, -2251799813685248
or rax, rcx
- movzx r11d, WORD PTR [r14 + r13 + 1]
+ movzx r11d, BYTE PTR [r14 + r13 + 1]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 3
+ add r13d, 2
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_GetLexicalEnvironment_hot_end:
.p2align 6
asm_handler_SetLexicalEnvironment:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rax, QWORD PTR [rbx + rax * 8]
mov rcx, rax
shr rcx, 48
@@ -3267,7 +3278,7 @@ asm_handler_SetLexicalEnvironment:
and rax, r11
add rax, r15
mov QWORD PTR [rbx - 96], rax
- add r13d, 3
+ add r13d, 2
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_SetLexicalEnvironment_hot_end:
@@ -3303,7 +3314,7 @@ asm_handler_GetBinding:
shr r11, 48
cmp r11w, 32763
je .Lasm_GetBinding.ssa_block_1
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
add r13d, 15
movzx eax, BYTE PTR [r14 + r13]
@@ -3354,7 +3365,7 @@ asm_handler_DynamicGetBinding:
shr r11, 48
cmp r11w, 32763
je .Lasm_DynamicGetBinding.ssa_block_1
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
@@ -3388,7 +3399,7 @@ asm_handler_GetInitializedBinding:
test rax, rax
jz .Lasm_GetInitializedBinding.assert_failure_0
mov rax, QWORD PTR [rax + rdx * 8]
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
add r13d, 15
movzx eax, BYTE PTR [r14 + r13]
@@ -3435,7 +3446,7 @@ asm_handler_DynamicGetInitializedBinding:
test rax, rax
jz .Lasm_DynamicGetInitializedBinding.assert_failure_0
mov rax, QWORD PTR [rax + rdx * 8]
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
@@ -3468,7 +3479,7 @@ asm_handler_InitializeLexicalBinding:
mov rax, QWORD PTR [rax + 24]
test rax, rax
jz .Lasm_InitializeLexicalBinding.assert_failure_0
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov QWORD PTR [rax + rdx * 8], rcx
add r13d, 13
@@ -3502,7 +3513,7 @@ asm_handler_InitializeVariableBinding:
mov rax, QWORD PTR [rax + 24]
test rax, rax
jz .Lasm_InitializeVariableBinding.assert_failure_0
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov QWORD PTR [rax + rdx * 8], rcx
add r13d, 13
@@ -3549,7 +3560,7 @@ asm_handler_DynamicInitializeLexicalBinding:
mov rax, QWORD PTR [rax + 24]
test rax, rax
jz .Lasm_DynamicInitializeLexicalBinding.assert_failure_0
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov QWORD PTR [rax + rdx * 8], rcx
add r13d, 7
@@ -3596,7 +3607,7 @@ asm_handler_DynamicInitializeVariableBinding:
mov rax, QWORD PTR [rax + 24]
test rax, rax
jz .Lasm_DynamicInitializeVariableBinding.assert_failure_0
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov QWORD PTR [rax + rdx * 8], rcx
add r13d, 7
@@ -3673,7 +3684,7 @@ asm_handler_SetLexicalBinding:
.Lasm_SetLexicalBinding.ssa_block_10:
test ecx, 2
jz .Lasm_SetLexicalBinding.ssa_block_1
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov QWORD PTR [rsi + rax * 8], rcx
add r13d, 13
@@ -3750,7 +3761,7 @@ asm_handler_SetVariableBinding:
.Lasm_SetVariableBinding.ssa_block_10:
test ecx, 2
jz .Lasm_SetVariableBinding.ssa_block_1
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov QWORD PTR [rsi + rax * 8], rcx
add r13d, 13
@@ -3840,7 +3851,7 @@ asm_handler_DynamicSetLexicalBinding:
.Lasm_DynamicSetLexicalBinding.ssa_block_14:
test eax, 2
jz .Lasm_DynamicSetLexicalBinding.ssa_block_1
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rax, QWORD PTR [rbx + rax * 8]
mov QWORD PTR [rsi + rcx * 8], rax
add r13d, 7
@@ -3930,7 +3941,7 @@ asm_handler_DynamicSetVariableBinding:
.Lasm_DynamicSetVariableBinding.ssa_block_14:
test eax, 2
jz .Lasm_DynamicSetVariableBinding.ssa_block_1
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rax, QWORD PTR [rbx + rax * 8]
mov QWORD PTR [rsi + rcx * 8], rax
add r13d, 7
@@ -3940,28 +3951,28 @@ asm_handler_DynamicSetVariableBinding_hot_end:
.p2align 6
asm_handler_PostfixIncrement:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
mov r11, rcx
shr r11, 48
cmp r11w, 32762
jne .Lasm_PostfixIncrement.ssa_block_2
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rcx
inc ecx
jo .Lasm_PostfixIncrement.ssa_block_1
movabs r11, 9221683186994511872
or rcx, r11
mov QWORD PTR [rbx + rax * 8], rcx
- add r13d, 7
+ add r13d, 5
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_PostfixIncrement_hot_end:
.p2align 6
asm_handler_Div:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx ecx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -4002,9 +4013,9 @@ asm_handler_Div:
.Lasm_Div.ssa_block_3:
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_Div.ssa_block_2:
@@ -4016,17 +4027,17 @@ asm_handler_Div:
ucomisd xmm0, xmm0
jp .Lasm_Div.canon_nan_0
.Lasm_Div.canon_nan_0_ret:
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_Div_hot_end:
.p2align 6
asm_handler_LessThan:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx ecx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -4042,24 +4053,24 @@ asm_handler_LessThan:
jge .Lasm_LessThan.ssa_block_2
.Lasm_LessThan.ssa_block_1:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_LessThan.ssa_block_2:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_LessThan_hot_end:
.p2align 6
asm_handler_LessThanEquals:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx ecx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -4075,24 +4086,24 @@ asm_handler_LessThanEquals:
jg .Lasm_LessThanEquals.ssa_block_2
.Lasm_LessThanEquals.ssa_block_1:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_LessThanEquals.ssa_block_2:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_LessThanEquals_hot_end:
.p2align 6
asm_handler_GreaterThan:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx ecx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -4108,24 +4119,24 @@ asm_handler_GreaterThan:
jle .Lasm_GreaterThan.ssa_block_2
.Lasm_GreaterThan.ssa_block_1:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GreaterThan.ssa_block_2:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_GreaterThan_hot_end:
.p2align 6
asm_handler_GreaterThanEquals:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx ecx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov rax, rdx
@@ -4141,24 +4152,24 @@ asm_handler_GreaterThanEquals:
jl .Lasm_GreaterThanEquals.ssa_block_2
.Lasm_GreaterThanEquals.ssa_block_1:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GreaterThanEquals.ssa_block_2:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_GreaterThanEquals_hot_end:
.p2align 6
asm_handler_BitwiseXor:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx ecx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rsi, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rcx * 8]
mov rax, rsi
@@ -4172,85 +4183,85 @@ asm_handler_BitwiseXor:
xor esi, edx
movabs r11, 9221683186994511872
or rsi, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rsi
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_BitwiseXor_hot_end:
.p2align 6
asm_handler_UnaryPlus:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rax, QWORD PTR [rbx + rax * 8]
mov rcx, rax
shr rcx, 48
cmp cx, 32762
jne .Lasm_UnaryPlus.ssa_block_4
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 7
+ add r13d, 5
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_UnaryPlus_hot_end:
.p2align 6
asm_handler_ThrowIfTDZ:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rax, QWORD PTR [rbx + rax * 8]
mov r11, rax
shr r11, 48
cmp r11w, 32763
je .Lasm_ThrowIfTDZ.ssa_block_1
- add r13d, 3
+ add r13d, 2
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_ThrowIfTDZ_hot_end:
.p2align 6
asm_handler_ThrowIfNotObject:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rax, QWORD PTR [rbx + rax * 8]
mov r11, rax
shr r11, 48
cmp r11w, 65529
jne .Lasm_ThrowIfNotObject.ssa_block_1
- add r13d, 3
+ add r13d, 2
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_ThrowIfNotObject_hot_end:
.p2align 6
asm_handler_ThrowIfNullish:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rax, QWORD PTR [rbx + rax * 8]
shr rax, 48
and ax, 65534
cmp ax, 32766
je .Lasm_ThrowIfNullish.ssa_block_1
- add r13d, 3
+ add r13d, 2
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_ThrowIfNullish_hot_end:
.p2align 6
asm_handler_ToPrimitiveWithStringHint:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 2]
mov rax, QWORD PTR [rbx + rax * 8]
mov r11, rax
shr r11, 48
cmp r11w, 65529
je .Lasm_ToPrimitiveWithStringHint.ssa_block_1
- movzx r11d, WORD PTR [r14 + r13 + 1]
+ movzx r11d, BYTE PTR [r14 + r13 + 1]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 5
+ add r13d, 3
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_ToPrimitiveWithStringHint_hot_end:
.p2align 6
asm_handler_BitwiseNot:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rax, QWORD PTR [rbx + rax * 8]
mov r11, rax
shr r11, 48
@@ -4259,17 +4270,17 @@ asm_handler_BitwiseNot:
not eax
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 7
+ add r13d, 5
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_BitwiseNot_hot_end:
.p2align 6
asm_handler_BitwiseAnd:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx ecx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rsi, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rcx * 8]
mov rax, rsi
@@ -4283,17 +4294,17 @@ asm_handler_BitwiseAnd:
and esi, edx
movabs r11, 9221683186994511872
or rsi, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rsi
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_BitwiseAnd_hot_end:
.p2align 6
asm_handler_BitwiseOr:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx ecx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rsi, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rcx * 8]
mov rax, rsi
@@ -4307,17 +4318,17 @@ asm_handler_BitwiseOr:
or esi, edx
movabs r11, 9221683186994511872
or rsi, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rsi
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_BitwiseOr_hot_end:
.p2align 6
asm_handler_LeftShift:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx ecx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov r11, rdx
@@ -4331,17 +4342,17 @@ asm_handler_LeftShift:
shl edx, cl
movabs r11, 9221683186994511872
or rdx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rdx
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_LeftShift_hot_end:
.p2align 6
asm_handler_RightShift:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx ecx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov r11, rdx
@@ -4355,17 +4366,17 @@ asm_handler_RightShift:
sar edx, cl
movabs r11, 9221683186994511872
or rdx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rdx
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_RightShift_hot_end:
.p2align 6
asm_handler_UnsignedRightShift:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx ecx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov r11, rdx
@@ -4381,22 +4392,22 @@ asm_handler_UnsignedRightShift:
js .Lasm_UnsignedRightShift.ssa_block_2
movabs r11, 9221683186994511872
or rdx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rdx
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_UnsignedRightShift_hot_end:
.p2align 6
asm_handler_Mod:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
mov r11, rcx
shr r11, 48
cmp r11w, 32762
jne .Lasm_Mod.ssa_block_2
- movzx eax, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 5]
mov rsi, QWORD PTR [rbx + rax * 8]
mov r11, rsi
shr r11, 48
@@ -4411,17 +4422,17 @@ asm_handler_Mod:
idiv esi
movabs r11, 9221683186994511872
or rdx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rdx
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_Mod_hot_end:
.p2align 6
asm_handler_StrictlyEquals:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx edx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx edx, BYTE PTR [r14 + r13 + 5]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rdx * 8]
mov rsi, rdx
@@ -4500,24 +4511,24 @@ asm_handler_StrictlyEquals:
jne .Lasm_StrictlyEquals.ssa_block_20
.Lasm_StrictlyEquals.ssa_block_3:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_StrictlyEquals.ssa_block_2:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_StrictlyEquals_hot_end:
.p2align 6
asm_handler_StrictlyInequals:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx edx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx edx, BYTE PTR [r14 + r13 + 5]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rdx * 8]
mov rsi, rdx
@@ -4596,16 +4607,16 @@ asm_handler_StrictlyInequals:
jne .Lasm_StrictlyInequals.ssa_block_20
.Lasm_StrictlyInequals.ssa_block_2:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_StrictlyInequals.ssa_block_3:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_StrictlyInequals_hot_end:
@@ -4613,7 +4624,7 @@ asm_handler_StrictlyInequals_hot_end:
.p2align 6
asm_handler_GetCalleeAndThisFromEnvironment:
mov rax, QWORD PTR [rbx - 96]
- lea rcx, [r14 + r13 + 9]
+ lea rcx, [r14 + r13 + 8]
mov edx, DWORD PTR [rcx + 4]
mov ecx, DWORD PTR [rcx]
test rax, rax
@@ -4641,12 +4652,12 @@ asm_handler_GetCalleeAndThisFromEnvironment:
shr r11, 48
cmp r11w, 32763
je .Lasm_GetCalleeAndThisFromEnvironment.ssa_block_1
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
movabs r11, 9222809086901354496
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 17
+ add r13d, 16
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_GetCalleeAndThisFromEnvironment_hot_end:
@@ -4655,7 +4666,7 @@ asm_handler_GetCalleeAndThisFromEnvironment_hot_end:
asm_handler_DynamicGetCalleeAndThisFromEnvironment:
mov rax, QWORD PTR [rbx - 40]
mov rax, QWORD PTR [rax + 200]
- movzx ecx, WORD PTR [r14 + r13 + 9]
+ movzx ecx, WORD PTR [r14 + r13 + 8]
lea rax, [rax + rcx * 8]
mov ecx, DWORD PTR [rax]
mov edx, DWORD PTR [rax + 4]
@@ -4695,20 +4706,20 @@ asm_handler_DynamicGetCalleeAndThisFromEnvironment:
shr r11, 48
cmp r11w, 32763
je .Lasm_DynamicGetCalleeAndThisFromEnvironment.ssa_block_1
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
movabs r11, 9222809086901354496
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 10
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_DynamicGetCalleeAndThisFromEnvironment_hot_end:
.p2align 6
asm_handler_LooselyEquals:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx edx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx edx, BYTE PTR [r14 + r13 + 5]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rdx * 8]
mov rsi, rdx
@@ -4785,24 +4796,24 @@ asm_handler_LooselyEquals:
jmp .Lasm_LooselyEquals.ssa_block_1
.Lasm_LooselyEquals.ssa_block_3:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_LooselyEquals.ssa_block_2:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_LooselyEquals_hot_end:
.p2align 6
asm_handler_LooselyInequals:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx edx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx edx, BYTE PTR [r14 + r13 + 5]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rdx * 8]
mov rsi, rdx
@@ -4879,23 +4890,23 @@ asm_handler_LooselyInequals:
jmp .Lasm_LooselyInequals.ssa_block_1
.Lasm_LooselyInequals.ssa_block_2:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_LooselyInequals.ssa_block_3:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_LooselyInequals_hot_end:
.p2align 6
asm_handler_UnaryMinus:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rax, QWORD PTR [rbx + rax * 8]
mov rcx, rax
shr rcx, 48
@@ -4907,59 +4918,59 @@ asm_handler_UnaryMinus:
jo .Lasm_UnaryMinus.ssa_block_2
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 7
+ add r13d, 5
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_UnaryMinus_hot_end:
.p2align 6
asm_handler_PostfixDecrement:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
mov r11, rcx
shr r11, 48
cmp r11w, 32762
jne .Lasm_PostfixDecrement.ssa_block_2
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rcx
dec ecx
jo .Lasm_PostfixDecrement.ssa_block_1
movabs r11, 9221683186994511872
or rcx, r11
mov QWORD PTR [rbx + rax * 8], rcx
- add r13d, 7
+ add r13d, 5
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_PostfixDecrement_hot_end:
.p2align 6
asm_handler_ToInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rax, QWORD PTR [rbx + rax * 8]
mov r11, rax
shr r11, 48
cmp r11w, 32762
jne .Lasm_ToInt32.ssa_block_2
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 7
+ add r13d, 5
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_ToInt32_hot_end:
.p2align 6
asm_handler_PutByValue:
- cmp BYTE PTR [r14 + r13 + 9], 0
+ cmp BYTE PTR [r14 + r13 + 6], 0
jnz .Lasm_PutByValue.ssa_block_1
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rdi, QWORD PTR [rbx + rax * 8]
mov r11, rdi
shr r11, 48
cmp r11w, 32762
jne .Lasm_PutByValue.ssa_block_4
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
mov r11, rcx
shr r11, 48
@@ -4986,10 +4997,10 @@ asm_handler_PutByValue:
mov edx, DWORD PTR [rcx - 8]
cmp rax, rdx
jae .Lasm_PutByValue.ssa_block_1
- movzx edx, WORD PTR [r14 + r13 + 7]
+ movzx edx, BYTE PTR [r14 + r13 + 5]
mov rdx, QWORD PTR [rbx + rdx * 8]
mov QWORD PTR [rcx + rax * 8], rdx
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutByValue.ssa_switch_10_after_preferred:
@@ -5009,10 +5020,10 @@ asm_handler_PutByValue:
shr r11, 48
cmp r11w, 32763
je .Lasm_PutByValue.ssa_block_5
- movzx edx, WORD PTR [r14 + r13 + 7]
+ movzx edx, BYTE PTR [r14 + r13 + 5]
mov rdx, QWORD PTR [rbx + rdx * 8]
mov QWORD PTR [rcx + rax * 8], rdx
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutByValue.ssa_block_11:
@@ -5029,7 +5040,7 @@ asm_handler_PutByValue:
cmp rax, rdi
jae .Lasm_PutByValue.ssa_block_1
movzx ecx, BYTE PTR [rcx + 64]
- movzx edi, WORD PTR [r14 + r13 + 7]
+ movzx edi, BYTE PTR [r14 + r13 + 5]
mov rdi, QWORD PTR [rbx + rdi * 8]
mov r8, rdi
shr r8, 48
@@ -5061,7 +5072,7 @@ asm_handler_PutByValue:
and rax, rcx
add rax, rdx
mov BYTE PTR [rax], dil
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutByValue.ssa_block_16:
@@ -5070,7 +5081,7 @@ asm_handler_PutByValue:
and rax, rcx
add rax, rdx
mov WORD PTR [rax], di
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutByValue.ssa_block_17:
@@ -5083,7 +5094,7 @@ asm_handler_PutByValue:
xor rdi, rdi
.Lasm_PutByValue.ssa_block_23:
mov BYTE PTR [rax], dil
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutByValue.ssa_block_22:
@@ -5097,7 +5108,7 @@ asm_handler_PutByValue:
and rax, rcx
add rax, rdx
mov DWORD PTR [rax], edi
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutByValue.ssa_block_19:
@@ -5108,7 +5119,7 @@ asm_handler_PutByValue:
cvtsi2sd xmm0, edi
cvtsd2ss xmm0, xmm0
movss DWORD PTR [rax], xmm0
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutByValue.ssa_block_20:
@@ -5119,7 +5130,7 @@ asm_handler_PutByValue:
cvtsi2sd xmm0, edi
movq rcx, xmm0
mov QWORD PTR [rax], rcx
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutByValue.ssa_block_7:
@@ -5135,7 +5146,7 @@ asm_handler_PutByValue:
movq xmm0, rdi
cvtsd2ss xmm0, xmm0
movss DWORD PTR [rax], xmm0
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutByValue.ssa_switch_7_after_preferred:
@@ -5163,7 +5174,7 @@ asm_handler_PutByValue:
and rax, rcx
add rax, rdx
mov QWORD PTR [rax], rdi
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutByValue.ssa_block_29:
@@ -5183,7 +5194,7 @@ asm_handler_PutByValue:
and rax, rcx
add rax, rdx
mov BYTE PTR [rax], dil
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutByValue.ssa_block_30:
@@ -5203,7 +5214,7 @@ asm_handler_PutByValue:
and rax, rcx
add rax, rdx
mov WORD PTR [rax], di
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutByValue.ssa_block_31:
@@ -5223,7 +5234,7 @@ asm_handler_PutByValue:
and rax, rcx
add rdx, rax
mov DWORD PTR [rdx], edi
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutByValue.ssa_block_4:
@@ -5233,14 +5244,14 @@ asm_handler_PutByValue:
mov rax, QWORD PTR [rax + 152]
test rax, rax
jz .Lasm_PutByValue.assert_failure_1
- movzx ecx, WORD PTR [r14 + r13 + 15]
+ movzx ecx, WORD PTR [r14 + r13 + 12]
mov rax, QWORD PTR [rax + rcx * 8]
test rax, rax
jz .Lasm_PutByValue.ssa_block_1
cmp rax, 3
je .Lasm_PutByValue.ssa_block_2
and rax, -4
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 3]
mov rdx, QWORD PTR [rbx + rcx * 8]
mov r11, rdx
shr r11, 48
@@ -5275,17 +5286,17 @@ asm_handler_PutByValue:
shr r11, 48
cmp r11w, 65532
je .Lasm_PutByValue.ssa_block_3
- movzx ecx, WORD PTR [r14 + r13 + 7]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov QWORD PTR [rax + rsi * 8], rcx
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_PutByValue_hot_end:
.p2align 6
asm_handler_GetById:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rsi, QWORD PTR [rbx + rax * 8]
mov r11, rsi
shr r11, 48
@@ -5304,7 +5315,7 @@ asm_handler_GetById:
mov rdx, QWORD PTR [rcx + 152]
test rdx, rdx
jz .Lasm_GetById.assert_failure_1
- movzx edi, WORD PTR [r14 + r13 + 11]
+ movzx edi, WORD PTR [r14 + r13 + 10]
mov rdx, QWORD PTR [rdx + rdi * 8]
test rdx, rdx
jz .Lasm_GetById.ssa_block_1
@@ -5333,16 +5344,16 @@ asm_handler_GetById:
shr r11, 48
cmp r11w, 65532
je .Lasm_GetById.ssa_block_17
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 13
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetById.ssa_block_15:
mov rcx, QWORD PTR [rcx + 152]
test rcx, rcx
jz .Lasm_GetById.assert_failure_3
- movzx edx, WORD PTR [r14 + r13 + 11]
+ movzx edx, WORD PTR [r14 + r13 + 10]
mov rcx, QWORD PTR [rcx + rdx * 8]
mov rdx, rcx
and rdx, 3
@@ -5378,16 +5389,16 @@ asm_handler_GetById:
shr r11, 48
cmp r11w, 65532
je .Lasm_GetById.ssa_block_1
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 13
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_GetById_hot_end:
.p2align 6
asm_handler_PutById:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rdx, QWORD PTR [rbx + rax * 8]
mov r11, rdx
shr r11, 48
@@ -5406,7 +5417,7 @@ asm_handler_PutById:
mov rax, QWORD PTR [rax + 152]
test rax, rax
jz .Lasm_PutById.assert_failure_1
- movzx esi, WORD PTR [r14 + r13 + 11]
+ movzx esi, WORD PTR [r14 + r13 + 10]
mov rax, QWORD PTR [rax + rsi * 8]
test rax, rax
jz .Lasm_PutById.ssa_block_2
@@ -5433,23 +5444,23 @@ asm_handler_PutById:
shr r11, 48
cmp r11w, 65532
je .Lasm_PutById.ssa_block_2
- movzx ecx, WORD PTR [r14 + r13 + 5]
+ movzx ecx, BYTE PTR [r14 + r13 + 5]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov QWORD PTR [rax + rsi * 8], rcx
- add r13d, 15
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_PutById_hot_end:
.p2align 6
asm_handler_GetByValue:
- movzx eax, WORD PTR [r14 + r13 + 9]
+ movzx eax, BYTE PTR [r14 + r13 + 7]
mov rdi, QWORD PTR [rbx + rax * 8]
mov r11, rdi
shr r11, 48
cmp r11w, 32762
jne .Lasm_GetByValue.ssa_block_5
- movzx eax, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 6]
mov rsi, QWORD PTR [rbx + rax * 8]
mov rax, rsi
shr rax, 48
@@ -5477,9 +5488,9 @@ asm_handler_GetByValue:
cmp rax, rdx
jae .Lasm_GetByValue.ssa_block_1
mov rax, QWORD PTR [rcx + rax * 8]
- movzx r11d, WORD PTR [r14 + r13 + 5]
+ movzx r11d, BYTE PTR [r14 + r13 + 5]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 15
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetByValue.ssa_switch_21_after_preferred:
@@ -5499,9 +5510,9 @@ asm_handler_GetByValue:
shr r11, 48
cmp r11w, 32763
je .Lasm_GetByValue.ssa_block_1
- movzx r11d, WORD PTR [r14 + r13 + 5]
+ movzx r11d, BYTE PTR [r14 + r13 + 5]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 15
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetByValue.ssa_block_20:
@@ -5527,9 +5538,9 @@ asm_handler_GetByValue:
movzx eax, BYTE PTR [rax]
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 5]
+ movzx r11d, BYTE PTR [r14 + r13 + 5]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 15
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetByValue.ssa_switch_20_after_preferred:
@@ -5587,9 +5598,9 @@ asm_handler_GetByValue:
.Lasm_GetByValue.ssa_block_11:
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 5]
+ movzx r11d, BYTE PTR [r14 + r13 + 5]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 15
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetByValue.ssa_block_30:
@@ -5629,9 +5640,9 @@ asm_handler_GetByValue:
.Lasm_GetByValue.ssa_block_9:
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 5]
+ movzx r11d, BYTE PTR [r14 + r13 + 5]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 15
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetByValue.ssa_block_10:
@@ -5639,9 +5650,9 @@ asm_handler_GetByValue:
ucomisd xmm0, xmm0
jp .Lasm_GetByValue.canon_nan_1
.Lasm_GetByValue.canon_nan_1_ret:
- movzx r11d, WORD PTR [r14 + r13 + 5]
+ movzx r11d, BYTE PTR [r14 + r13 + 5]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 15
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetByValue.ssa_block_8:
@@ -5702,13 +5713,13 @@ asm_handler_GetByValue:
shr r11, 48
cmp r11w, 65530
jne .Lasm_GetByValue.assert_predicate_failure_297
- movzx r11d, WORD PTR [r14 + r13 + 5]
+ movzx r11d, BYTE PTR [r14 + r13 + 5]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 15
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetByValue.ssa_block_5:
- movzx eax, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 6]
mov rdx, QWORD PTR [rbx + rax * 8]
mov r11, rdx
shr r11, 48
@@ -5718,7 +5729,7 @@ asm_handler_GetByValue:
mov rcx, QWORD PTR [rax + 152]
test rcx, rcx
jz .Lasm_GetByValue.assert_failure_2
- movzx esi, WORD PTR [r14 + r13 + 13]
+ movzx esi, WORD PTR [r14 + r13 + 10]
mov rcx, QWORD PTR [rcx + rsi * 8]
movabs r11, 34359738367
and rdx, r11
@@ -5730,7 +5741,7 @@ asm_handler_GetByValue:
mov rax, QWORD PTR [rax + 152]
test rax, rax
jz .Lasm_GetByValue.assert_failure_3
- movzx ecx, WORD PTR [r14 + r13 + 13]
+ movzx ecx, WORD PTR [r14 + r13 + 10]
mov rax, QWORD PTR [rax + rcx * 8]
test rax, rax
jz .Lasm_GetByValue.ssa_block_1
@@ -5764,16 +5775,16 @@ asm_handler_GetByValue:
shr r11, 48
cmp r11w, 65532
je .Lasm_GetByValue.ssa_block_1
- movzx r11d, WORD PTR [r14 + r13 + 5]
+ movzx r11d, BYTE PTR [r14 + r13 + 5]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 15
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_GetByValue_hot_end:
.p2align 6
asm_handler_GetLength:
- movzx eax, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 6]
mov rdx, QWORD PTR [rbx + rax * 8]
mov rax, rdx
shr rax, 48
@@ -5790,9 +5801,9 @@ asm_handler_GetLength:
js .Lasm_GetLength.ssa_block_3
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 5]
+ movzx r11d, BYTE PTR [r14 + r13 + 5]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 13
+ add r13d, 11
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetLength.ssa_block_6:
@@ -5806,7 +5817,7 @@ asm_handler_GetLength:
mov rax, QWORD PTR [rax + 152]
test rax, rax
jz .Lasm_GetLength.assert_failure_1
- movzx esi, WORD PTR [r14 + r13 + 11]
+ movzx esi, WORD PTR [r14 + r13 + 9]
mov rax, QWORD PTR [rax + rsi * 8]
test rax, rax
jz .Lasm_GetLength.ssa_block_1
@@ -5834,9 +5845,9 @@ asm_handler_GetLength:
shr r11, 48
cmp r11w, 65532
je .Lasm_GetLength.ssa_block_1
- movzx r11d, WORD PTR [r14 + r13 + 5]
+ movzx r11d, BYTE PTR [r14 + r13 + 5]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 13
+ add r13d, 11
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetLength.ssa_block_2:
@@ -5850,9 +5861,9 @@ asm_handler_GetLength:
js .Lasm_GetLength.ssa_block_1
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 5]
+ movzx r11d, BYTE PTR [r14 + r13 + 5]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 13
+ add r13d, 11
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_GetLength_hot_end:
@@ -5894,7 +5905,7 @@ asm_handler_GetGlobal:
shr r11, 48
cmp r11w, 65532
je .Lasm_GetGlobal.ssa_block_1
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
@@ -5911,7 +5922,7 @@ asm_handler_GetGlobal:
shr r11, 48
cmp r11w, 32763
je .Lasm_GetGlobal.ssa_block_1
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
@@ -5947,7 +5958,7 @@ asm_handler_ResolveGlobalBinding:
cmp DWORD PTR [rcx + 40], edx
jne .Lasm_ResolveGlobalBinding.ssa_block_2
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov QWORD PTR [rbx + rax * 8], r11
add r13d, 7
movzx eax, BYTE PTR [r14 + r13]
@@ -5956,7 +5967,7 @@ asm_handler_ResolveGlobalBinding:
cmp BYTE PTR [rax + 76], 0
jz .Lasm_ResolveGlobalBinding.ssa_block_1
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov QWORD PTR [rbx + rax * 8], r11
add r13d, 7
movzx eax, BYTE PTR [r14 + r13]
@@ -6002,7 +6013,7 @@ asm_handler_SetGlobal:
je .Lasm_SetGlobal.ssa_block_1
cmp BYTE PTR [rax + 13], 0
jz .Lasm_SetGlobal.ssa_block_1
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rax, QWORD PTR [rbx + rax * 8]
mov QWORD PTR [rcx + rdi * 8], rax
add r13d, 7
@@ -6058,7 +6069,7 @@ asm_handler_SetGlobal:
.Lasm_SetGlobal.ssa_block_7:
test ecx, 2
jz .Lasm_SetGlobal.ssa_block_1
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rcx * 8]
mov QWORD PTR [rsi + rax * 8], rcx
add r13d, 7
@@ -6068,7 +6079,7 @@ asm_handler_SetGlobal_hot_end:
.p2align 6
asm_handler_Call:
- movzx eax, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 6]
mov rcx, QWORD PTR [rbx + rax * 8]
mov r11, rcx
shr r11, 48
@@ -6098,7 +6109,7 @@ asm_handler_Call:
movabs r9, 9221964661971222528
bt rax, 34
jnc .Lasm_Call.ssa_block_9
- movzx esi, WORD PTR [r14 + r13 + 9]
+ movzx esi, BYTE PTR [r14 + r13 + 7]
mov r9, QWORD PTR [rbx + rsi * 8]
bt rax, 35
jc .Lasm_Call.ssa_block_9
@@ -6129,7 +6140,7 @@ asm_handler_Call:
cmp si, 65529
jne .Lasm_Call.ssa_block_2
.Lasm_Call.ssa_block_9:
- mov edi, DWORD PTR [r14 + r13 + 11]
+ movzx edi, BYTE PTR [r14 + r13 + 8]
mov esi, eax
cmp rsi, rdi
jae .Lasm_Call.ssa_block_29
@@ -6166,7 +6177,7 @@ asm_handler_Call:
mov QWORD PTR [r11 + 16], r8
mov DWORD PTR [rax + 116], r10d
mov DWORD PTR [rax + 120], esi
- mov r8d, DWORD PTR [r14 + r13 + 11]
+ movzx r8d, BYTE PTR [r14 + r13 + 8]
mov DWORD PTR [rax + 104], r8d
mov r8d, DWORD PTR [rcx + 20]
test r8, r8
@@ -6183,7 +6194,7 @@ asm_handler_Call:
test r8d, r8d
cmovnz r8, r11
test r8, r8
- jz .Lasm_Call.assert_predicate_failure_414
+ jz .Lasm_Call.assert_predicate_failure_415
mov QWORD PTR [rax + 32], r8
mov QWORD PTR [rax + 40], r8
mov QWORD PTR [rax + 48], 0
@@ -6227,27 +6238,26 @@ asm_handler_Call:
mov BYTE PTR [rax + 125], 0
lea r11, [rbx - 128]
mov QWORD PTR [rax + 96], r11
- mov ecx, DWORD PTR [r14 + r13 + 11]
- mov rdx, 17
- add rdx, rcx
- add rdx, rcx
- movzx r8d, WORD PTR [r14 + r13 + 5]
- mov ecx, r13d
- add rdx, rcx
- mov DWORD PTR [rbx - 64], ecx
- mov DWORD PTR [rax + 108], edx
+ movzx edx, BYTE PTR [r14 + r13 + 8]
+ mov rcx, 11
+ add rcx, rdx
+ movzx r8d, BYTE PTR [r14 + r13 + 5]
+ mov edx, r13d
+ add rcx, rdx
+ mov DWORD PTR [rbx - 64], edx
+ mov DWORD PTR [rax + 108], ecx
mov DWORD PTR [rax + 112], r8d
- mov edx, DWORD PTR [r14 + r13 + 11]
+ movzx edx, BYTE PTR [r14 + r13 + 8]
cmp rsi, rdx
- jb .Lasm_Call.assert_predicate_failure_274
+ jb .Lasm_Call.assert_predicate_failure_275
lea r9, [rbx]
- lea r10, [r14 + r13 + 17]
+ lea r10, [r14 + r13 + 11]
lea r8, [rax + 128]
xor rcx, rcx
.Lasm_Call.ssa_block_19:
cmp rcx, rdx
jae .Lasm_Call.ssa_block_18
- movzx r11d, WORD PTR [r10 + rcx * 2]
+ movzx r11d, BYTE PTR [r10 + rcx]
mov r11, QWORD PTR [r9 + r11 * 8]
mov QWORD PTR [r8 + rdi * 8], r11
lea rcx, [rcx + 1]
@@ -6266,7 +6276,7 @@ asm_handler_Call:
.Lasm_Call.ssa_block_21:
mov rcx, QWORD PTR [rax + 88]
test rcx, rcx
- jz .Lasm_Call.assert_predicate_failure_298
+ jz .Lasm_Call.assert_predicate_failure_299
mov r14, QWORD PTR [rcx + 40]
test r14, r14
jz .Lasm_Call.assert_failure_10
@@ -6279,7 +6289,7 @@ asm_handler_Call:
.Lasm_Call.ssa_block_3:
test eax, 2
jz .Lasm_Call.ssa_block_1
- mov esi, DWORD PTR [r14 + r13 + 11]
+ movzx esi, BYTE PTR [r14 + r13 + 8]
mov rax, QWORD PTR [rbp - 48]
mov rdi, QWORD PTR [rax + 24]
mov rax, QWORD PTR [rax + 16]
@@ -6292,7 +6302,7 @@ asm_handler_Call:
lea rdx, [rdx + 128]
add rdx, rax
cmp rdx, rax
- jb .Lasm_Call.assert_predicate_failure_35
+ jb .Lasm_Call.assert_predicate_failure_36
cmp rdx, rdi
ja .Lasm_Call.ssa_block_1
mov rdi, QWORD PTR [rbp - 48]
@@ -6300,7 +6310,7 @@ asm_handler_Call:
mov rdi, r8
add rdi, 32768
cmp rdi, r8
- jb .Lasm_Call.assert_predicate_failure_43
+ jb .Lasm_Call.assert_predicate_failure_44
cmp rdi, rbp
ja .Lasm_Call.ssa_block_1
mov rdi, QWORD PTR [rbp - 48]
@@ -6321,14 +6331,14 @@ asm_handler_Call:
mov rdx, QWORD PTR [rbx - 96]
mov rdi, QWORD PTR [rbx - 88]
test rdx, rdx
- jz .Lasm_Call.assert_predicate_failure_68
+ jz .Lasm_Call.assert_predicate_failure_69
test rdi, rdi
- jz .Lasm_Call.assert_predicate_failure_70
+ jz .Lasm_Call.assert_predicate_failure_71
mov QWORD PTR [rax + 32], rdx
mov QWORD PTR [rax + 40], rdi
mov rdx, QWORD PTR [rbx - 80]
mov QWORD PTR [rax + 48], rdx
- movzx edx, WORD PTR [r14 + r13 + 9]
+ movzx edx, BYTE PTR [r14 + r13 + 7]
mov rdx, QWORD PTR [rbx + rdx * 8]
mov QWORD PTR [rax + 80], rdx
mov QWORD PTR [rax + 16], 0
@@ -6349,26 +6359,25 @@ asm_handler_Call:
mov BYTE PTR [rax + 79], 0
mov BYTE PTR [rax + 124], 0
mov BYTE PTR [rax + 125], 0
- mov edx, DWORD PTR [r14 + r13 + 11]
- mov rdi, 17
- add rdi, rdx
- add rdi, rdx
- movzx r8d, WORD PTR [r14 + r13 + 5]
- mov edx, r13d
- add rdi, rdx
- mov DWORD PTR [rbx - 64], edx
+ movzx edi, BYTE PTR [r14 + r13 + 8]
+ mov rdx, 11
+ add rdx, rdi
+ movzx r8d, BYTE PTR [r14 + r13 + 5]
+ mov edi, r13d
+ add rdx, rdi
+ mov DWORD PTR [rbx - 64], edi
lea r11, [rbx - 128]
mov QWORD PTR [rax + 96], r11
- mov DWORD PTR [rax + 108], edi
+ mov DWORD PTR [rax + 108], edx
mov DWORD PTR [rax + 112], r8d
lea rdi, [rbx]
- lea r8, [r14 + r13 + 17]
+ lea r8, [r14 + r13 + 11]
lea r9, [rax + 128]
xor rdx, rdx
.Lasm_Call.ssa_block_25:
cmp rdx, rsi
jae .Lasm_Call.ssa_block_24
- movzx r10d, WORD PTR [r8 + rdx * 2]
+ movzx r10d, BYTE PTR [r8 + rdx]
mov r10, QWORD PTR [rdi + r10 * 8]
mov QWORD PTR [r9 + rdx * 8], r10
lea rdx, [rdx + 1]
@@ -6386,7 +6395,7 @@ asm_handler_Call:
add rax, rcx
mov ecx, DWORD PTR [rax + 8]
cmp rcx, 1
- jae .Lasm_Call.assert_predicate_failure_334
+ jae .Lasm_Call.assert_predicate_failure_335
mov rdx, QWORD PTR [rax]
test rdx, rdx
jz .Lasm_Call.assert_failure_17
@@ -6396,22 +6405,21 @@ asm_handler_Call:
mov rcx, rdx
and rcx, 255
cmp rcx, 2
- jae .Lasm_Call.assert_predicate_failure_341
+ jae .Lasm_Call.assert_predicate_failure_342
test rcx, rcx
jnz .Lasm_Call.ssa_block_4
mov rcx, QWORD PTR [rbx - 32]
test rcx, rcx
- jz .Lasm_Call.assert_predicate_failure_347
+ jz .Lasm_Call.assert_predicate_failure_348
mov rdx, QWORD PTR [rbp - 48]
mov QWORD PTR [rdx], rcx
lea r11, [rbx - 128]
mov QWORD PTR [rdx + 16], r11
lea rbx, [rcx + 128]
- movzx r11d, WORD PTR [r14 + r13 + 5]
+ movzx r11d, BYTE PTR [r14 + r13 + 5]
mov QWORD PTR [rbx + r11 * 8], rax
- mov eax, DWORD PTR [r14 + r13 + 11]
- mov rcx, 17
- add rcx, rax
+ movzx eax, BYTE PTR [r14 + r13 + 8]
+ mov rcx, 11
add rcx, rax
add r13d, ecx
movzx eax, BYTE PTR [r14 + r13]
@@ -6419,7 +6427,7 @@ asm_handler_Call:
.Lasm_Call.ssa_block_2:
lea rcx, [r14 + r13]
mov r11, rsp
- mov r10d, DWORD PTR [rcx + 11]
+ movzx r10d, BYTE PTR [rcx + 8]
shl r10, 3
add r10, 55
and r10, -16
@@ -6443,20 +6451,20 @@ asm_handler_Call:
.Lasm_Call.values_allocated_21:
mov rsp, rax
mov QWORD PTR [rsp], r11
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_Call.value_ready_22:
mov QWORD PTR [rsp + 24], rax
- movzx r10d, WORD PTR [rcx + 9]
+ movzx r10d, BYTE PTR [rcx + 7]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_Call.value_ready_23:
mov QWORD PTR [rsp + 32], rax
mov r11d, 0
- mov r10d, DWORD PTR [rcx + 11]
+ movzx r10d, BYTE PTR [rcx + 8]
.Lasm_Call.array_value_next_24:
cmp r11, r10
jae .Lasm_Call.array_values_end_26
- movzx edx, WORD PTR [rcx + r11 * 2 + 17]
+ movzx edx, BYTE PTR [rcx + r11 + 11]
mov rax, QWORD PTR [rbx + rdx * 8]
.Lasm_Call.array_value_ready_25:
mov QWORD PTR [rsp + r11 * 8 + 40], rax
@@ -6476,7 +6484,7 @@ asm_handler_Call:
test rax, rax
jne .Lasm_Call.values_exceptional_outputs_28
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 5]
mov r11, QWORD PTR [rsp + 16]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_Call.skip_output_value_29:
@@ -6505,7 +6513,7 @@ asm_handler_Call_hot_end:
.p2align 6
asm_handler_ObjectPropertyIteratorNext:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rsi, QWORD PTR [rbx + rax * 8]
mov r11, rsi
shr r11, 48
@@ -6514,7 +6522,7 @@ asm_handler_ObjectPropertyIteratorNext:
movabs r11, 34359738367
and rsi, r11
add rsi, r15
- movzx eax, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rax, QWORD PTR [rbx + rax * 8]
mov rcx, rax
shr rcx, 48
@@ -6561,7 +6569,7 @@ asm_handler_ObjectPropertyIteratorNext:
cmp BYTE PTR [rcx + 11], 0
jz .Lasm_ObjectPropertyIteratorNext.ssa_block_1
.Lasm_ObjectPropertyIteratorNext.ssa_block_8:
- movzx edx, WORD PTR [r14 + r13 + 9]
+ movzx edx, BYTE PTR [r14 + r13 + 5]
mov rcx, QWORD PTR [rbx + rdx * 8]
mov r11, rcx
shr r11, 48
@@ -6581,29 +6589,29 @@ asm_handler_ObjectPropertyIteratorNext:
test rax, rax
jz .Lasm_ObjectPropertyIteratorNext.assert_predicate_failure_66
mov rax, QWORD PTR [rax + rcx * 8]
- movzx r11d, WORD PTR [r14 + r13 + 1]
+ movzx r11d, BYTE PTR [r14 + r13 + 1]
mov QWORD PTR [rbx + r11 * 8], rax
movabs r11, 9221683186994511872
or rsi, r11
mov QWORD PTR [rbx + rdx * 8], rsi
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 2]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_ObjectPropertyIteratorNext.ssa_block_13:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 2]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_ObjectPropertyIteratorNext_hot_end:
.p2align 6
asm_handler_IteratorClose:
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov rcx, QWORD PTR [rbx + rax * 8]
mov r11, rcx
shr r11, 48
@@ -6615,7 +6623,7 @@ asm_handler_IteratorClose:
jz .Lasm_IteratorClose.ssa_block_1
cmp BYTE PTR [rax + 11], 0
jz .Lasm_IteratorClose.ssa_block_1
- add r13d, 15
+ add r13d, 11
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_IteratorClose.ssa_block_3:
@@ -6623,7 +6631,7 @@ asm_handler_IteratorClose:
mov rdx, QWORD PTR [rax + 152]
test rdx, rdx
jz .Lasm_IteratorClose.assert_failure_0
- movzx eax, WORD PTR [r14 + r13 + 13]
+ movzx eax, WORD PTR [r14 + r13 + 9]
shl rax, 3
add rdx, rax
mov rdi, rcx
@@ -6633,14 +6641,14 @@ asm_handler_IteratorClose:
and ax, 65534
cmp ax, 32766
jne .Lasm_IteratorClose.ssa_block_1
- add r13d, 15
+ add r13d, 11
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_IteratorClose_hot_end:
.p2align 6
asm_handler_IteratorNextUnpack:
- movzx edx, WORD PTR [r14 + r13 + 5]
+ movzx edx, BYTE PTR [r14 + r13 + 3]
mov rax, QWORD PTR [rbx + rdx * 8]
mov r11, rax
shr r11, 48
@@ -6649,11 +6657,11 @@ asm_handler_IteratorNextUnpack:
movsxd rcx, eax
test ecx, ecx
js .Lasm_IteratorNextUnpack.ssa_block_1
- movzx esi, WORD PTR [r14 + r13 + 9]
+ movzx esi, BYTE PTR [r14 + r13 + 5]
mov rax, QWORD PTR [rbx + rsi * 8]
test eax, 1
jnz .Lasm_IteratorNextUnpack.ssa_block_1
- movzx eax, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rax, QWORD PTR [rbx + rax * 8]
mov r11, rax
shr r11, 48
@@ -6671,14 +6679,14 @@ asm_handler_IteratorNextUnpack:
cmp rcx, rdi
jb .Lasm_IteratorNextUnpack.ssa_block_7
movabs r11, 9222809086901354496
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov QWORD PTR [rbx + rax * 8], r11
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 2]
mov QWORD PTR [rbx + rax * 8], r11
movabs r11, 9221401712017801217
mov QWORD PTR [rbx + rsi * 8], r11
- add r13d, 11
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_IteratorNextUnpack.ssa_block_7:
@@ -6700,22 +6708,22 @@ asm_handler_IteratorNextUnpack:
je .Lasm_IteratorNextUnpack.ssa_block_1
inc ecx
jo .Lasm_IteratorNextUnpack.ssa_block_1
- movzx r11d, WORD PTR [r14 + r13 + 1]
+ movzx r11d, BYTE PTR [r14 + r13 + 1]
mov QWORD PTR [rbx + r11 * 8], rax
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 2]
mov QWORD PTR [rbx + rax * 8], r11
movabs r11, 9221683186994511872
or rcx, r11
mov QWORD PTR [rbx + rdx * 8], rcx
- add r13d, 11
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_IteratorNextUnpack_hot_end:
.p2align 6
asm_handler_IsCallable:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 2]
mov rax, QWORD PTR [rbx + rax * 8]
mov r11, rax
shr r11, 48
@@ -6728,16 +6736,16 @@ asm_handler_IsCallable:
test eax, 128
jz .Lasm_IsCallable.ssa_block_1
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 5
+ add r13d, 3
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_IsCallable.ssa_block_1:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 5
+ add r13d, 3
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_IsCallable_hot_end:
@@ -6772,17 +6780,17 @@ asm_handler_ResolveThisBinding_hot_end:
.p2align 6
asm_handler_MovSrcUndefined:
movabs r11, 9222809086901354496
- movzx eax, WORD PTR [r14 + r13 + 1]
+ movzx eax, BYTE PTR [r14 + r13 + 1]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 3
+ add r13d, 2
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_MovSrcUndefined_hot_end:
.p2align 6
asm_handler_AddLhsInt32:
- mov edx, DWORD PTR [r14 + r13 + 5]
- movzx eax, WORD PTR [r14 + r13 + 9]
+ mov edx, DWORD PTR [r14 + r13 + 4]
+ movzx eax, BYTE PTR [r14 + r13 + 8]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rax, rcx
shr rax, 48
@@ -6792,56 +6800,56 @@ asm_handler_AddLhsInt32:
jo .Lasm_AddLhsInt32.ssa_block_8
movabs r11, 9221683186994511872
or rdx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rdx
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_AddLhsInt32_hot_end:
.p2align 6
asm_handler_AddRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rax, rcx
shr rax, 48
cmp ax, 32762
jne .Lasm_AddRhsInt32.ssa_block_5
- add ecx, DWORD PTR [r14 + r13 + 7]
+ add ecx, DWORD PTR [r14 + r13 + 5]
jo .Lasm_AddRhsInt32.ssa_checked_6_failure
movabs r11, 9221683186994511872
or rcx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rcx
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_AddRhsInt32_hot_end:
.p2align 6
asm_handler_SubRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rax, rcx
shr rax, 48
cmp ax, 32762
jne .Lasm_SubRhsInt32.ssa_block_5
- sub ecx, DWORD PTR [r14 + r13 + 7]
+ sub ecx, DWORD PTR [r14 + r13 + 5]
jo .Lasm_SubRhsInt32.ssa_checked_6_failure
movabs r11, 9221683186994511872
or rcx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rcx
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_SubRhsInt32_hot_end:
.p2align 6
asm_handler_MulRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov eax, DWORD PTR [r14 + r13 + 7]
+ mov eax, DWORD PTR [r14 + r13 + 5]
mov rdx, rcx
shr rdx, 48
cmp dx, 32762
@@ -6856,18 +6864,18 @@ asm_handler_MulRhsInt32:
.Lasm_MulRhsInt32.ssa_block_11:
movabs r11, 9221683186994511872
or rdx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rdx
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_MulRhsInt32_hot_end:
.p2align 6
asm_handler_DivRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
mov rax, rcx
shr rax, 48
cmp ax, 32762
@@ -6894,9 +6902,9 @@ asm_handler_DivRhsInt32:
.Lasm_DivRhsInt32.ssa_block_3:
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_DivRhsInt32.ssa_block_2:
@@ -6908,18 +6916,18 @@ asm_handler_DivRhsInt32:
ucomisd xmm0, xmm0
jp .Lasm_DivRhsInt32.canon_nan_0
.Lasm_DivRhsInt32.canon_nan_0_ret:
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_DivRhsInt32_hot_end:
.p2align 6
asm_handler_BitwiseXorRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rdx, QWORD PTR [rbx + rax * 8]
- mov eax, DWORD PTR [r14 + r13 + 7]
+ mov eax, DWORD PTR [r14 + r13 + 5]
mov r11, rdx
shr r11, 48
cmp r11w, 32762
@@ -6927,18 +6935,18 @@ asm_handler_BitwiseXorRhsInt32:
xor edx, eax
movabs r11, 9221683186994511872
or rdx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rdx
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_BitwiseXorRhsInt32_hot_end:
.p2align 6
asm_handler_BitwiseAndRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rdx, QWORD PTR [rbx + rax * 8]
- mov eax, DWORD PTR [r14 + r13 + 7]
+ mov eax, DWORD PTR [r14 + r13 + 5]
mov r11, rdx
shr r11, 48
cmp r11w, 32762
@@ -6946,18 +6954,18 @@ asm_handler_BitwiseAndRhsInt32:
and edx, eax
movabs r11, 9221683186994511872
or rdx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rdx
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_BitwiseAndRhsInt32_hot_end:
.p2align 6
asm_handler_BitwiseOrRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rdx, QWORD PTR [rbx + rax * 8]
- mov eax, DWORD PTR [r14 + r13 + 7]
+ mov eax, DWORD PTR [r14 + r13 + 5]
mov r11, rdx
shr r11, 48
cmp r11w, 32762
@@ -6965,18 +6973,18 @@ asm_handler_BitwiseOrRhsInt32:
or edx, eax
movabs r11, 9221683186994511872
or rdx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rdx
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_BitwiseOrRhsInt32_hot_end:
.p2align 6
asm_handler_LeftShiftRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rdx, QWORD PTR [rbx + rax * 8]
- mov ecx, DWORD PTR [r14 + r13 + 7]
+ mov ecx, DWORD PTR [r14 + r13 + 5]
mov r11, rdx
shr r11, 48
cmp r11w, 32762
@@ -6984,18 +6992,18 @@ asm_handler_LeftShiftRhsInt32:
shl edx, cl
movabs r11, 9221683186994511872
or rdx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rdx
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_LeftShiftRhsInt32_hot_end:
.p2align 6
asm_handler_RightShiftRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rdx, QWORD PTR [rbx + rax * 8]
- mov ecx, DWORD PTR [r14 + r13 + 7]
+ mov ecx, DWORD PTR [r14 + r13 + 5]
mov r11, rdx
shr r11, 48
cmp r11w, 32762
@@ -7003,18 +7011,18 @@ asm_handler_RightShiftRhsInt32:
sar edx, cl
movabs r11, 9221683186994511872
or rdx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rdx
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_RightShiftRhsInt32_hot_end:
.p2align 6
asm_handler_UnsignedRightShiftRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rdx, QWORD PTR [rbx + rax * 8]
- mov ecx, DWORD PTR [r14 + r13 + 7]
+ mov ecx, DWORD PTR [r14 + r13 + 5]
mov r11, rdx
shr r11, 48
cmp r11w, 32762
@@ -7024,22 +7032,22 @@ asm_handler_UnsignedRightShiftRhsInt32:
js .Lasm_UnsignedRightShiftRhsInt32.ssa_block_2
movabs r11, 9221683186994511872
or rdx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rdx
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_UnsignedRightShiftRhsInt32_hot_end:
.p2align 6
asm_handler_ModRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
mov r11, rcx
shr r11, 48
cmp r11w, 32762
jne .Lasm_ModRhsInt32.ssa_block_2
- mov esi, DWORD PTR [r14 + r13 + 7]
+ mov esi, DWORD PTR [r14 + r13 + 5]
test esi, esi
jz .Lasm_ModRhsInt32.ssa_block_1
test ecx, ecx
@@ -7049,18 +7057,18 @@ asm_handler_ModRhsInt32:
idiv esi
movabs r11, 9221683186994511872
or rdx, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rdx
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_ModRhsInt32_hot_end:
.p2align 6
asm_handler_LessThanRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
mov rax, rcx
shr rax, 48
cmp ax, 32762
@@ -7069,25 +7077,25 @@ asm_handler_LessThanRhsInt32:
jl .Lasm_LessThanRhsInt32.ssa_block_1
.Lasm_LessThanRhsInt32.ssa_block_2:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_LessThanRhsInt32.ssa_block_1:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_LessThanRhsInt32_hot_end:
.p2align 6
asm_handler_LessThanEqualsRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
mov rax, rcx
shr rax, 48
cmp ax, 32762
@@ -7096,25 +7104,25 @@ asm_handler_LessThanEqualsRhsInt32:
jle .Lasm_LessThanEqualsRhsInt32.ssa_block_1
.Lasm_LessThanEqualsRhsInt32.ssa_block_2:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_LessThanEqualsRhsInt32.ssa_block_1:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_LessThanEqualsRhsInt32_hot_end:
.p2align 6
asm_handler_GreaterThanRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
mov rax, rcx
shr rax, 48
cmp ax, 32762
@@ -7123,25 +7131,25 @@ asm_handler_GreaterThanRhsInt32:
jg .Lasm_GreaterThanRhsInt32.ssa_block_1
.Lasm_GreaterThanRhsInt32.ssa_block_2:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GreaterThanRhsInt32.ssa_block_1:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_GreaterThanRhsInt32_hot_end:
.p2align 6
asm_handler_GreaterThanEqualsRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
mov rax, rcx
shr rax, 48
cmp ax, 32762
@@ -7150,25 +7158,25 @@ asm_handler_GreaterThanEqualsRhsInt32:
jge .Lasm_GreaterThanEqualsRhsInt32.ssa_block_1
.Lasm_GreaterThanEqualsRhsInt32.ssa_block_2:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GreaterThanEqualsRhsInt32.ssa_block_1:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_GreaterThanEqualsRhsInt32_hot_end:
.p2align 6
asm_handler_JumpLessThanRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
mov rax, rcx
shr rax, 48
cmp ax, 32762
@@ -7176,20 +7184,20 @@ asm_handler_JumpLessThanRhsInt32:
cmp ecx, edx
jl .Lasm_JumpLessThanRhsInt32.ssa_block_2
.Lasm_JumpLessThanRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLessThanRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLessThanRhsInt32_hot_end:
.p2align 6
asm_handler_JumpLessThanEqualsRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
mov rax, rcx
shr rax, 48
cmp ax, 32762
@@ -7197,20 +7205,20 @@ asm_handler_JumpLessThanEqualsRhsInt32:
cmp ecx, edx
jle .Lasm_JumpLessThanEqualsRhsInt32.ssa_block_2
.Lasm_JumpLessThanEqualsRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLessThanEqualsRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLessThanEqualsRhsInt32_hot_end:
.p2align 6
asm_handler_JumpGreaterThanRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
mov rax, rcx
shr rax, 48
cmp ax, 32762
@@ -7218,20 +7226,20 @@ asm_handler_JumpGreaterThanRhsInt32:
cmp ecx, edx
jg .Lasm_JumpGreaterThanRhsInt32.ssa_block_2
.Lasm_JumpGreaterThanRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpGreaterThanRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpGreaterThanRhsInt32_hot_end:
.p2align 6
asm_handler_JumpGreaterThanEqualsRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
mov rax, rcx
shr rax, 48
cmp ax, 32762
@@ -7239,20 +7247,20 @@ asm_handler_JumpGreaterThanEqualsRhsInt32:
cmp ecx, edx
jge .Lasm_JumpGreaterThanEqualsRhsInt32.ssa_block_2
.Lasm_JumpGreaterThanEqualsRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpGreaterThanEqualsRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpGreaterThanEqualsRhsInt32_hot_end:
.p2align 6
asm_handler_StrictlyEqualsRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rdx, r11
jmp .Lasm_StrictlyEqualsRhsInt32.ssa_block_9
@@ -7330,25 +7338,25 @@ asm_handler_StrictlyEqualsRhsInt32:
jne .Lasm_StrictlyEqualsRhsInt32.ssa_block_20
.Lasm_StrictlyEqualsRhsInt32.ssa_block_3:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_StrictlyEqualsRhsInt32.ssa_block_2:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_StrictlyEqualsRhsInt32_hot_end:
.p2align 6
asm_handler_StrictlyInequalsRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rdx, r11
jmp .Lasm_StrictlyInequalsRhsInt32.ssa_block_9
@@ -7426,25 +7434,25 @@ asm_handler_StrictlyInequalsRhsInt32:
jne .Lasm_StrictlyInequalsRhsInt32.ssa_block_20
.Lasm_StrictlyInequalsRhsInt32.ssa_block_2:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_StrictlyInequalsRhsInt32.ssa_block_3:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_StrictlyInequalsRhsInt32_hot_end:
.p2align 6
asm_handler_LooselyEqualsRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rdx, r11
jmp .Lasm_LooselyEqualsRhsInt32.ssa_block_9
@@ -7517,25 +7525,25 @@ asm_handler_LooselyEqualsRhsInt32:
jmp .Lasm_LooselyEqualsRhsInt32.ssa_block_1
.Lasm_LooselyEqualsRhsInt32.ssa_block_3:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_LooselyEqualsRhsInt32.ssa_block_2:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_LooselyEqualsRhsInt32_hot_end:
.p2align 6
asm_handler_LooselyInequalsRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rdx, r11
jmp .Lasm_LooselyInequalsRhsInt32.ssa_block_9
@@ -7608,25 +7616,25 @@ asm_handler_LooselyInequalsRhsInt32:
jmp .Lasm_LooselyInequalsRhsInt32.ssa_block_1
.Lasm_LooselyInequalsRhsInt32.ssa_block_2:
movabs r11, 9221401712017801217
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_LooselyInequalsRhsInt32.ssa_block_3:
movabs r11, 9221401712017801216
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_LooselyInequalsRhsInt32_hot_end:
.p2align 6
asm_handler_JumpStrictlyEqualsRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
movabs r11, 9221683186994511872
or rdx, r11
jmp .Lasm_JumpStrictlyEqualsRhsInt32.ssa_block_9
@@ -7703,20 +7711,20 @@ asm_handler_JumpStrictlyEqualsRhsInt32:
cmp si, 32760
jne .Lasm_JumpStrictlyEqualsRhsInt32.ssa_block_20
.Lasm_JumpStrictlyEqualsRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpStrictlyEqualsRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpStrictlyEqualsRhsInt32_hot_end:
.p2align 6
asm_handler_JumpStrictlyInequalsRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
movabs r11, 9221683186994511872
or rdx, r11
jmp .Lasm_JumpStrictlyInequalsRhsInt32.ssa_block_9
@@ -7793,20 +7801,20 @@ asm_handler_JumpStrictlyInequalsRhsInt32:
cmp si, 32760
jne .Lasm_JumpStrictlyInequalsRhsInt32.ssa_block_20
.Lasm_JumpStrictlyInequalsRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpStrictlyInequalsRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpStrictlyInequalsRhsInt32_hot_end:
.p2align 6
asm_handler_JumpLooselyEqualsRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
movabs r11, 9221683186994511872
or rdx, r11
jmp .Lasm_JumpLooselyEqualsRhsInt32.ssa_block_9
@@ -7878,20 +7886,20 @@ asm_handler_JumpLooselyEqualsRhsInt32:
jne .Lasm_JumpLooselyEqualsRhsInt32.ssa_block_22
jmp .Lasm_JumpLooselyEqualsRhsInt32.ssa_block_1
.Lasm_JumpLooselyEqualsRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLooselyEqualsRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLooselyEqualsRhsInt32_hot_end:
.p2align 6
asm_handler_JumpLooselyInequalsRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
movabs r11, 9221683186994511872
or rdx, r11
jmp .Lasm_JumpLooselyInequalsRhsInt32.ssa_block_9
@@ -7963,20 +7971,20 @@ asm_handler_JumpLooselyInequalsRhsInt32:
jne .Lasm_JumpLooselyInequalsRhsInt32.ssa_block_22
jmp .Lasm_JumpLooselyInequalsRhsInt32.ssa_block_1
.Lasm_JumpLooselyInequalsRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLooselyInequalsRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLooselyInequalsRhsInt32_hot_end:
.p2align 6
asm_handler_JumpLessThanLoopRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
mov rax, rcx
shr rax, 48
cmp ax, 32762
@@ -7984,20 +7992,20 @@ asm_handler_JumpLessThanLoopRhsInt32:
cmp ecx, edx
jl .Lasm_JumpLessThanLoopRhsInt32.ssa_block_2
.Lasm_JumpLessThanLoopRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLessThanLoopRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLessThanLoopRhsInt32_hot_end:
.p2align 6
asm_handler_JumpLessThanEqualsLoopRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
mov rax, rcx
shr rax, 48
cmp ax, 32762
@@ -8005,20 +8013,20 @@ asm_handler_JumpLessThanEqualsLoopRhsInt32:
cmp ecx, edx
jle .Lasm_JumpLessThanEqualsLoopRhsInt32.ssa_block_2
.Lasm_JumpLessThanEqualsLoopRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLessThanEqualsLoopRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLessThanEqualsLoopRhsInt32_hot_end:
.p2align 6
asm_handler_JumpGreaterThanLoopRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
mov rax, rcx
shr rax, 48
cmp ax, 32762
@@ -8026,20 +8034,20 @@ asm_handler_JumpGreaterThanLoopRhsInt32:
cmp ecx, edx
jg .Lasm_JumpGreaterThanLoopRhsInt32.ssa_block_2
.Lasm_JumpGreaterThanLoopRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpGreaterThanLoopRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpGreaterThanLoopRhsInt32_hot_end:
.p2align 6
asm_handler_JumpGreaterThanEqualsLoopRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
mov rax, rcx
shr rax, 48
cmp ax, 32762
@@ -8047,20 +8055,20 @@ asm_handler_JumpGreaterThanEqualsLoopRhsInt32:
cmp ecx, edx
jge .Lasm_JumpGreaterThanEqualsLoopRhsInt32.ssa_block_2
.Lasm_JumpGreaterThanEqualsLoopRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpGreaterThanEqualsLoopRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpGreaterThanEqualsLoopRhsInt32_hot_end:
.p2align 6
asm_handler_JumpStrictlyEqualsLoopRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
movabs r11, 9221683186994511872
or rdx, r11
jmp .Lasm_JumpStrictlyEqualsLoopRhsInt32.ssa_block_9
@@ -8137,20 +8145,20 @@ asm_handler_JumpStrictlyEqualsLoopRhsInt32:
cmp si, 32760
jne .Lasm_JumpStrictlyEqualsLoopRhsInt32.ssa_block_20
.Lasm_JumpStrictlyEqualsLoopRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpStrictlyEqualsLoopRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpStrictlyEqualsLoopRhsInt32_hot_end:
.p2align 6
asm_handler_JumpStrictlyInequalsLoopRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
movabs r11, 9221683186994511872
or rdx, r11
jmp .Lasm_JumpStrictlyInequalsLoopRhsInt32.ssa_block_9
@@ -8227,20 +8235,20 @@ asm_handler_JumpStrictlyInequalsLoopRhsInt32:
cmp si, 32760
jne .Lasm_JumpStrictlyInequalsLoopRhsInt32.ssa_block_20
.Lasm_JumpStrictlyInequalsLoopRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpStrictlyInequalsLoopRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpStrictlyInequalsLoopRhsInt32_hot_end:
.p2align 6
asm_handler_JumpLooselyEqualsLoopRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
movabs r11, 9221683186994511872
or rdx, r11
jmp .Lasm_JumpLooselyEqualsLoopRhsInt32.ssa_block_9
@@ -8312,20 +8320,20 @@ asm_handler_JumpLooselyEqualsLoopRhsInt32:
jne .Lasm_JumpLooselyEqualsLoopRhsInt32.ssa_block_22
jmp .Lasm_JumpLooselyEqualsLoopRhsInt32.ssa_block_1
.Lasm_JumpLooselyEqualsLoopRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLooselyEqualsLoopRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLooselyEqualsLoopRhsInt32_hot_end:
.p2align 6
asm_handler_JumpLooselyInequalsLoopRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
movabs r11, 9221683186994511872
or rdx, r11
jmp .Lasm_JumpLooselyInequalsLoopRhsInt32.ssa_block_9
@@ -8397,11 +8405,11 @@ asm_handler_JumpLooselyInequalsLoopRhsInt32:
jne .Lasm_JumpLooselyInequalsLoopRhsInt32.ssa_block_22
jmp .Lasm_JumpLooselyInequalsLoopRhsInt32.ssa_block_1
.Lasm_JumpLooselyInequalsLoopRhsInt32.ssa_block_2:
- mov r13d, DWORD PTR [r14 + r13 + 9]
+ mov r13d, DWORD PTR [r14 + r13 + 8]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_JumpLooselyInequalsLoopRhsInt32.ssa_block_3:
- mov r13d, DWORD PTR [r14 + r13 + 13]
+ mov r13d, DWORD PTR [r14 + r13 + 12]
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_JumpLooselyInequalsLoopRhsInt32_hot_end:
@@ -8412,6 +8420,8 @@ asm_handler_Enter_cold:
asm_handler_Enter_cold_end:
asm_handler_Mov_cold:
asm_handler_Mov_cold_end:
+asm_handler_MovWide_cold:
+asm_handler_MovWide_cold_end:
asm_handler_Add_cold:
# Cold paths for Add
.Lasm_Add.ssa_checked_6_failure:
@@ -8422,9 +8432,9 @@ asm_handler_Add_cold:
cvtsi2sd xmm1, eax
addsd xmm0, xmm1
movq rax, xmm0
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_Add.ssa_block_8:
@@ -8480,19 +8490,19 @@ asm_handler_Add_cold:
jp .Lasm_Add.canon_nan_0
.Lasm_Add.canon_nan_0_ret:
.Lasm_Add.ssa_box_number_6_done:
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_Add.ssa_block_1:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rcx
mov rcx, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -8540,9 +8550,9 @@ asm_handler_Sub_cold:
cvtsi2sd xmm1, eax
subsd xmm0, xmm1
movq rax, xmm0
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_Sub.ssa_block_8:
@@ -8598,19 +8608,19 @@ asm_handler_Sub_cold:
jp .Lasm_Sub.canon_nan_0
.Lasm_Sub.canon_nan_0_ret:
.Lasm_Sub.ssa_box_number_6_done:
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_Sub.ssa_block_1:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rcx
mov rcx, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -8657,16 +8667,16 @@ asm_handler_Mul_cold:
cvtsi2sd xmm1, eax
mulsd xmm0, xmm1
movq rax, xmm0
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_Mul.ssa_block_3:
movabs r11, -9223372036854775808
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_Mul.ssa_block_9:
@@ -8722,19 +8732,19 @@ asm_handler_Mul_cold:
jp .Lasm_Mul.canon_nan_0
.Lasm_Mul.canon_nan_0_ret:
.Lasm_Mul.ssa_box_number_6_done:
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_Mul.ssa_block_1:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rcx
mov rcx, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -8774,16 +8784,16 @@ asm_handler_Mul_cold:
asm_handler_Mul_cold_end:
.p2align 4
asm_handler_Exp:
- movzx eax, WORD PTR [r14 + r13 + 5]
- movzx edx, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
+ movzx edx, BYTE PTR [r14 + r13 + 5]
mov rcx, QWORD PTR [rbx + rax * 8]
mov rdx, QWORD PTR [rbx + rdx * 8]
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -8826,11 +8836,11 @@ asm_handler_ConcatString:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
sub rsp, 16
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ConcatString.value_ready_1:
mov r8, rax
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ConcatString.value_ready_2:
mov r9, rax
@@ -8844,7 +8854,7 @@ asm_handler_ConcatString:
bt rax, 32
jnc .Lasm_ConcatString.values_exceptional_outputs_4
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_ConcatString.skip_output_value_5:
@@ -8859,7 +8869,7 @@ asm_handler_ConcatString:
cmp r10, rbx
jne .Lasm_ConcatString.values_restore_stack_3
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_ConcatString.skip_exceptional_output_6:
@@ -8891,7 +8901,7 @@ asm_handler_CopyObjectExcludingProperties:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
mov r11, rsp
- mov r10d, DWORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 4]
shl r10, 3
add r10, 47
and r10, -16
@@ -8918,16 +8928,16 @@ asm_handler_CopyObjectExcludingProperties:
.Lasm_CopyObjectExcludingProperties.values_allocated_3:
mov rsp, rax
mov QWORD PTR [rsp], r11
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CopyObjectExcludingProperties.value_ready_4:
mov QWORD PTR [rsp + 24], rax
mov r11d, 0
- mov r10d, DWORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 4]
.Lasm_CopyObjectExcludingProperties.array_value_next_5:
cmp r11, r10
jae .Lasm_CopyObjectExcludingProperties.array_values_end_7
- movzx edx, WORD PTR [rcx + r11 * 2 + 9]
+ movzx edx, BYTE PTR [rcx + r11 + 5]
mov rax, QWORD PTR [rbx + rdx * 8]
.Lasm_CopyObjectExcludingProperties.array_value_ready_6:
mov QWORD PTR [rsp + r11 * 8 + 32], rax
@@ -8944,7 +8954,7 @@ asm_handler_CopyObjectExcludingProperties:
bt rax, 32
jnc .Lasm_CopyObjectExcludingProperties.values_exceptional_outputs_9
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov r11, QWORD PTR [rsp + 16]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_CopyObjectExcludingProperties.skip_output_value_10:
@@ -8980,11 +8990,11 @@ asm_handler_CopyObjectExcludingProperties_cold_end:
asm_handler_ImportCall:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ImportCall.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ImportCall.scalar_value_ready_1:
mov r8, rax
@@ -8997,7 +9007,7 @@ asm_handler_ImportCall:
bt rax, 32
jnc .Lasm_ImportCall.scalar_result_done_2
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -9036,7 +9046,7 @@ asm_handler_GetClassFieldInitializerName:
bt rax, 32
jnc .Lasm_GetClassFieldInitializerName.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -9066,7 +9076,7 @@ asm_handler_GetClassFieldInitializerName_cold_end:
asm_handler_GetClassProtoParent:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetClassProtoParent.scalar_value_ready_0:
mov rcx, rax
@@ -9079,7 +9089,7 @@ asm_handler_GetClassProtoParent:
bt rax, 32
jnc .Lasm_GetClassProtoParent.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -9110,7 +9120,7 @@ asm_handler_NewClass:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
mov r11, rsp
- mov r10d, DWORD PTR [rcx + 17]
+ movzx r10d, BYTE PTR [rcx + 14]
shl r10, 3
add r10, 71
and r10, -16
@@ -9138,38 +9148,38 @@ asm_handler_NewClass:
mov rsp, rax
mov QWORD PTR [rsp], r11
movabs rax, 9221964661971222528
- movzx r10d, WORD PTR [rcx + 3]
- cmp r10d, 65535
+ movzx r10d, BYTE PTR [rcx + 2]
+ cmp r10d, 255
je .Lasm_NewClass.value_ready_4
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_NewClass.value_ready_4:
mov QWORD PTR [rsp + 24], rax
movabs rax, 9221964661971222528
- movzx r10d, WORD PTR [rcx + 5]
- cmp r10d, 65535
+ movzx r10d, BYTE PTR [rcx + 3]
+ cmp r10d, 255
je .Lasm_NewClass.value_ready_5
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_NewClass.value_ready_5:
mov QWORD PTR [rsp + 32], rax
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_NewClass.value_ready_6:
mov QWORD PTR [rsp + 40], rax
movabs rax, 9221964661971222528
- movzx r10d, WORD PTR [rcx + 15]
- cmp r10d, 65535
+ movzx r10d, BYTE PTR [rcx + 12]
+ cmp r10d, 255
je .Lasm_NewClass.value_ready_7
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_NewClass.value_ready_7:
mov QWORD PTR [rsp + 48], rax
mov r11d, 0
- mov r10d, DWORD PTR [rcx + 17]
+ movzx r10d, BYTE PTR [rcx + 14]
.Lasm_NewClass.array_value_next_8:
cmp r11, r10
jae .Lasm_NewClass.array_values_end_10
- movzx edx, WORD PTR [rcx + r11 * 2 + 21]
+ movzx edx, BYTE PTR [rcx + r11 + 15]
movabs rax, 9221964661971222528
- cmp edx, 65535
+ cmp edx, 255
je .Lasm_NewClass.array_value_ready_9
mov rax, QWORD PTR [rbx + rdx * 8]
.Lasm_NewClass.array_value_ready_9:
@@ -9187,7 +9197,7 @@ asm_handler_NewClass:
bt rax, 32
jnc .Lasm_NewClass.values_exceptional_outputs_12
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov r11, QWORD PTR [rsp + 16]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_NewClass.skip_output_value_13:
@@ -9263,8 +9273,8 @@ asm_handler_JumpLessThan_cold:
jb .Lasm_JumpLessThan.ssa_block_2
jmp .Lasm_JumpLessThan.ssa_block_3
.Lasm_JumpLessThan.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -9320,8 +9330,8 @@ asm_handler_JumpGreaterThan_cold:
ja .Lasm_JumpGreaterThan.ssa_block_2
jmp .Lasm_JumpGreaterThan.ssa_block_3
.Lasm_JumpGreaterThan.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -9377,8 +9387,8 @@ asm_handler_JumpLessThanEquals_cold:
jbe .Lasm_JumpLessThanEquals.ssa_block_2
jmp .Lasm_JumpLessThanEquals.ssa_block_3
.Lasm_JumpLessThanEquals.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -9434,8 +9444,8 @@ asm_handler_JumpGreaterThanEquals_cold:
jae .Lasm_JumpGreaterThanEquals.ssa_block_2
jmp .Lasm_JumpGreaterThanEquals.ssa_block_3
.Lasm_JumpGreaterThanEquals.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -9481,8 +9491,8 @@ asm_handler_JumpLooselyEquals_cold:
cmp ax, 65530
je .Lasm_JumpLooselyEquals.ssa_block_36
.Lasm_JumpLooselyEquals.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -9538,8 +9548,8 @@ asm_handler_JumpLooselyInequals_cold:
cmp ax, 65530
je .Lasm_JumpLooselyInequals.ssa_block_36
.Lasm_JumpLooselyInequals.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -9595,8 +9605,8 @@ asm_handler_JumpStrictlyEquals_cold:
cmp ax, 65530
je .Lasm_JumpStrictlyEquals.ssa_block_34
.Lasm_JumpStrictlyEquals.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -9652,8 +9662,8 @@ asm_handler_JumpStrictlyInequals_cold:
cmp ax, 65530
je .Lasm_JumpStrictlyInequals.ssa_block_34
.Lasm_JumpStrictlyInequals.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -9727,8 +9737,8 @@ asm_handler_JumpLessThanLoop_cold:
jb .Lasm_JumpLessThanLoop.ssa_block_2
jmp .Lasm_JumpLessThanLoop.ssa_block_3
.Lasm_JumpLessThanLoop.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -9784,8 +9794,8 @@ asm_handler_JumpGreaterThanLoop_cold:
ja .Lasm_JumpGreaterThanLoop.ssa_block_2
jmp .Lasm_JumpGreaterThanLoop.ssa_block_3
.Lasm_JumpGreaterThanLoop.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -9841,8 +9851,8 @@ asm_handler_JumpLessThanEqualsLoop_cold:
jbe .Lasm_JumpLessThanEqualsLoop.ssa_block_2
jmp .Lasm_JumpLessThanEqualsLoop.ssa_block_3
.Lasm_JumpLessThanEqualsLoop.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -9898,8 +9908,8 @@ asm_handler_JumpGreaterThanEqualsLoop_cold:
jae .Lasm_JumpGreaterThanEqualsLoop.ssa_block_2
jmp .Lasm_JumpGreaterThanEqualsLoop.ssa_block_3
.Lasm_JumpGreaterThanEqualsLoop.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -9945,8 +9955,8 @@ asm_handler_JumpLooselyEqualsLoop_cold:
cmp ax, 65530
je .Lasm_JumpLooselyEqualsLoop.ssa_block_36
.Lasm_JumpLooselyEqualsLoop.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -10002,8 +10012,8 @@ asm_handler_JumpLooselyInequalsLoop_cold:
cmp ax, 65530
je .Lasm_JumpLooselyInequalsLoop.ssa_block_36
.Lasm_JumpLooselyInequalsLoop.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -10059,8 +10069,8 @@ asm_handler_JumpStrictlyEqualsLoop_cold:
cmp ax, 65530
je .Lasm_JumpStrictlyEqualsLoop.ssa_block_34
.Lasm_JumpStrictlyEqualsLoop.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -10116,8 +10126,8 @@ asm_handler_JumpStrictlyInequalsLoop_cold:
cmp ax, 65530
je .Lasm_JumpStrictlyInequalsLoop.ssa_block_34
.Lasm_JumpStrictlyInequalsLoop.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 7]
- mov edi, DWORD PTR [r14 + r13 + 11]
+ mov esi, DWORD PTR [r14 + r13 + 5]
+ mov edi, DWORD PTR [r14 + r13 + 9]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -10161,16 +10171,16 @@ asm_handler_Increment_cold:
movq xmm1, rax
addsd xmm0, xmm1
movq rax, xmm0
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rcx * 8], rax
- add r13d, 5
+ add r13d, 4
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_Increment.ssa_block_2:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
sub rsp, 16
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_Increment.value_ready_1:
mov r8, rax
@@ -10184,7 +10194,7 @@ asm_handler_Increment_cold:
bt rax, 32
jnc .Lasm_Increment.values_exceptional_outputs_3
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_Increment.skip_output_value_4:
@@ -10199,7 +10209,7 @@ asm_handler_Increment_cold:
cmp r10, rbx
jne .Lasm_Increment.values_restore_stack_2
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_Increment.skip_exceptional_output_5:
@@ -10233,16 +10243,16 @@ asm_handler_Decrement_cold:
movq xmm1, rax
subsd xmm0, xmm1
movq rax, xmm0
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rcx * 8], rax
- add r13d, 5
+ add r13d, 4
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_Decrement.ssa_block_2:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
sub rsp, 16
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_Decrement.value_ready_1:
mov r8, rax
@@ -10256,7 +10266,7 @@ asm_handler_Decrement_cold:
bt rax, 32
jnc .Lasm_Decrement.values_exceptional_outputs_3
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_Decrement.skip_output_value_4:
@@ -10271,7 +10281,7 @@ asm_handler_Decrement_cold:
cmp r10, rbx
jne .Lasm_Decrement.values_restore_stack_2
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_Decrement.skip_exceptional_output_5:
@@ -10320,7 +10330,7 @@ asm_handler_GetImportMeta:
bt rax, 32
jnc .Lasm_GetImportMeta.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -10359,7 +10369,7 @@ asm_handler_GetImport:
bt rax, 32
jnc .Lasm_GetImport.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -10398,7 +10408,7 @@ asm_handler_GetNewTarget:
bt rax, 32
jnc .Lasm_GetNewTarget.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -10437,7 +10447,7 @@ asm_handler_GetSuperConstructor:
bt rax, 32
jnc .Lasm_GetSuperConstructor.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -10479,7 +10489,7 @@ asm_handler_GetBinding_cold:
bt rax, 32
jnc .Lasm_GetBinding.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -10516,7 +10526,7 @@ asm_handler_DynamicGetBinding_cold:
bt rax, 32
jnc .Lasm_DynamicGetBinding.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -10555,7 +10565,7 @@ asm_handler_DynamicGetInitializedBinding_cold:
bt rax, 32
jnc .Lasm_DynamicGetInitializedBinding.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -10587,7 +10597,7 @@ asm_handler_DynamicInitializeLexicalBinding_cold:
.Lasm_DynamicInitializeLexicalBinding.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_DynamicInitializeLexicalBinding.scalar_value_ready_1:
mov rcx, rax
@@ -10625,7 +10635,7 @@ asm_handler_DynamicInitializeVariableBinding_cold:
.Lasm_DynamicInitializeVariableBinding.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_DynamicInitializeVariableBinding.scalar_value_ready_1:
mov rcx, rax
@@ -10663,7 +10673,7 @@ asm_handler_SetLexicalBinding_cold:
.Lasm_SetLexicalBinding.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_SetLexicalBinding.scalar_value_ready_4:
mov rcx, rax
@@ -10701,7 +10711,7 @@ asm_handler_SetVariableBinding_cold:
.Lasm_SetVariableBinding.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_SetVariableBinding.scalar_value_ready_4:
mov rcx, rax
@@ -10739,7 +10749,7 @@ asm_handler_DynamicSetLexicalBinding_cold:
.Lasm_DynamicSetLexicalBinding.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_DynamicSetLexicalBinding.scalar_value_ready_4:
mov rcx, rax
@@ -10776,7 +10786,7 @@ asm_handler_DynamicSetLexicalBinding_cold_end:
asm_handler_SetVariableBindingOfBlockFunction:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_SetVariableBindingOfBlockFunction.scalar_value_ready_0:
mov rcx, rax
@@ -10817,7 +10827,7 @@ asm_handler_DynamicSetVariableBinding_cold:
.Lasm_DynamicSetVariableBinding.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_DynamicSetVariableBinding.scalar_value_ready_4:
mov rcx, rax
@@ -10863,7 +10873,7 @@ asm_handler_ResolveBinding:
bt rax, 32
jnc .Lasm_ResolveBinding.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -10902,7 +10912,7 @@ asm_handler_ResolveSuperBase:
bt rax, 32
jnc .Lasm_ResolveSuperBase.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -10932,7 +10942,7 @@ asm_handler_ResolveSuperBase_cold_end:
asm_handler_GetResolvedBinding:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetResolvedBinding.scalar_value_ready_0:
mov rcx, rax
@@ -10945,7 +10955,7 @@ asm_handler_GetResolvedBinding:
bt rax, 32
jnc .Lasm_GetResolvedBinding.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -10975,11 +10985,11 @@ asm_handler_GetResolvedBinding_cold_end:
asm_handler_SetResolvedBinding:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_SetResolvedBinding.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_SetResolvedBinding.scalar_value_ready_1:
mov r8, rax
@@ -11028,7 +11038,7 @@ asm_handler_TypeofBinding:
bt rax, 32
jnc .Lasm_TypeofBinding.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -11067,7 +11077,7 @@ asm_handler_DynamicTypeofBinding:
bt rax, 32
jnc .Lasm_DynamicTypeofBinding.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -11106,7 +11116,7 @@ asm_handler_TypeofGlobal:
bt rax, 32
jnc .Lasm_TypeofGlobal.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -11172,7 +11182,7 @@ asm_handler_VerifyEnvironmentCoordinate_cold_end:
asm_handler_HasPrivateId:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_HasPrivateId.scalar_value_ready_0:
mov rcx, rax
@@ -11185,7 +11195,7 @@ asm_handler_HasPrivateId:
bt rax, 32
jnc .Lasm_HasPrivateId.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -11215,11 +11225,11 @@ asm_handler_HasPrivateId_cold_end:
asm_handler_SetFunctionName:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_SetFunctionName.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_SetFunctionName.scalar_value_ready_1:
mov r8, rax
@@ -11259,7 +11269,7 @@ asm_handler_SetFunctionName_cold_end:
asm_handler_NewArrayWithLength:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_NewArrayWithLength.scalar_value_ready_0:
mov rcx, rax
@@ -11272,7 +11282,7 @@ asm_handler_NewArrayWithLength:
bt rax, 32
jnc .Lasm_NewArrayWithLength.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -11302,11 +11312,11 @@ asm_handler_NewArrayWithLength_cold_end:
asm_handler_ArrayAppend:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ArrayAppend.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ArrayAppend.scalar_value_ready_1:
mov r8, rax
@@ -11382,7 +11392,7 @@ asm_handler_CreateVariable_cold_end:
asm_handler_EnterObjectEnvironment:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_EnterObjectEnvironment.scalar_value_ready_0:
mov rcx, rax
@@ -11395,7 +11405,7 @@ asm_handler_EnterObjectEnvironment:
bt rax, 32
jnc .Lasm_EnterObjectEnvironment.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -11431,16 +11441,16 @@ asm_handler_PostfixIncrement_cold:
movq xmm1, rax
addsd xmm0, xmm1
movq rax, xmm0
- movzx ecx, WORD PTR [r14 + r13 + 5]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov QWORD PTR [rbx + rcx * 8], rax
- add r13d, 7
+ add r13d, 5
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PostfixIncrement.ssa_block_2:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
sub rsp, 16
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PostfixIncrement.value_ready_1:
mov r8, rax
@@ -11454,11 +11464,11 @@ asm_handler_PostfixIncrement_cold:
bt rax, 32
jnc .Lasm_PostfixIncrement.values_exceptional_outputs_3
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_PostfixIncrement.skip_output_value_4:
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 4]
mov r11, QWORD PTR [rsp + 8]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_PostfixIncrement.skip_output_value_5:
@@ -11473,7 +11483,7 @@ asm_handler_PostfixIncrement_cold:
cmp r10, rbx
jne .Lasm_PostfixIncrement.values_restore_stack_2
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 4]
mov r11, QWORD PTR [rsp + 8]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_PostfixIncrement.skip_exceptional_output_6:
@@ -11500,13 +11510,13 @@ asm_handler_PostfixIncrement_cold_end:
asm_handler_Div_cold:
# Cold paths for Div
.Lasm_Div.ssa_block_1:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rcx
mov rcx, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -11576,13 +11586,13 @@ asm_handler_LessThan_cold:
jb .Lasm_LessThan.ssa_block_1
jmp .Lasm_LessThan.ssa_block_2
.Lasm_LessThan.ssa_block_3:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rcx
mov rcx, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -11649,13 +11659,13 @@ asm_handler_LessThanEquals_cold:
jbe .Lasm_LessThanEquals.ssa_block_1
jmp .Lasm_LessThanEquals.ssa_block_2
.Lasm_LessThanEquals.ssa_block_3:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rcx
mov rcx, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -11722,13 +11732,13 @@ asm_handler_GreaterThan_cold:
ja .Lasm_GreaterThan.ssa_block_1
jmp .Lasm_GreaterThan.ssa_block_2
.Lasm_GreaterThan.ssa_block_3:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rcx
mov rcx, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -11795,13 +11805,13 @@ asm_handler_GreaterThanEquals_cold:
jae .Lasm_GreaterThanEquals.ssa_block_1
jmp .Lasm_GreaterThanEquals.ssa_block_2
.Lasm_GreaterThanEquals.ssa_block_3:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rcx
mov rcx, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -11873,13 +11883,13 @@ asm_handler_BitwiseXor_cold:
mov edi, edi
jmp .Lasm_BitwiseXor.ssa_block_7
.Lasm_BitwiseXor.ssa_block_1:
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], ecx
mov rcx, rsi
mov r8, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -11919,9 +11929,9 @@ asm_handler_BitwiseXor_cold:
xor eax, edi
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_BitwiseXor_cold_end:
@@ -11933,7 +11943,7 @@ asm_handler_UnaryPlus_cold:
jne .Lasm_UnaryPlus.ssa_block_2
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_UnaryPlus.scalar_value_ready_0:
mov rcx, rax
@@ -11946,7 +11956,7 @@ asm_handler_UnaryPlus_cold:
bt rax, 32
jnc .Lasm_UnaryPlus.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -11969,9 +11979,9 @@ asm_handler_UnaryPlus_cold:
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_UnaryPlus.ssa_block_2:
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 7
+ add r13d, 5
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_UnaryPlus_cold_end:
@@ -11980,7 +11990,7 @@ asm_handler_ThrowIfTDZ_cold:
.Lasm_ThrowIfTDZ.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ThrowIfTDZ.scalar_value_ready_0:
mov rcx, rax
@@ -12018,7 +12028,7 @@ asm_handler_ThrowIfNotObject_cold:
.Lasm_ThrowIfNotObject.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ThrowIfNotObject.scalar_value_ready_0:
mov rcx, rax
@@ -12056,7 +12066,7 @@ asm_handler_ThrowIfNullish_cold:
.Lasm_ThrowIfNullish.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ThrowIfNullish.scalar_value_ready_0:
mov rcx, rax
@@ -12129,7 +12139,7 @@ asm_handler_ThrowConstAssignment_cold_end:
asm_handler_ThrowNotAFunction:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ThrowNotAFunction.scalar_value_ready_0:
mov rcx, rax
@@ -12178,7 +12188,7 @@ asm_handler_GetArgumentCount:
bt rax, 32
jnc .Lasm_GetArgumentCount.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -12208,7 +12218,7 @@ asm_handler_GetArgumentCount_cold_end:
asm_handler_Throw:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_Throw.scalar_value_ready_0:
mov rcx, rax
@@ -12284,7 +12294,7 @@ asm_handler_Debugger_cold_end:
asm_handler_Await:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_Await.scalar_value_ready_0:
mov rcx, rax
@@ -12324,7 +12334,7 @@ asm_handler_Await_cold_end:
asm_handler_Yield:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 6]
+ movzx r10d, BYTE PTR [r11 + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_Yield.scalar_value_ready_0:
mov rcx, rax
@@ -12364,7 +12374,7 @@ asm_handler_Yield_cold_end:
asm_handler_YieldIteratorResult:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_YieldIteratorResult.scalar_value_ready_0:
mov rcx, rax
@@ -12404,7 +12414,7 @@ asm_handler_YieldIteratorResult_cold_end:
asm_handler_ToString:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ToString.scalar_value_ready_0:
mov rcx, rax
@@ -12417,7 +12427,7 @@ asm_handler_ToString:
bt rax, 32
jnc .Lasm_ToString.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -12448,7 +12458,7 @@ asm_handler_ToPrimitiveWithStringHint_cold:
.Lasm_ToPrimitiveWithStringHint.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ToPrimitiveWithStringHint.scalar_value_ready_0:
mov rcx, rax
@@ -12461,7 +12471,7 @@ asm_handler_ToPrimitiveWithStringHint_cold:
bt rax, 32
jnc .Lasm_ToPrimitiveWithStringHint.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -12488,7 +12498,7 @@ asm_handler_ToPrimitiveWithStringHint_cold_end:
asm_handler_ToObject:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ToObject.scalar_value_ready_0:
mov rcx, rax
@@ -12501,7 +12511,7 @@ asm_handler_ToObject:
bt rax, 32
jnc .Lasm_ToObject.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -12531,7 +12541,7 @@ asm_handler_ToObject_cold_end:
asm_handler_ToLength:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ToLength.scalar_value_ready_0:
mov rcx, rax
@@ -12544,7 +12554,7 @@ asm_handler_ToLength:
bt rax, 32
jnc .Lasm_ToLength.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -12575,7 +12585,7 @@ asm_handler_BitwiseNot_cold:
.Lasm_BitwiseNot.ssa_block_2:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_BitwiseNot.scalar_value_ready_0:
mov rcx, rax
@@ -12588,7 +12598,7 @@ asm_handler_BitwiseNot_cold:
bt rax, 32
jnc .Lasm_BitwiseNot.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -12648,13 +12658,13 @@ asm_handler_BitwiseAnd_cold:
mov edi, edi
jmp .Lasm_BitwiseAnd.ssa_block_7
.Lasm_BitwiseAnd.ssa_block_1:
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], ecx
mov rcx, rsi
mov r8, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -12694,9 +12704,9 @@ asm_handler_BitwiseAnd_cold:
and eax, edi
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_BitwiseAnd_cold_end:
@@ -12737,13 +12747,13 @@ asm_handler_BitwiseOr_cold:
mov edi, edi
jmp .Lasm_BitwiseOr.ssa_block_7
.Lasm_BitwiseOr.ssa_block_1:
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], ecx
mov rcx, rsi
mov r8, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -12783,22 +12793,22 @@ asm_handler_BitwiseOr_cold:
or eax, edi
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_BitwiseOr_cold_end:
asm_handler_LeftShift_cold:
# Cold paths for LeftShift
.Lasm_LeftShift.ssa_block_1:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rcx
mov rcx, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -12836,13 +12846,13 @@ asm_handler_LeftShift_cold_end:
asm_handler_RightShift_cold:
# Cold paths for RightShift
.Lasm_RightShift.ssa_block_1:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rcx
mov rcx, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -12882,19 +12892,19 @@ asm_handler_UnsignedRightShift_cold:
.Lasm_UnsignedRightShift.ssa_block_2:
cvtsi2sd xmm0, rdx
movq rax, xmm0
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_UnsignedRightShift.ssa_block_1:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rcx
mov rcx, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -12932,7 +12942,7 @@ asm_handler_UnsignedRightShift_cold_end:
asm_handler_Mod_cold:
# Cold paths for Mod
.Lasm_Mod.ssa_block_2:
- movzx eax, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 5]
mov rax, QWORD PTR [rbx + rax * 8]
mov rdx, rcx
shr rdx, 48
@@ -12985,17 +12995,17 @@ asm_handler_Mod_cold:
jne .Lasm_Mod.ssa_block_5
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_Mod.ssa_block_5:
cvtsi2sd xmm0, rdx
movq rax, xmm0
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_Mod.ssa_block_3:
@@ -13004,27 +13014,27 @@ asm_handler_Mod_cold:
test rcx, rcx
js .Lasm_Mod.ssa_block_4
movabs rax, 9221683186994511872
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_Mod.ssa_block_4:
movabs r11, -9223372036854775808
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 9
+ add r13d, 6
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_Mod.ssa_block_1:
- movzx eax, WORD PTR [r14 + r13 + 7]
+ movzx eax, BYTE PTR [r14 + r13 + 5]
mov rdx, QWORD PTR [rbx + rax * 8]
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -13081,12 +13091,12 @@ asm_handler_StrictlyEquals_cold:
cmp ax, 65530
je .Lasm_StrictlyEquals.ssa_block_34
.Lasm_StrictlyEquals.ssa_block_1:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -13150,12 +13160,12 @@ asm_handler_StrictlyInequals_cold:
cmp ax, 65530
je .Lasm_StrictlyInequals.ssa_block_34
.Lasm_StrictlyInequals.ssa_block_1:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -13213,11 +13223,11 @@ asm_handler_GetCalleeAndThisFromEnvironment_cold:
bt rax, 32
jnc .Lasm_GetCalleeAndThisFromEnvironment.values_exceptional_outputs_3
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_GetCalleeAndThisFromEnvironment.skip_output_value_4:
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 4]
mov r11, QWORD PTR [rsp + 8]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_GetCalleeAndThisFromEnvironment.skip_output_value_5:
@@ -13262,11 +13272,11 @@ asm_handler_DynamicGetCalleeAndThisFromEnvironment_cold:
bt rax, 32
jnc .Lasm_DynamicGetCalleeAndThisFromEnvironment.values_exceptional_outputs_3
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_DynamicGetCalleeAndThisFromEnvironment.skip_output_value_4:
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 4]
mov r11, QWORD PTR [rsp + 8]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_DynamicGetCalleeAndThisFromEnvironment.skip_output_value_5:
@@ -13317,12 +13327,12 @@ asm_handler_LooselyEquals_cold:
cmp ax, 65530
je .Lasm_LooselyEquals.ssa_block_36
.Lasm_LooselyEquals.ssa_block_1:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -13386,12 +13396,12 @@ asm_handler_LooselyInequals_cold:
cmp ax, 65530
je .Lasm_LooselyInequals.ssa_block_36
.Lasm_LooselyInequals.ssa_block_1:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 9
+ mov r9d, 6
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -13441,7 +13451,7 @@ asm_handler_UnaryMinus_cold:
jne .Lasm_UnaryMinus.ssa_block_4
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_UnaryMinus.scalar_value_ready_0:
mov rcx, rax
@@ -13454,7 +13464,7 @@ asm_handler_UnaryMinus_cold:
bt rax, 32
jnc .Lasm_UnaryMinus.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -13478,9 +13488,9 @@ asm_handler_UnaryMinus_cold:
jmp [r12 + rax * 8]
.Lasm_UnaryMinus.ssa_block_4:
btc rax, 63
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 7
+ add r13d, 5
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_UnaryMinus.ssa_block_2:
@@ -13488,16 +13498,16 @@ asm_handler_UnaryMinus_cold:
neg rax
cvtsi2sd xmm0, rax
movq rax, xmm0
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 7
+ add r13d, 5
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_UnaryMinus.ssa_block_1:
movabs r11, -9223372036854775808
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 7
+ add r13d, 5
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_UnaryMinus_cold_end:
@@ -13511,16 +13521,16 @@ asm_handler_PostfixDecrement_cold:
movq xmm1, rax
subsd xmm0, xmm1
movq rax, xmm0
- movzx ecx, WORD PTR [r14 + r13 + 5]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov QWORD PTR [rbx + rcx * 8], rax
- add r13d, 7
+ add r13d, 5
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PostfixDecrement.ssa_block_2:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
sub rsp, 16
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PostfixDecrement.value_ready_1:
mov r8, rax
@@ -13534,11 +13544,11 @@ asm_handler_PostfixDecrement_cold:
bt rax, 32
jnc .Lasm_PostfixDecrement.values_exceptional_outputs_3
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_PostfixDecrement.skip_output_value_4:
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 4]
mov r11, QWORD PTR [rsp + 8]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_PostfixDecrement.skip_output_value_5:
@@ -13553,7 +13563,7 @@ asm_handler_PostfixDecrement_cold:
cmp r10, rbx
jne .Lasm_PostfixDecrement.values_restore_stack_2
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 4]
mov r11, QWORD PTR [rsp + 8]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_PostfixDecrement.skip_exceptional_output_6:
@@ -13580,7 +13590,7 @@ asm_handler_PostfixDecrement_cold_end:
asm_handler_ToInt32_cold:
# Cold paths for ToInt32
.Lasm_ToInt32.ssa_block_2:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rax, QWORD PTR [rbx + rax * 8]
mov rcx, rax
shr rcx, 48
@@ -13601,7 +13611,7 @@ asm_handler_ToInt32_cold:
.Lasm_ToInt32.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ToInt32.scalar_value_ready_0:
mov rcx, rax
@@ -13614,7 +13624,7 @@ asm_handler_ToInt32_cold:
bt rax, 32
jnc .Lasm_ToInt32.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -13641,9 +13651,9 @@ asm_handler_ToInt32_cold:
.Lasm_ToInt32.ssa_block_6:
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 7
+ add r13d, 5
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_ToInt32_cold_end:
@@ -13676,15 +13686,15 @@ asm_handler_PutByValue_cold:
.Lasm_PutByValue.ssa_block_6:
lea rcx, [r14 + r13]
sub rsp, 32
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValue.value_ready_5:
mov QWORD PTR [rsp], rax
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValue.value_ready_6:
mov QWORD PTR [rsp + 8], rax
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValue.value_ready_7:
mov QWORD PTR [rsp + 16], rax
@@ -13698,21 +13708,21 @@ asm_handler_PutByValue_cold:
.Lasm_PutByValue.values_call_done_4:
test eax, eax
jnz .Lasm_PutByValue.ssa_block_1
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutByValue.ssa_block_2:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValue.scalar_value_ready_9:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValue.scalar_value_ready_10:
mov r8, rax
- movzx r10d, WORD PTR [r11 + 7]
+ movzx r10d, BYTE PTR [r11 + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValue.scalar_value_ready_11:
mov r9, rax
@@ -13747,15 +13757,15 @@ asm_handler_PutByValue_cold:
.Lasm_PutByValue.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValue.scalar_value_ready_14:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValue.scalar_value_ready_15:
mov r8, rax
- movzx r10d, WORD PTR [r11 + 7]
+ movzx r10d, BYTE PTR [r11 + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValue.scalar_value_ready_16:
mov r9, rax
@@ -13790,15 +13800,15 @@ asm_handler_PutByValue_cold:
.Lasm_PutByValue.ssa_block_3:
lea rcx, [r14 + r13]
sub rsp, 32
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValue.value_ready_20:
mov QWORD PTR [rsp], rax
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValue.value_ready_21:
mov QWORD PTR [rsp + 8], rax
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValue.value_ready_22:
mov QWORD PTR [rsp + 16], rax
@@ -13812,21 +13822,21 @@ asm_handler_PutByValue_cold:
.Lasm_PutByValue.values_call_done_19:
test eax, eax
jnz .Lasm_PutByValue.ssa_block_1
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutByValue.ssa_block_5:
lea rcx, [r14 + r13]
sub rsp, 32
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValue.value_ready_25:
mov QWORD PTR [rsp], rax
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValue.value_ready_26:
mov QWORD PTR [rsp + 8], rax
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValue.value_ready_27:
mov QWORD PTR [rsp + 16], rax
@@ -13840,7 +13850,7 @@ asm_handler_PutByValue_cold:
.Lasm_PutByValue.values_call_done_24:
test eax, eax
jnz .Lasm_PutByValue.ssa_block_1
- add r13d, 17
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_PutByValue_cold_end:
@@ -13896,9 +13906,9 @@ asm_handler_GetById_cold:
movabs rcx, -1970324836974592
or rax, rcx
.Lasm_GetById.ssa_block_51:
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 13
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetById.ssa_block_25:
@@ -13975,7 +13985,7 @@ asm_handler_GetById_cold:
mov BYTE PTR [rax + 124], 0
mov BYTE PTR [rax + 125], 0
mov ecx, r13d
- movzx edx, WORD PTR [r14 + r13 + 3]
+ movzx edx, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx - 64], ecx
lea r11, [rbx - 128]
mov QWORD PTR [rax + 96], r11
@@ -14005,22 +14015,22 @@ asm_handler_GetById_cold:
lea r11, [rbx - 128]
mov QWORD PTR [rdx + 16], r11
lea rbx, [rcx + 128]
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 13
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetById.ssa_block_5:
movabs rax, 9222809086901354496
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 13
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetById.ssa_block_4:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetById.scalar_value_ready_11:
mov rcx, rax
@@ -14033,7 +14043,7 @@ asm_handler_GetById_cold:
bt rax, 32
jnc .Lasm_GetById.scalar_result_done_12
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -14081,7 +14091,7 @@ asm_handler_GetById_cold:
.Lasm_GetById.ssa_block_3:
lea rcx, [r14 + r13]
sub rsp, 16
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetById.value_ready_15:
mov QWORD PTR [rsp + 8], rax
@@ -14098,7 +14108,7 @@ asm_handler_GetById_cold:
test rax, rax
jne .Lasm_GetById.values_exceptional_outputs_17
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_GetById.skip_output_value_18:
@@ -14158,8 +14168,8 @@ asm_handler_GetById_cold:
mov rdx, QWORD PTR [rax + 152]
test rdx, rdx
jz .Lasm_GetById.assert_failure_21
- movzx eax, WORD PTR [r14 + r13 + 11]
- movzx ecx, WORD PTR [r14 + r13 + 5]
+ movzx eax, WORD PTR [r14 + r13 + 10]
+ movzx ecx, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rcx * 8]
shl rax, 3
add rdx, rax
@@ -14170,15 +14180,15 @@ asm_handler_GetById_cold:
shr r11, 48
cmp r11w, 32763
je .Lasm_GetById.ssa_block_2
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 13
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetById.ssa_block_14:
lea rcx, [r14 + r13]
sub rsp, 16
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetById.value_ready_23:
mov QWORD PTR [rsp + 8], rax
@@ -14195,7 +14205,7 @@ asm_handler_GetById_cold:
test rax, rax
jne .Lasm_GetById.values_exceptional_outputs_25
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_GetById.skip_output_value_26:
@@ -14206,13 +14216,13 @@ asm_handler_GetById_cold:
.Lasm_GetById.values_call_done_22:
test eax, eax
jnz .Lasm_GetById.ssa_block_2
- add r13d, 13
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetById.ssa_block_2:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetById.scalar_value_ready_27:
mov rcx, rax
@@ -14225,7 +14235,7 @@ asm_handler_GetById_cold:
bt rax, 32
jnc .Lasm_GetById.scalar_result_done_28
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -14254,11 +14264,11 @@ asm_handler_GetById_cold_end:
asm_handler_GetByIdWithThis:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetByIdWithThis.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 9]
+ movzx r10d, BYTE PTR [r11 + 8]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetByIdWithThis.scalar_value_ready_1:
mov r8, rax
@@ -14271,7 +14281,7 @@ asm_handler_GetByIdWithThis:
bt rax, 32
jnc .Lasm_GetByIdWithThis.scalar_result_done_2
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -14302,11 +14312,11 @@ asm_handler_PutById_cold:
.Lasm_PutById.ssa_block_2:
lea rcx, [r14 + r13]
sub rsp, 16
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutById.value_ready_4:
mov QWORD PTR [rsp], rax
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutById.value_ready_5:
mov QWORD PTR [rsp + 8], rax
@@ -14320,17 +14330,17 @@ asm_handler_PutById_cold:
.Lasm_PutById.values_call_done_3:
test eax, eax
jnz .Lasm_PutById.ssa_block_1
- add r13d, 15
+ add r13d, 14
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_PutById.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutById.scalar_value_ready_7:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutById.scalar_value_ready_8:
mov r8, rax
@@ -14367,15 +14377,15 @@ asm_handler_PutById_cold_end:
asm_handler_PutByIdWithThis:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByIdWithThis.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByIdWithThis.scalar_value_ready_1:
mov r8, rax
- movzx r10d, WORD PTR [r11 + 7]
+ movzx r10d, BYTE PTR [r11 + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByIdWithThis.scalar_value_ready_2:
mov r9, rax
@@ -14452,27 +14462,27 @@ asm_handler_GetByValue_cold:
shr r11, 48
cmp r11w, 65532
je .Lasm_GetByValue.ssa_block_2
- movzx r11d, WORD PTR [r14 + r13 + 5]
+ movzx r11d, BYTE PTR [r14 + r13 + 5]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 15
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetByValue.ssa_block_12:
cvtsi2sd xmm0, rax
movq rax, xmm0
- movzx r11d, WORD PTR [r14 + r13 + 5]
+ movzx r11d, BYTE PTR [r14 + r13 + 5]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 15
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetByValue.ssa_block_4:
lea rcx, [r14 + r13]
sub rsp, 32
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetByValue.value_ready_10:
mov QWORD PTR [rsp + 8], rax
- movzx r10d, WORD PTR [rcx + 9]
+ movzx r10d, BYTE PTR [rcx + 7]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetByValue.value_ready_11:
mov QWORD PTR [rsp + 16], rax
@@ -14489,7 +14499,7 @@ asm_handler_GetByValue_cold:
test rax, rax
jne .Lasm_GetByValue.values_exceptional_outputs_13
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 5]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_GetByValue.skip_output_value_14:
@@ -14500,17 +14510,17 @@ asm_handler_GetByValue_cold:
.Lasm_GetByValue.values_call_done_9:
test eax, eax
jnz .Lasm_GetByValue.ssa_block_1
- add r13d, 15
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetByValue.ssa_block_7:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 7]
+ movzx r10d, BYTE PTR [r11 + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetByValue.scalar_value_ready_15:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 9]
+ movzx r10d, BYTE PTR [r11 + 7]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetByValue.scalar_value_ready_16:
mov r8, rax
@@ -14523,7 +14533,7 @@ asm_handler_GetByValue_cold:
bt rax, 32
jnc .Lasm_GetByValue.scalar_result_done_17
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 5]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -14546,7 +14556,7 @@ asm_handler_GetByValue_cold:
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetByValue.ssa_block_6:
- movzx eax, WORD PTR [r14 + r13 + 9]
+ movzx eax, BYTE PTR [r14 + r13 + 7]
mov rax, QWORD PTR [rbx + rax * 8]
mov r11, rax
shr r11, 48
@@ -14555,11 +14565,11 @@ asm_handler_GetByValue_cold:
.Lasm_GetByValue.ssa_block_2:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 7]
+ movzx r10d, BYTE PTR [r11 + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetByValue.scalar_value_ready_19:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 9]
+ movzx r10d, BYTE PTR [r11 + 7]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetByValue.scalar_value_ready_20:
mov r8, rax
@@ -14572,7 +14582,7 @@ asm_handler_GetByValue_cold:
bt rax, 32
jnc .Lasm_GetByValue.scalar_result_done_21
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 5]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -14597,11 +14607,11 @@ asm_handler_GetByValue_cold:
.Lasm_GetByValue.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 7]
+ movzx r10d, BYTE PTR [r11 + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetByValue.scalar_value_ready_23:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 9]
+ movzx r10d, BYTE PTR [r11 + 7]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetByValue.scalar_value_ready_24:
mov r8, rax
@@ -14614,7 +14624,7 @@ asm_handler_GetByValue_cold:
bt rax, 32
jnc .Lasm_GetByValue.scalar_result_done_25
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 5]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -14639,11 +14649,11 @@ asm_handler_GetByValue_cold:
.Lasm_GetByValue.ssa_block_3:
lea rcx, [r14 + r13]
sub rsp, 32
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetByValue.value_ready_28:
mov QWORD PTR [rsp + 8], rax
- movzx r10d, WORD PTR [rcx + 9]
+ movzx r10d, BYTE PTR [rcx + 7]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetByValue.value_ready_29:
mov QWORD PTR [rsp + 16], rax
@@ -14660,7 +14670,7 @@ asm_handler_GetByValue_cold:
test rax, rax
jne .Lasm_GetByValue.values_exceptional_outputs_31
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 5]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_GetByValue.skip_output_value_32:
@@ -14671,7 +14681,7 @@ asm_handler_GetByValue_cold:
.Lasm_GetByValue.values_call_done_27:
test eax, eax
jnz .Lasm_GetByValue.ssa_block_1
- add r13d, 15
+ add r13d, 12
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetByValue.canon_nan_1:
@@ -14682,15 +14692,15 @@ asm_handler_GetByValue_cold_end:
asm_handler_GetByValueWithThis:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetByValueWithThis.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 7]
+ movzx r10d, BYTE PTR [r11 + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetByValueWithThis.scalar_value_ready_1:
mov r8, rax
- movzx r10d, WORD PTR [r11 + 9]
+ movzx r10d, BYTE PTR [r11 + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetByValueWithThis.scalar_value_ready_2:
mov r9, rax
@@ -14703,7 +14713,7 @@ asm_handler_GetByValueWithThis:
bt rax, 32
jnc .Lasm_GetByValueWithThis.scalar_result_done_3
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -14734,19 +14744,19 @@ asm_handler_PutByValueWithThis:
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValueWithThis.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValueWithThis.scalar_value_ready_1:
mov r8, rax
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValueWithThis.scalar_value_ready_2:
mov r9, rax
- movzx r10d, WORD PTR [r11 + 7]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutByValueWithThis.scalar_value_ready_3:
mov QWORD PTR [rsp], rax
@@ -14787,11 +14797,11 @@ asm_handler_PutByValueWithThis_cold_end:
asm_handler_PutBySpread:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutBySpread.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutBySpread.scalar_value_ready_1:
mov r8, rax
@@ -14832,15 +14842,15 @@ asm_handler_GetLength_cold:
.Lasm_GetLength.ssa_block_3:
cvtsi2sd xmm0, rax
movq rax, xmm0
- movzx r11d, WORD PTR [r14 + r13 + 5]
+ movzx r11d, BYTE PTR [r14 + r13 + 5]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 13
+ add r13d, 11
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_GetLength.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 7]
+ movzx r10d, BYTE PTR [r11 + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetLength.scalar_value_ready_3:
mov rcx, rax
@@ -14853,7 +14863,7 @@ asm_handler_GetLength_cold:
bt rax, 32
jnc .Lasm_GetLength.scalar_result_done_4
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 5]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -14880,11 +14890,11 @@ asm_handler_GetLength_cold_end:
asm_handler_GetLengthWithThis:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetLengthWithThis.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 7]
+ movzx r10d, BYTE PTR [r11 + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetLengthWithThis.scalar_value_ready_1:
mov r8, rax
@@ -14897,7 +14907,7 @@ asm_handler_GetLengthWithThis:
bt rax, 32
jnc .Lasm_GetLengthWithThis.scalar_result_done_2
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -14927,7 +14937,7 @@ asm_handler_GetLengthWithThis_cold_end:
asm_handler_GetMethod:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetMethod.scalar_value_ready_0:
mov rcx, rax
@@ -14940,7 +14950,7 @@ asm_handler_GetMethod:
bt rax, 32
jnc .Lasm_GetMethod.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -14971,7 +14981,7 @@ asm_handler_GetIterator:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
sub rsp, 32
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetIterator.value_ready_1:
mov r8, rax
@@ -14985,15 +14995,15 @@ asm_handler_GetIterator:
bt rax, 32
jnc .Lasm_GetIterator.values_exceptional_outputs_3
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_GetIterator.skip_output_value_4:
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 2]
mov r11, QWORD PTR [rsp + 8]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_GetIterator.skip_output_value_5:
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 3]
mov r11, QWORD PTR [rsp + 16]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_GetIterator.skip_output_value_6:
@@ -15039,7 +15049,7 @@ asm_handler_GetGlobal_cold:
bt rax, 32
jnc .Lasm_GetGlobal.scalar_result_done_4
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -15076,7 +15086,7 @@ asm_handler_ResolveGlobalBinding_cold:
bt rax, 32
jnc .Lasm_ResolveGlobalBinding.scalar_result_done_2
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -15104,7 +15114,7 @@ asm_handler_SetGlobal_cold:
.Lasm_SetGlobal.ssa_block_1:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_SetGlobal.scalar_value_ready_7:
mov rcx, rax
@@ -15165,7 +15175,7 @@ asm_handler_Call_cold:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
mov r11, rsp
- mov r10d, DWORD PTR [rcx + 11]
+ movzx r10d, BYTE PTR [rcx + 8]
shl r10, 3
add r10, 55
and r10, -16
@@ -15192,20 +15202,20 @@ asm_handler_Call_cold:
.Lasm_Call.values_allocated_35:
mov rsp, rax
mov QWORD PTR [rsp], r11
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_Call.value_ready_36:
mov QWORD PTR [rsp + 24], rax
- movzx r10d, WORD PTR [rcx + 9]
+ movzx r10d, BYTE PTR [rcx + 7]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_Call.value_ready_37:
mov QWORD PTR [rsp + 32], rax
mov r11d, 0
- mov r10d, DWORD PTR [rcx + 11]
+ movzx r10d, BYTE PTR [rcx + 8]
.Lasm_Call.array_value_next_38:
cmp r11, r10
jae .Lasm_Call.array_values_end_40
- movzx edx, WORD PTR [rcx + r11 * 2 + 17]
+ movzx edx, BYTE PTR [rcx + r11 + 11]
mov rax, QWORD PTR [rbx + rdx * 8]
.Lasm_Call.array_value_ready_39:
mov QWORD PTR [rsp + r11 * 8 + 40], rax
@@ -15222,7 +15232,7 @@ asm_handler_Call_cold:
bt rax, 32
jnc .Lasm_Call.values_exceptional_outputs_42
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 5]
mov r11, QWORD PTR [rsp + 16]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_Call.skip_output_value_43:
@@ -15258,7 +15268,7 @@ asm_handler_GetObjectPropertyIterator:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
sub rsp, 32
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetObjectPropertyIterator.value_ready_1:
mov r8, rax
@@ -15272,11 +15282,11 @@ asm_handler_GetObjectPropertyIterator:
bt rax, 32
jnc .Lasm_GetObjectPropertyIterator.values_exceptional_outputs_3
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_GetObjectPropertyIterator.skip_output_value_4:
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 2]
mov r11, QWORD PTR [rsp + 8]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_GetObjectPropertyIterator.skip_output_value_5:
@@ -15314,15 +15324,15 @@ asm_handler_ObjectPropertyIteratorNext_cold:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
sub rsp, 64
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ObjectPropertyIteratorNext.value_ready_2:
mov r8, rax
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ObjectPropertyIteratorNext.value_ready_3:
mov r9, rax
- movzx r10d, WORD PTR [rcx + 9]
+ movzx r10d, BYTE PTR [rcx + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_ObjectPropertyIteratorNext.value_ready_4:
mov QWORD PTR [rsp], rax
@@ -15336,15 +15346,15 @@ asm_handler_ObjectPropertyIteratorNext_cold:
bt rax, 32
jnc .Lasm_ObjectPropertyIteratorNext.values_exceptional_outputs_6
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov r11, QWORD PTR [rsp + 16]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_ObjectPropertyIteratorNext.skip_output_value_7:
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 2]
mov r11, QWORD PTR [rsp + 24]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_ObjectPropertyIteratorNext.skip_output_value_8:
- movzx r10d, WORD PTR [rcx + 9]
+ movzx r10d, BYTE PTR [rcx + 5]
mov r11, QWORD PTR [rsp + 48]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_ObjectPropertyIteratorNext.skip_output_value_9:
@@ -15359,7 +15369,7 @@ asm_handler_ObjectPropertyIteratorNext_cold:
cmp r10, rbx
jne .Lasm_ObjectPropertyIteratorNext.values_restore_stack_5
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 9]
+ movzx r10d, BYTE PTR [rcx + 5]
mov r11, QWORD PTR [rsp + 48]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_ObjectPropertyIteratorNext.skip_exceptional_output_10:
@@ -15389,19 +15399,19 @@ asm_handler_IteratorClose_cold:
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorClose.scalar_value_ready_1:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorClose.scalar_value_ready_2:
mov r8, rax
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorClose.scalar_value_ready_3:
mov r9, rax
- movzx r10d, WORD PTR [r11 + 11]
+ movzx r10d, BYTE PTR [r11 + 8]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorClose.scalar_value_ready_4:
mov QWORD PTR [rsp], rax
@@ -15440,15 +15450,15 @@ asm_handler_IteratorNext:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
sub rsp, 48
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorNext.value_ready_1:
mov r8, rax
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorNext.value_ready_2:
mov r9, rax
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorNext.value_ready_3:
mov QWORD PTR [rsp], rax
@@ -15462,11 +15472,11 @@ asm_handler_IteratorNext:
bt rax, 32
jnc .Lasm_IteratorNext.values_exceptional_outputs_5
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov r11, QWORD PTR [rsp + 16]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorNext.skip_output_value_6:
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 4]
mov r11, QWORD PTR [rsp + 40]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorNext.skip_output_value_7:
@@ -15481,7 +15491,7 @@ asm_handler_IteratorNext:
cmp r10, rbx
jne .Lasm_IteratorNext.values_restore_stack_4
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 4]
mov r11, QWORD PTR [rsp + 40]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorNext.skip_exceptional_output_8:
@@ -15513,15 +15523,15 @@ asm_handler_IteratorStep:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
sub rsp, 48
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorStep.value_ready_1:
mov r8, rax
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorStep.value_ready_2:
mov r9, rax
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorStep.value_ready_3:
mov QWORD PTR [rsp], rax
@@ -15535,15 +15545,15 @@ asm_handler_IteratorStep:
bt rax, 32
jnc .Lasm_IteratorStep.values_exceptional_outputs_5
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov r11, QWORD PTR [rsp + 16]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorStep.skip_output_value_6:
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 2]
mov r11, QWORD PTR [rsp + 24]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorStep.skip_output_value_7:
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 4]
mov r11, QWORD PTR [rsp + 40]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorStep.skip_output_value_8:
@@ -15558,12 +15568,12 @@ asm_handler_IteratorStep:
cmp r10, rbx
jne .Lasm_IteratorStep.values_restore_stack_4
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 2]
mov r11, QWORD PTR [rsp + 24]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorStep.skip_exceptional_output_9:
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 4]
mov r11, QWORD PTR [rsp + 40]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorStep.skip_exceptional_output_10:
@@ -15596,15 +15606,15 @@ asm_handler_IteratorNextUnpack_cold:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
sub rsp, 64
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorNextUnpack.value_ready_1:
mov r8, rax
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorNextUnpack.value_ready_2:
mov r9, rax
- movzx r10d, WORD PTR [rcx + 9]
+ movzx r10d, BYTE PTR [rcx + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorNextUnpack.value_ready_3:
mov QWORD PTR [rsp], rax
@@ -15618,19 +15628,19 @@ asm_handler_IteratorNextUnpack_cold:
bt rax, 32
jnc .Lasm_IteratorNextUnpack.values_exceptional_outputs_5
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov r11, QWORD PTR [rsp + 16]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorNextUnpack.skip_output_value_6:
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 2]
mov r11, QWORD PTR [rsp + 24]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorNextUnpack.skip_output_value_7:
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 3]
mov r11, QWORD PTR [rsp + 32]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorNextUnpack.skip_output_value_8:
- movzx r10d, WORD PTR [rcx + 9]
+ movzx r10d, BYTE PTR [rcx + 5]
mov r11, QWORD PTR [rsp + 48]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorNextUnpack.skip_output_value_9:
@@ -15645,12 +15655,12 @@ asm_handler_IteratorNextUnpack_cold:
cmp r10, rbx
jne .Lasm_IteratorNextUnpack.values_restore_stack_4
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 3]
mov r11, QWORD PTR [rsp + 32]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorNextUnpack.skip_exceptional_output_10:
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 9]
+ movzx r10d, BYTE PTR [rcx + 5]
mov r11, QWORD PTR [rsp + 48]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorNextUnpack.skip_exceptional_output_11:
@@ -15679,15 +15689,15 @@ asm_handler_IteratorToArray:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
sub rsp, 48
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorToArray.value_ready_1:
mov r8, rax
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorToArray.value_ready_2:
mov r9, rax
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IteratorToArray.value_ready_3:
mov QWORD PTR [rsp], rax
@@ -15701,11 +15711,11 @@ asm_handler_IteratorToArray:
bt rax, 32
jnc .Lasm_IteratorToArray.values_exceptional_outputs_5
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov r11, QWORD PTR [rsp + 16]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorToArray.skip_output_value_6:
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 4]
mov r11, QWORD PTR [rsp + 40]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorToArray.skip_output_value_7:
@@ -15720,7 +15730,7 @@ asm_handler_IteratorToArray:
cmp r10, rbx
jne .Lasm_IteratorToArray.values_restore_stack_4
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 4]
mov r11, QWORD PTR [rsp + 40]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_IteratorToArray.skip_exceptional_output_8:
@@ -15752,7 +15762,7 @@ asm_handler_CallConstruct:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
mov r11, rsp
- mov r10d, DWORD PTR [rcx + 9]
+ movzx r10d, BYTE PTR [rcx + 7]
shl r10, 3
add r10, 47
and r10, -16
@@ -15779,16 +15789,16 @@ asm_handler_CallConstruct:
.Lasm_CallConstruct.values_allocated_3:
mov rsp, rax
mov QWORD PTR [rsp], r11
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CallConstruct.value_ready_4:
mov QWORD PTR [rsp + 24], rax
mov r11d, 0
- mov r10d, DWORD PTR [rcx + 9]
+ movzx r10d, BYTE PTR [rcx + 7]
.Lasm_CallConstruct.array_value_next_5:
cmp r11, r10
jae .Lasm_CallConstruct.array_values_end_7
- movzx edx, WORD PTR [rcx + r11 * 2 + 15]
+ movzx edx, BYTE PTR [rcx + r11 + 10]
mov rax, QWORD PTR [rbx + rdx * 8]
.Lasm_CallConstruct.array_value_ready_6:
mov QWORD PTR [rsp + r11 * 8 + 32], rax
@@ -15805,7 +15815,7 @@ asm_handler_CallConstruct:
bt rax, 32
jnc .Lasm_CallConstruct.values_exceptional_outputs_9
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 5]
mov r11, QWORD PTR [rsp + 16]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_CallConstruct.skip_output_value_10:
@@ -15842,7 +15852,7 @@ asm_handler_CallDirectEval:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
mov r11, rsp
- mov r10d, DWORD PTR [rcx + 11]
+ movzx r10d, BYTE PTR [rcx + 8]
shl r10, 3
add r10, 55
and r10, -16
@@ -15869,20 +15879,20 @@ asm_handler_CallDirectEval:
.Lasm_CallDirectEval.values_allocated_3:
mov rsp, rax
mov QWORD PTR [rsp], r11
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CallDirectEval.value_ready_4:
mov QWORD PTR [rsp + 24], rax
- movzx r10d, WORD PTR [rcx + 9]
+ movzx r10d, BYTE PTR [rcx + 7]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CallDirectEval.value_ready_5:
mov QWORD PTR [rsp + 32], rax
mov r11d, 0
- mov r10d, DWORD PTR [rcx + 11]
+ movzx r10d, BYTE PTR [rcx + 8]
.Lasm_CallDirectEval.array_value_next_6:
cmp r11, r10
jae .Lasm_CallDirectEval.array_values_end_8
- movzx edx, WORD PTR [rcx + r11 * 2 + 17]
+ movzx edx, BYTE PTR [rcx + r11 + 11]
mov rax, QWORD PTR [rbx + rdx * 8]
.Lasm_CallDirectEval.array_value_ready_7:
mov QWORD PTR [rsp + r11 * 8 + 40], rax
@@ -15899,7 +15909,7 @@ asm_handler_CallDirectEval:
bt rax, 32
jnc .Lasm_CallDirectEval.values_exceptional_outputs_10
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 5]
mov r11, QWORD PTR [rsp + 16]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_CallDirectEval.skip_output_value_11:
@@ -15935,15 +15945,15 @@ asm_handler_CallDirectEval_cold_end:
asm_handler_CallWithArgumentArray:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 7]
+ movzx r10d, BYTE PTR [r11 + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CallWithArgumentArray.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 9]
+ movzx r10d, BYTE PTR [r11 + 7]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CallWithArgumentArray.scalar_value_ready_1:
mov r8, rax
- movzx r10d, WORD PTR [r11 + 11]
+ movzx r10d, BYTE PTR [r11 + 8]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CallWithArgumentArray.scalar_value_ready_2:
mov r9, rax
@@ -15956,7 +15966,7 @@ asm_handler_CallWithArgumentArray:
bt rax, 32
jnc .Lasm_CallWithArgumentArray.scalar_result_done_3
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 5]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -15986,15 +15996,15 @@ asm_handler_CallWithArgumentArray_cold_end:
asm_handler_CallDirectEvalWithArgumentArray:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 7]
+ movzx r10d, BYTE PTR [r11 + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CallDirectEvalWithArgumentArray.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 9]
+ movzx r10d, BYTE PTR [r11 + 7]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CallDirectEvalWithArgumentArray.scalar_value_ready_1:
mov r8, rax
- movzx r10d, WORD PTR [r11 + 11]
+ movzx r10d, BYTE PTR [r11 + 8]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CallDirectEvalWithArgumentArray.scalar_value_ready_2:
mov r9, rax
@@ -16007,7 +16017,7 @@ asm_handler_CallDirectEvalWithArgumentArray:
bt rax, 32
jnc .Lasm_CallDirectEvalWithArgumentArray.scalar_result_done_3
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 5]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -16037,15 +16047,15 @@ asm_handler_CallDirectEvalWithArgumentArray_cold_end:
asm_handler_CallConstructWithArgumentArray:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 7]
+ movzx r10d, BYTE PTR [r11 + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CallConstructWithArgumentArray.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 9]
+ movzx r10d, BYTE PTR [r11 + 7]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CallConstructWithArgumentArray.scalar_value_ready_1:
mov r8, rax
- movzx r10d, WORD PTR [r11 + 11]
+ movzx r10d, BYTE PTR [r11 + 8]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CallConstructWithArgumentArray.scalar_value_ready_2:
mov r9, rax
@@ -16058,7 +16068,7 @@ asm_handler_CallConstructWithArgumentArray:
bt rax, 32
jnc .Lasm_CallConstructWithArgumentArray.scalar_result_done_3
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 5]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -16088,11 +16098,11 @@ asm_handler_CallConstructWithArgumentArray_cold_end:
asm_handler_SuperCallWithArgumentArray:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 7]
+ movzx r10d, BYTE PTR [r11 + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_SuperCallWithArgumentArray.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 9]
+ movzx r10d, BYTE PTR [r11 + 7]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_SuperCallWithArgumentArray.scalar_value_ready_1:
mov r8, rax
@@ -16105,7 +16115,7 @@ asm_handler_SuperCallWithArgumentArray:
bt rax, 32
jnc .Lasm_SuperCallWithArgumentArray.scalar_result_done_2
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 5]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -16144,7 +16154,7 @@ asm_handler_NewObject:
bt rax, 32
jnc .Lasm_NewObject.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -16183,7 +16193,7 @@ asm_handler_NewObjectWithNoPrototype:
bt rax, 32
jnc .Lasm_NewObjectWithNoPrototype.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -16213,7 +16223,7 @@ asm_handler_NewObjectWithNoPrototype_cold_end:
asm_handler_CacheObjectShape:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CacheObjectShape.scalar_value_ready_0:
mov rcx, rax
@@ -16253,11 +16263,11 @@ asm_handler_CacheObjectShape_cold_end:
asm_handler_InitObjectLiteralProperty:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_InitObjectLiteralProperty.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_InitObjectLiteralProperty.scalar_value_ready_1:
mov r8, rax
@@ -16298,7 +16308,7 @@ asm_handler_NewArray:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
mov r11, rsp
- mov r10d, DWORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 2]
shl r10, 3
add r10, 39
and r10, -16
@@ -16326,11 +16336,11 @@ asm_handler_NewArray:
mov rsp, rax
mov QWORD PTR [rsp], r11
mov r11d, 0
- mov r10d, DWORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 2]
.Lasm_NewArray.array_value_next_4:
cmp r11, r10
jae .Lasm_NewArray.array_values_end_6
- movzx edx, WORD PTR [rcx + r11 * 2 + 7]
+ movzx edx, BYTE PTR [rcx + r11 + 3]
mov rax, QWORD PTR [rbx + rdx * 8]
.Lasm_NewArray.array_value_ready_5:
mov QWORD PTR [rsp + r11 * 8 + 24], rax
@@ -16347,7 +16357,7 @@ asm_handler_NewArray:
bt rax, 32
jnc .Lasm_NewArray.values_exceptional_outputs_8
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov r11, QWORD PTR [rsp + 16]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_NewArray.skip_output_value_9:
@@ -16392,7 +16402,7 @@ asm_handler_NewPrimitiveArray:
bt rax, 32
jnc .Lasm_NewPrimitiveArray.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -16431,7 +16441,7 @@ asm_handler_NewRegExp:
bt rax, 32
jnc .Lasm_NewRegExp.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -16470,7 +16480,7 @@ asm_handler_NewReferenceError:
bt rax, 32
jnc .Lasm_NewReferenceError.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -16509,7 +16519,7 @@ asm_handler_NewTypeError:
bt rax, 32
jnc .Lasm_NewTypeError.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -16539,11 +16549,11 @@ asm_handler_NewTypeError_cold_end:
asm_handler_InstanceOf:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_InstanceOf.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_InstanceOf.scalar_value_ready_1:
mov r8, rax
@@ -16556,7 +16566,7 @@ asm_handler_InstanceOf:
bt rax, 32
jnc .Lasm_InstanceOf.scalar_result_done_2
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -16586,11 +16596,11 @@ asm_handler_InstanceOf_cold_end:
asm_handler_In:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_In.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_In.scalar_value_ready_1:
mov r8, rax
@@ -16603,7 +16613,7 @@ asm_handler_In:
bt rax, 32
jnc .Lasm_In.scalar_result_done_2
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -16635,7 +16645,7 @@ asm_handler_IsCallable_cold_end:
asm_handler_IsConstructor:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_IsConstructor.scalar_value_ready_0:
mov rcx, rax
@@ -16648,7 +16658,7 @@ asm_handler_IsConstructor:
bt rax, 32
jnc .Lasm_IsConstructor.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -16714,15 +16724,15 @@ asm_handler_AddPrivateName_cold_end:
asm_handler_CreateAsyncFromSyncIterator:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CreateAsyncFromSyncIterator.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CreateAsyncFromSyncIterator.scalar_value_ready_1:
mov r8, rax
- movzx r10d, WORD PTR [r11 + 7]
+ movzx r10d, BYTE PTR [r11 + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CreateAsyncFromSyncIterator.scalar_value_ready_2:
mov r9, rax
@@ -16735,7 +16745,7 @@ asm_handler_CreateAsyncFromSyncIterator:
bt rax, 32
jnc .Lasm_CreateAsyncFromSyncIterator.scalar_result_done_3
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -16765,15 +16775,15 @@ asm_handler_CreateAsyncFromSyncIterator_cold_end:
asm_handler_CreateDataPropertyOrThrow:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CreateDataPropertyOrThrow.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CreateDataPropertyOrThrow.scalar_value_ready_1:
mov r8, rax
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CreateDataPropertyOrThrow.scalar_value_ready_2:
mov r9, rax
@@ -16813,7 +16823,7 @@ asm_handler_CreateDataPropertyOrThrow_cold_end:
asm_handler_CreateImmutableBinding:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CreateImmutableBinding.scalar_value_ready_0:
mov rcx, rax
@@ -16853,7 +16863,7 @@ asm_handler_CreateImmutableBinding_cold_end:
asm_handler_CreateMutableBinding:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CreateMutableBinding.scalar_value_ready_0:
mov rcx, rax
@@ -16902,7 +16912,7 @@ asm_handler_CreateRestParams:
bt rax, 32
jnc .Lasm_CreateRestParams.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -16943,8 +16953,8 @@ asm_handler_CreateArguments:
bt rax, 32
jnc .Lasm_CreateArguments.values_exceptional_outputs_2
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
- cmp r10d, 65535
+ movzx r10d, BYTE PTR [rcx + 1]
+ cmp r10d, 255
je .Lasm_CreateArguments.skip_output_value_3
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
@@ -16981,7 +16991,7 @@ asm_handler_CreateArguments_cold_end:
asm_handler_CreateLexicalEnvironment:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_CreateLexicalEnvironment.scalar_value_ready_0:
mov rcx, rax
@@ -16994,7 +17004,7 @@ asm_handler_CreateLexicalEnvironment:
bt rax, 32
jnc .Lasm_CreateLexicalEnvironment.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -17096,7 +17106,7 @@ asm_handler_CreateVariableEnvironment_cold_end:
asm_handler_DeleteById:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_DeleteById.scalar_value_ready_0:
mov rcx, rax
@@ -17109,7 +17119,7 @@ asm_handler_DeleteById:
bt rax, 32
jnc .Lasm_DeleteById.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -17139,11 +17149,11 @@ asm_handler_DeleteById_cold_end:
asm_handler_DeleteByValue:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_DeleteByValue.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_DeleteByValue.scalar_value_ready_1:
mov r8, rax
@@ -17156,7 +17166,7 @@ asm_handler_DeleteByValue:
bt rax, 32
jnc .Lasm_DeleteByValue.scalar_result_done_2
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -17195,7 +17205,7 @@ asm_handler_DeleteVariable:
bt rax, 32
jnc .Lasm_DeleteVariable.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -17234,7 +17244,7 @@ asm_handler_NewDisposableResourceStack:
bt rax, 32
jnc .Lasm_NewDisposableResourceStack.scalar_result_done_0
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -17264,11 +17274,11 @@ asm_handler_NewDisposableResourceStack_cold_end:
asm_handler_AddDisposableResource:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_AddDisposableResource.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_AddDisposableResource.scalar_value_ready_1:
mov r8, rax
@@ -17308,15 +17318,15 @@ asm_handler_AddDisposableResource_cold_end:
asm_handler_DisposeResources:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_DisposeResources.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_DisposeResources.scalar_value_ready_1:
mov r8, rax
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_DisposeResources.scalar_value_ready_2:
mov r9, rax
@@ -17357,23 +17367,23 @@ asm_handler_AsyncDisposeResourcesStep:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
sub rsp, 96
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_AsyncDisposeResourcesStep.value_ready_1:
mov r8, rax
- movzx r10d, WORD PTR [rcx + 7]
+ movzx r10d, BYTE PTR [rcx + 4]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_AsyncDisposeResourcesStep.value_ready_2:
mov r9, rax
- movzx r10d, WORD PTR [rcx + 9]
+ movzx r10d, BYTE PTR [rcx + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_AsyncDisposeResourcesStep.value_ready_3:
mov QWORD PTR [rsp], rax
- movzx r10d, WORD PTR [rcx + 11]
+ movzx r10d, BYTE PTR [rcx + 6]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_AsyncDisposeResourcesStep.value_ready_4:
mov QWORD PTR [rsp + 8], rax
- movzx r10d, WORD PTR [rcx + 13]
+ movzx r10d, BYTE PTR [rcx + 7]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_AsyncDisposeResourcesStep.value_ready_5:
mov QWORD PTR [rsp + 16], rax
@@ -17387,11 +17397,11 @@ asm_handler_AsyncDisposeResourcesStep:
bt rax, 32
jnc .Lasm_AsyncDisposeResourcesStep.values_exceptional_outputs_7
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov r11, QWORD PTR [rsp + 32]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_AsyncDisposeResourcesStep.skip_output_value_8:
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 2]
mov r11, QWORD PTR [rsp + 40]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_AsyncDisposeResourcesStep.skip_output_value_9:
@@ -17428,7 +17438,7 @@ asm_handler_GetCompletionFields:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
sub rsp, 32
- movzx r10d, WORD PTR [rcx + 5]
+ movzx r10d, BYTE PTR [rcx + 3]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetCompletionFields.value_ready_1:
mov r8, rax
@@ -17442,11 +17452,11 @@ asm_handler_GetCompletionFields:
bt rax, 32
jnc .Lasm_GetCompletionFields.values_exceptional_outputs_3
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov r11, QWORD PTR [rsp]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_GetCompletionFields.skip_output_value_4:
- movzx r10d, WORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 2]
mov r11, QWORD PTR [rsp + 8]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_GetCompletionFields.skip_output_value_5:
@@ -17482,7 +17492,7 @@ asm_handler_GetCompletionFields_cold_end:
asm_handler_SetCompletionType:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_SetCompletionType.scalar_value_ready_0:
mov rcx, rax
@@ -17523,7 +17533,7 @@ asm_handler_GetTemplateObject:
mov DWORD PTR [rbx + -64], r13d
lea rcx, [r14 + r13]
mov r11, rsp
- mov r10d, DWORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
shl r10, 3
add r10, 39
and r10, -16
@@ -17551,11 +17561,11 @@ asm_handler_GetTemplateObject:
mov rsp, rax
mov QWORD PTR [rsp], r11
mov r11d, 0
- mov r10d, DWORD PTR [rcx + 3]
+ movzx r10d, BYTE PTR [rcx + 3]
.Lasm_GetTemplateObject.array_value_next_4:
cmp r11, r10
jae .Lasm_GetTemplateObject.array_values_end_6
- movzx edx, WORD PTR [rcx + r11 * 2 + 11]
+ movzx edx, BYTE PTR [rcx + r11 + 8]
mov rax, QWORD PTR [rbx + rdx * 8]
.Lasm_GetTemplateObject.array_value_ready_5:
mov QWORD PTR [rsp + r11 * 8 + 24], rax
@@ -17572,7 +17582,7 @@ asm_handler_GetTemplateObject:
bt rax, 32
jnc .Lasm_GetTemplateObject.values_exceptional_outputs_8
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov r11, QWORD PTR [rsp + 16]
mov QWORD PTR [rbx + r10 * 8], r11
.Lasm_GetTemplateObject.skip_output_value_9:
@@ -17608,9 +17618,9 @@ asm_handler_GetTemplateObject_cold_end:
asm_handler_NewFunction:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 9]
+ movzx r10d, BYTE PTR [r11 + 9]
movabs rax, 9221964661971222528
- cmp r10d, 65535
+ cmp r10d, 255
je .Lasm_NewFunction.scalar_value_ready_0
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_NewFunction.scalar_value_ready_0:
@@ -17624,7 +17634,7 @@ asm_handler_NewFunction:
bt rax, 32
jnc .Lasm_NewFunction.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -17654,7 +17664,7 @@ asm_handler_NewFunction_cold_end:
asm_handler_Typeof:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_Typeof.scalar_value_ready_0:
mov rcx, rax
@@ -17667,7 +17677,7 @@ asm_handler_Typeof:
bt rax, 32
jnc .Lasm_Typeof.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -17733,7 +17743,7 @@ asm_handler_ResolveThisBinding_cold_end:
asm_handler_GetPrivateById:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 3]
+ movzx r10d, BYTE PTR [r11 + 2]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_GetPrivateById.scalar_value_ready_0:
mov rcx, rax
@@ -17746,7 +17756,7 @@ asm_handler_GetPrivateById:
bt rax, 32
jnc .Lasm_GetPrivateById.scalar_result_done_1
lea rcx, [r14 + r13]
- movzx r10d, WORD PTR [rcx + 1]
+ movzx r10d, BYTE PTR [rcx + 1]
mov QWORD PTR [rbx + r10 * 8], rdx
mov r13d, eax
movzx eax, BYTE PTR [r14 + r13]
@@ -17776,11 +17786,11 @@ asm_handler_GetPrivateById_cold_end:
asm_handler_PutPrivateById:
mov DWORD PTR [rbx + -64], r13d
lea r11, [r14 + r13]
- movzx r10d, WORD PTR [r11 + 1]
+ movzx r10d, BYTE PTR [r11 + 1]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutPrivateById.scalar_value_ready_0:
mov rcx, rax
- movzx r10d, WORD PTR [r11 + 5]
+ movzx r10d, BYTE PTR [r11 + 5]
mov rax, QWORD PTR [rbx + r10 * 8]
.Lasm_PutPrivateById.scalar_value_ready_1:
mov r8, rax
@@ -17824,16 +17834,16 @@ asm_handler_AddLhsInt32_cold:
and ax, 32760
cmp ax, 32760
jne .Lasm_AddLhsInt32.ssa_block_5
- mov edx, DWORD PTR [r14 + r13 + 5]
+ mov edx, DWORD PTR [r14 + r13 + 4]
movabs r11, 9221683186994511872
or rdx, r11
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rcx
mov rcx, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -17869,7 +17879,7 @@ asm_handler_AddLhsInt32_cold:
jmp [r12 + rax * 8]
.Lasm_AddLhsInt32.ssa_block_5:
movq xmm1, rcx
- mov eax, DWORD PTR [r14 + r13 + 5]
+ mov eax, DWORD PTR [r14 + r13 + 4]
cvtsi2sd xmm0, eax
addsd xmm0, xmm1
cvttsd2si edx, xmm0
@@ -17898,21 +17908,21 @@ asm_handler_AddLhsInt32_cold:
jp .Lasm_AddLhsInt32.canon_nan_2
.Lasm_AddLhsInt32.canon_nan_2_ret:
.Lasm_AddLhsInt32.ssa_box_number_6_done:
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_AddLhsInt32.ssa_block_8:
movsxd rax, ecx
- mov ecx, DWORD PTR [r14 + r13 + 5]
+ mov ecx, DWORD PTR [r14 + r13 + 4]
cvtsi2sd xmm0, ecx
cvtsi2sd xmm1, eax
addsd xmm0, xmm1
movq rax, xmm0
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_AddLhsInt32.canon_nan_2:
@@ -17922,16 +17932,16 @@ asm_handler_AddLhsInt32_cold_end:
asm_handler_AddRhsInt32_cold:
# Cold paths for AddRhsInt32
.Lasm_AddRhsInt32.ssa_checked_6_failure:
- sub ecx, DWORD PTR [r14 + r13 + 7]
+ sub ecx, DWORD PTR [r14 + r13 + 5]
movsxd rax, ecx
- mov ecx, DWORD PTR [r14 + r13 + 7]
+ mov ecx, DWORD PTR [r14 + r13 + 5]
cvtsi2sd xmm0, eax
cvtsi2sd xmm1, ecx
addsd xmm0, xmm1
movq rax, xmm0
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_AddRhsInt32.ssa_block_5:
@@ -17939,7 +17949,7 @@ asm_handler_AddRhsInt32_cold:
cmp ax, 32760
je .Lasm_AddRhsInt32.ssa_block_1
movq xmm0, rcx
- mov eax, DWORD PTR [r14 + r13 + 7]
+ mov eax, DWORD PTR [r14 + r13 + 5]
cvtsi2sd xmm1, eax
addsd xmm0, xmm1
cvttsd2si edx, xmm0
@@ -17968,21 +17978,21 @@ asm_handler_AddRhsInt32_cold:
jp .Lasm_AddRhsInt32.canon_nan_0
.Lasm_AddRhsInt32.canon_nan_0_ret:
.Lasm_AddRhsInt32.ssa_box_number_8_done:
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_AddRhsInt32.ssa_block_1:
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rdx, r11
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -18023,16 +18033,16 @@ asm_handler_AddRhsInt32_cold_end:
asm_handler_SubRhsInt32_cold:
# Cold paths for SubRhsInt32
.Lasm_SubRhsInt32.ssa_checked_6_failure:
- add ecx, DWORD PTR [r14 + r13 + 7]
+ add ecx, DWORD PTR [r14 + r13 + 5]
movsxd rax, ecx
- mov ecx, DWORD PTR [r14 + r13 + 7]
+ mov ecx, DWORD PTR [r14 + r13 + 5]
cvtsi2sd xmm0, eax
cvtsi2sd xmm1, ecx
subsd xmm0, xmm1
movq rax, xmm0
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_SubRhsInt32.ssa_block_5:
@@ -18040,7 +18050,7 @@ asm_handler_SubRhsInt32_cold:
cmp ax, 32760
je .Lasm_SubRhsInt32.ssa_block_1
movq xmm0, rcx
- mov eax, DWORD PTR [r14 + r13 + 7]
+ mov eax, DWORD PTR [r14 + r13 + 5]
cvtsi2sd xmm1, eax
subsd xmm0, xmm1
cvttsd2si edx, xmm0
@@ -18069,21 +18079,21 @@ asm_handler_SubRhsInt32_cold:
jp .Lasm_SubRhsInt32.canon_nan_0
.Lasm_SubRhsInt32.canon_nan_0_ret:
.Lasm_SubRhsInt32.ssa_box_number_8_done:
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_SubRhsInt32.ssa_block_1:
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rdx, r11
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -18127,15 +18137,15 @@ asm_handler_MulRhsInt32_cold:
and dx, 32760
cmp dx, 32760
jne .Lasm_MulRhsInt32.ssa_block_13
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rdx, r11
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -18171,7 +18181,7 @@ asm_handler_MulRhsInt32_cold:
jmp [r12 + rax * 8]
.Lasm_MulRhsInt32.ssa_block_13:
movq xmm0, rcx
- mov eax, DWORD PTR [r14 + r13 + 7]
+ mov eax, DWORD PTR [r14 + r13 + 5]
cvtsi2sd xmm1, eax
mulsd xmm0, xmm1
cvttsd2si edx, xmm0
@@ -18200,28 +18210,28 @@ asm_handler_MulRhsInt32_cold:
jp .Lasm_MulRhsInt32.canon_nan_2
.Lasm_MulRhsInt32.canon_nan_2_ret:
.Lasm_MulRhsInt32.ssa_box_number_8_done:
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_MulRhsInt32.ssa_block_3:
movabs r11, -9223372036854775808
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_MulRhsInt32.ssa_block_9:
movsxd rax, ecx
- mov ecx, DWORD PTR [r14 + r13 + 7]
+ mov ecx, DWORD PTR [r14 + r13 + 5]
cvtsi2sd xmm0, eax
cvtsi2sd xmm1, ecx
mulsd xmm0, xmm1
movq rax, xmm0
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_MulRhsInt32.canon_nan_2:
@@ -18230,17 +18240,17 @@ asm_handler_MulRhsInt32_cold:
asm_handler_MulRhsInt32_cold_end:
.p2align 4
asm_handler_ExpRhsInt32:
- movzx eax, WORD PTR [r14 + r13 + 5]
+ movzx eax, BYTE PTR [r14 + r13 + 4]
mov rcx, QWORD PTR [rbx + rax * 8]
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rdx, r11
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -18281,15 +18291,15 @@ asm_handler_ExpRhsInt32_cold_end:
asm_handler_DivRhsInt32_cold:
# Cold paths for DivRhsInt32
.Lasm_DivRhsInt32.ssa_block_1:
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rdx, r11
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -18330,7 +18340,7 @@ asm_handler_DivRhsInt32_cold_end:
asm_handler_BitwiseXorRhsInt32_cold:
# Cold paths for BitwiseXorRhsInt32
.Lasm_BitwiseXorRhsInt32.ssa_block_2:
- mov esi, DWORD PTR [r14 + r13 + 7]
+ mov esi, DWORD PTR [r14 + r13 + 5]
mov rax, rdx
shr rax, 48
movabs r11, 9221683186994511872
@@ -18369,13 +18379,13 @@ asm_handler_BitwiseXorRhsInt32_cold:
mov edi, edi
jmp .Lasm_BitwiseXorRhsInt32.ssa_block_7
.Lasm_BitwiseXorRhsInt32.ssa_block_1:
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], ecx
mov rcx, rdx
mov r8, rsi
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -18415,16 +18425,16 @@ asm_handler_BitwiseXorRhsInt32_cold:
xor eax, edi
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_BitwiseXorRhsInt32_cold_end:
asm_handler_BitwiseAndRhsInt32_cold:
# Cold paths for BitwiseAndRhsInt32
.Lasm_BitwiseAndRhsInt32.ssa_block_2:
- mov esi, DWORD PTR [r14 + r13 + 7]
+ mov esi, DWORD PTR [r14 + r13 + 5]
mov rax, rdx
shr rax, 48
movabs r11, 9221683186994511872
@@ -18463,13 +18473,13 @@ asm_handler_BitwiseAndRhsInt32_cold:
mov edi, edi
jmp .Lasm_BitwiseAndRhsInt32.ssa_block_7
.Lasm_BitwiseAndRhsInt32.ssa_block_1:
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], ecx
mov rcx, rdx
mov r8, rsi
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -18509,16 +18519,16 @@ asm_handler_BitwiseAndRhsInt32_cold:
and eax, edi
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_BitwiseAndRhsInt32_cold_end:
asm_handler_BitwiseOrRhsInt32_cold:
# Cold paths for BitwiseOrRhsInt32
.Lasm_BitwiseOrRhsInt32.ssa_block_2:
- mov esi, DWORD PTR [r14 + r13 + 7]
+ mov esi, DWORD PTR [r14 + r13 + 5]
mov rax, rdx
shr rax, 48
movabs r11, 9221683186994511872
@@ -18557,13 +18567,13 @@ asm_handler_BitwiseOrRhsInt32_cold:
mov edi, edi
jmp .Lasm_BitwiseOrRhsInt32.ssa_block_7
.Lasm_BitwiseOrRhsInt32.ssa_block_1:
- movzx ecx, WORD PTR [r14 + r13 + 3]
+ movzx ecx, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], ecx
mov rcx, rdx
mov r8, rsi
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -18603,25 +18613,25 @@ asm_handler_BitwiseOrRhsInt32_cold:
or eax, edi
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
asm_handler_BitwiseOrRhsInt32_cold_end:
asm_handler_LeftShiftRhsInt32_cold:
# Cold paths for LeftShiftRhsInt32
.Lasm_LeftShiftRhsInt32.ssa_block_1:
- mov ecx, DWORD PTR [r14 + r13 + 7]
+ mov ecx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rcx, r11
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rcx
mov rcx, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -18659,16 +18669,16 @@ asm_handler_LeftShiftRhsInt32_cold_end:
asm_handler_RightShiftRhsInt32_cold:
# Cold paths for RightShiftRhsInt32
.Lasm_RightShiftRhsInt32.ssa_block_1:
- mov ecx, DWORD PTR [r14 + r13 + 7]
+ mov ecx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rcx, r11
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rcx
mov rcx, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -18708,22 +18718,22 @@ asm_handler_UnsignedRightShiftRhsInt32_cold:
.Lasm_UnsignedRightShiftRhsInt32.ssa_block_2:
cvtsi2sd xmm0, rdx
movq rax, xmm0
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_UnsignedRightShiftRhsInt32.ssa_block_1:
- mov ecx, DWORD PTR [r14 + r13 + 7]
+ mov ecx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rcx, r11
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rcx
mov rcx, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -18779,7 +18789,7 @@ asm_handler_ModRhsInt32_cold:
movsxd rax, ecx
movsxd rsi, eax
.Lasm_ModRhsInt32.ssa_block_20:
- mov eax, DWORD PTR [r14 + r13 + 7]
+ mov eax, DWORD PTR [r14 + r13 + 5]
movsxd rdi, eax
test rdi, rdi
jz .Lasm_ModRhsInt32.ssa_block_1
@@ -18796,17 +18806,17 @@ asm_handler_ModRhsInt32_cold:
jne .Lasm_ModRhsInt32.ssa_block_5
movabs r11, 9221683186994511872
or rax, r11
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_ModRhsInt32.ssa_block_5:
cvtsi2sd xmm0, rdx
movq rax, xmm0
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_ModRhsInt32.ssa_block_3:
@@ -18815,28 +18825,28 @@ asm_handler_ModRhsInt32_cold:
test rcx, rcx
js .Lasm_ModRhsInt32.ssa_block_4
movabs rax, 9221683186994511872
- movzx r11d, WORD PTR [r14 + r13 + 3]
+ movzx r11d, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + r11 * 8], rax
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_ModRhsInt32.ssa_block_4:
movabs r11, -9223372036854775808
- movzx eax, WORD PTR [r14 + r13 + 3]
+ movzx eax, BYTE PTR [r14 + r13 + 3]
mov QWORD PTR [rbx + rax * 8], r11
- add r13d, 11
+ add r13d, 9
movzx eax, BYTE PTR [r14 + r13]
jmp [r12 + rax * 8]
.Lasm_ModRhsInt32.ssa_block_1:
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rdx, r11
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -18877,15 +18887,15 @@ asm_handler_LessThanRhsInt32_cold:
and ax, 32760
cmp ax, 32760
jne .Lasm_LessThanRhsInt32.ssa_block_15
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rdx, r11
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -18921,7 +18931,7 @@ asm_handler_LessThanRhsInt32_cold:
jmp [r12 + rax * 8]
.Lasm_LessThanRhsInt32.ssa_block_15:
movq xmm0, rcx
- mov eax, DWORD PTR [r14 + r13 + 7]
+ mov eax, DWORD PTR [r14 + r13 + 5]
cvtsi2sd xmm1, eax
ucomisd xmm0, xmm1
jp .Lasm_LessThanRhsInt32.ssa_block_2
@@ -18934,15 +18944,15 @@ asm_handler_LessThanEqualsRhsInt32_cold:
and ax, 32760
cmp ax, 32760
jne .Lasm_LessThanEqualsRhsInt32.ssa_block_15
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rdx, r11
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -18978,7 +18988,7 @@ asm_handler_LessThanEqualsRhsInt32_cold:
jmp [r12 + rax * 8]
.Lasm_LessThanEqualsRhsInt32.ssa_block_15:
movq xmm0, rcx
- mov eax, DWORD PTR [r14 + r13 + 7]
+ mov eax, DWORD PTR [r14 + r13 + 5]
cvtsi2sd xmm1, eax
ucomisd xmm0, xmm1
jp .Lasm_LessThanEqualsRhsInt32.ssa_block_2
@@ -18991,15 +19001,15 @@ asm_handler_GreaterThanRhsInt32_cold:
and ax, 32760
cmp ax, 32760
jne .Lasm_GreaterThanRhsInt32.ssa_block_15
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rdx, r11
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -19035,7 +19045,7 @@ asm_handler_GreaterThanRhsInt32_cold:
jmp [r12 + rax * 8]
.Lasm_GreaterThanRhsInt32.ssa_block_15:
movq xmm0, rcx
- mov eax, DWORD PTR [r14 + r13 + 7]
+ mov eax, DWORD PTR [r14 + r13 + 5]
cvtsi2sd xmm1, eax
ucomisd xmm0, xmm1
jp .Lasm_GreaterThanRhsInt32.ssa_block_2
@@ -19048,15 +19058,15 @@ asm_handler_GreaterThanEqualsRhsInt32_cold:
and ax, 32760
cmp ax, 32760
jne .Lasm_GreaterThanEqualsRhsInt32.ssa_block_15
- mov edx, DWORD PTR [r14 + r13 + 7]
+ mov edx, DWORD PTR [r14 + r13 + 5]
movabs r11, 9221683186994511872
or rdx, r11
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -19092,7 +19102,7 @@ asm_handler_GreaterThanEqualsRhsInt32_cold:
jmp [r12 + rax * 8]
.Lasm_GreaterThanEqualsRhsInt32.ssa_block_15:
movq xmm0, rcx
- mov eax, DWORD PTR [r14 + r13 + 7]
+ mov eax, DWORD PTR [r14 + r13 + 5]
cvtsi2sd xmm1, eax
ucomisd xmm0, xmm1
jp .Lasm_GreaterThanEqualsRhsInt32.ssa_block_2
@@ -19105,9 +19115,9 @@ asm_handler_JumpLessThanRhsInt32_cold:
and ax, 32760
cmp ax, 32760
jne .Lasm_JumpLessThanRhsInt32.ssa_block_15
- mov edx, DWORD PTR [r14 + r13 + 5]
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov edx, DWORD PTR [r14 + r13 + 4]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
movabs r11, 9221683186994511872
or rdx, r11
mov DWORD PTR [rbx + -64], r13d
@@ -19137,7 +19147,7 @@ asm_handler_JumpLessThanRhsInt32_cold:
jmp [r12 + rax * 8]
.Lasm_JumpLessThanRhsInt32.ssa_block_15:
movq xmm0, rcx
- mov eax, DWORD PTR [r14 + r13 + 5]
+ mov eax, DWORD PTR [r14 + r13 + 4]
cvtsi2sd xmm1, eax
ucomisd xmm0, xmm1
jp .Lasm_JumpLessThanRhsInt32.ssa_block_3
@@ -19150,9 +19160,9 @@ asm_handler_JumpLessThanEqualsRhsInt32_cold:
and ax, 32760
cmp ax, 32760
jne .Lasm_JumpLessThanEqualsRhsInt32.ssa_block_15
- mov edx, DWORD PTR [r14 + r13 + 5]
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov edx, DWORD PTR [r14 + r13 + 4]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
movabs r11, 9221683186994511872
or rdx, r11
mov DWORD PTR [rbx + -64], r13d
@@ -19182,7 +19192,7 @@ asm_handler_JumpLessThanEqualsRhsInt32_cold:
jmp [r12 + rax * 8]
.Lasm_JumpLessThanEqualsRhsInt32.ssa_block_15:
movq xmm0, rcx
- mov eax, DWORD PTR [r14 + r13 + 5]
+ mov eax, DWORD PTR [r14 + r13 + 4]
cvtsi2sd xmm1, eax
ucomisd xmm0, xmm1
jp .Lasm_JumpLessThanEqualsRhsInt32.ssa_block_3
@@ -19195,9 +19205,9 @@ asm_handler_JumpGreaterThanRhsInt32_cold:
and ax, 32760
cmp ax, 32760
jne .Lasm_JumpGreaterThanRhsInt32.ssa_block_15
- mov edx, DWORD PTR [r14 + r13 + 5]
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov edx, DWORD PTR [r14 + r13 + 4]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
movabs r11, 9221683186994511872
or rdx, r11
mov DWORD PTR [rbx + -64], r13d
@@ -19227,7 +19237,7 @@ asm_handler_JumpGreaterThanRhsInt32_cold:
jmp [r12 + rax * 8]
.Lasm_JumpGreaterThanRhsInt32.ssa_block_15:
movq xmm0, rcx
- mov eax, DWORD PTR [r14 + r13 + 5]
+ mov eax, DWORD PTR [r14 + r13 + 4]
cvtsi2sd xmm1, eax
ucomisd xmm0, xmm1
jp .Lasm_JumpGreaterThanRhsInt32.ssa_block_3
@@ -19240,9 +19250,9 @@ asm_handler_JumpGreaterThanEqualsRhsInt32_cold:
and ax, 32760
cmp ax, 32760
jne .Lasm_JumpGreaterThanEqualsRhsInt32.ssa_block_15
- mov edx, DWORD PTR [r14 + r13 + 5]
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov edx, DWORD PTR [r14 + r13 + 4]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
movabs r11, 9221683186994511872
or rdx, r11
mov DWORD PTR [rbx + -64], r13d
@@ -19272,7 +19282,7 @@ asm_handler_JumpGreaterThanEqualsRhsInt32_cold:
jmp [r12 + rax * 8]
.Lasm_JumpGreaterThanEqualsRhsInt32.ssa_block_15:
movq xmm0, rcx
- mov eax, DWORD PTR [r14 + r13 + 5]
+ mov eax, DWORD PTR [r14 + r13 + 4]
cvtsi2sd xmm1, eax
ucomisd xmm0, xmm1
jp .Lasm_JumpGreaterThanEqualsRhsInt32.ssa_block_3
@@ -19305,12 +19315,12 @@ asm_handler_StrictlyEqualsRhsInt32_cold:
cmp r11w, 65530
je .Lasm_StrictlyEqualsRhsInt32.ssa_block_34
.Lasm_StrictlyEqualsRhsInt32.ssa_block_1:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -19378,12 +19388,12 @@ asm_handler_StrictlyInequalsRhsInt32_cold:
cmp r11w, 65530
je .Lasm_StrictlyInequalsRhsInt32.ssa_block_34
.Lasm_StrictlyInequalsRhsInt32.ssa_block_1:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -19451,12 +19461,12 @@ asm_handler_LooselyEqualsRhsInt32_cold:
cmp r11w, 65530
je .Lasm_LooselyEqualsRhsInt32.ssa_block_36
.Lasm_LooselyEqualsRhsInt32.ssa_block_1:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -19524,12 +19534,12 @@ asm_handler_LooselyInequalsRhsInt32_cold:
cmp r11w, 65530
je .Lasm_LooselyInequalsRhsInt32.ssa_block_36
.Lasm_LooselyInequalsRhsInt32.ssa_block_1:
- movzx esi, WORD PTR [r14 + r13 + 3]
+ movzx esi, BYTE PTR [r14 + r13 + 3]
mov DWORD PTR [rbx + -64], r13d
sub rsp, 16
mov DWORD PTR [rsp + 8], esi
mov r8, rdx
- mov r9d, 11
+ mov r9d, 9
lea rdx, [rsp]
mov rdi, QWORD PTR [rbp - 48]
mov esi, r13d
@@ -19597,8 +19607,8 @@ asm_handler_JumpStrictlyEqualsRhsInt32_cold:
cmp r11w, 65530
je .Lasm_JumpStrictlyEqualsRhsInt32.ssa_block_34
.Lasm_JumpStrictlyEqualsRhsInt32.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -19658,8 +19668,8 @@ asm_handler_JumpStrictlyInequalsRhsInt32_cold:
cmp r11w, 65530
je .Lasm_JumpStrictlyInequalsRhsInt32.ssa_block_34
.Lasm_JumpStrictlyInequalsRhsInt32.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -19719,8 +19729,8 @@ asm_handler_JumpLooselyEqualsRhsInt32_cold:
cmp r11w, 65530
je .Lasm_JumpLooselyEqualsRhsInt32.ssa_block_36
.Lasm_JumpLooselyEqualsRhsInt32.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -19780,8 +19790,8 @@ asm_handler_JumpLooselyInequalsRhsInt32_cold:
cmp r11w, 65530
je .Lasm_JumpLooselyInequalsRhsInt32.ssa_block_36
.Lasm_JumpLooselyInequalsRhsInt32.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -19821,9 +19831,9 @@ asm_handler_JumpLessThanLoopRhsInt32_cold:
and ax, 32760
cmp ax, 32760
jne .Lasm_JumpLessThanLoopRhsInt32.ssa_block_15
- mov edx, DWORD PTR [r14 + r13 + 5]
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov edx, DWORD PTR [r14 + r13 + 4]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
movabs r11, 9221683186994511872
or rdx, r11
mov DWORD PTR [rbx + -64], r13d
@@ -19853,7 +19863,7 @@ asm_handler_JumpLessThanLoopRhsInt32_cold:
jmp [r12 + rax * 8]
.Lasm_JumpLessThanLoopRhsInt32.ssa_block_15:
movq xmm0, rcx
- mov eax, DWORD PTR [r14 + r13 + 5]
+ mov eax, DWORD PTR [r14 + r13 + 4]
cvtsi2sd xmm1, eax
ucomisd xmm0, xmm1
jp .Lasm_JumpLessThanLoopRhsInt32.ssa_block_3
@@ -19866,9 +19876,9 @@ asm_handler_JumpLessThanEqualsLoopRhsInt32_cold:
and ax, 32760
cmp ax, 32760
jne .Lasm_JumpLessThanEqualsLoopRhsInt32.ssa_block_15
- mov edx, DWORD PTR [r14 + r13 + 5]
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov edx, DWORD PTR [r14 + r13 + 4]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
movabs r11, 9221683186994511872
or rdx, r11
mov DWORD PTR [rbx + -64], r13d
@@ -19898,7 +19908,7 @@ asm_handler_JumpLessThanEqualsLoopRhsInt32_cold:
jmp [r12 + rax * 8]
.Lasm_JumpLessThanEqualsLoopRhsInt32.ssa_block_15:
movq xmm0, rcx
- mov eax, DWORD PTR [r14 + r13 + 5]
+ mov eax, DWORD PTR [r14 + r13 + 4]
cvtsi2sd xmm1, eax
ucomisd xmm0, xmm1
jp .Lasm_JumpLessThanEqualsLoopRhsInt32.ssa_block_3
@@ -19911,9 +19921,9 @@ asm_handler_JumpGreaterThanLoopRhsInt32_cold:
and ax, 32760
cmp ax, 32760
jne .Lasm_JumpGreaterThanLoopRhsInt32.ssa_block_15
- mov edx, DWORD PTR [r14 + r13 + 5]
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov edx, DWORD PTR [r14 + r13 + 4]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
movabs r11, 9221683186994511872
or rdx, r11
mov DWORD PTR [rbx + -64], r13d
@@ -19943,7 +19953,7 @@ asm_handler_JumpGreaterThanLoopRhsInt32_cold:
jmp [r12 + rax * 8]
.Lasm_JumpGreaterThanLoopRhsInt32.ssa_block_15:
movq xmm0, rcx
- mov eax, DWORD PTR [r14 + r13 + 5]
+ mov eax, DWORD PTR [r14 + r13 + 4]
cvtsi2sd xmm1, eax
ucomisd xmm0, xmm1
jp .Lasm_JumpGreaterThanLoopRhsInt32.ssa_block_3
@@ -19956,9 +19966,9 @@ asm_handler_JumpGreaterThanEqualsLoopRhsInt32_cold:
and ax, 32760
cmp ax, 32760
jne .Lasm_JumpGreaterThanEqualsLoopRhsInt32.ssa_block_15
- mov edx, DWORD PTR [r14 + r13 + 5]
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov edx, DWORD PTR [r14 + r13 + 4]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
movabs r11, 9221683186994511872
or rdx, r11
mov DWORD PTR [rbx + -64], r13d
@@ -19988,7 +19998,7 @@ asm_handler_JumpGreaterThanEqualsLoopRhsInt32_cold:
jmp [r12 + rax * 8]
.Lasm_JumpGreaterThanEqualsLoopRhsInt32.ssa_block_15:
movq xmm0, rcx
- mov eax, DWORD PTR [r14 + r13 + 5]
+ mov eax, DWORD PTR [r14 + r13 + 4]
cvtsi2sd xmm1, eax
ucomisd xmm0, xmm1
jp .Lasm_JumpGreaterThanEqualsLoopRhsInt32.ssa_block_3
@@ -20021,8 +20031,8 @@ asm_handler_JumpStrictlyEqualsLoopRhsInt32_cold:
cmp r11w, 65530
je .Lasm_JumpStrictlyEqualsLoopRhsInt32.ssa_block_34
.Lasm_JumpStrictlyEqualsLoopRhsInt32.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -20082,8 +20092,8 @@ asm_handler_JumpStrictlyInequalsLoopRhsInt32_cold:
cmp r11w, 65530
je .Lasm_JumpStrictlyInequalsLoopRhsInt32.ssa_block_34
.Lasm_JumpStrictlyInequalsLoopRhsInt32.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -20143,8 +20153,8 @@ asm_handler_JumpLooselyEqualsLoopRhsInt32_cold:
cmp r11w, 65530
je .Lasm_JumpLooselyEqualsLoopRhsInt32.ssa_block_36
.Lasm_JumpLooselyEqualsLoopRhsInt32.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -20204,8 +20214,8 @@ asm_handler_JumpLooselyInequalsLoopRhsInt32_cold:
cmp r11w, 65530
je .Lasm_JumpLooselyInequalsLoopRhsInt32.ssa_block_36
.Lasm_JumpLooselyInequalsLoopRhsInt32.ssa_block_1:
- mov esi, DWORD PTR [r14 + r13 + 9]
- mov edi, DWORD PTR [r14 + r13 + 13]
+ mov esi, DWORD PTR [r14 + r13 + 8]
+ mov edi, DWORD PTR [r14 + r13 + 12]
mov DWORD PTR [rbx + -64], r13d
mov r8, rsi
mov r9, rdi
@@ -20565,15 +20575,15 @@ asm_assertion_failure_traps:
ud2
.Lasm_Call.assert_failure_7:
ud2
-.Lasm_Call.assert_predicate_failure_414:
+.Lasm_Call.assert_predicate_failure_415:
ud2
.Lasm_Call.assert_failure_8:
ud2
.Lasm_Call.assert_failure_9:
ud2
-.Lasm_Call.assert_predicate_failure_274:
+.Lasm_Call.assert_predicate_failure_275:
ud2
-.Lasm_Call.assert_predicate_failure_298:
+.Lasm_Call.assert_predicate_failure_299:
ud2
.Lasm_Call.assert_failure_10:
ud2
@@ -20581,29 +20591,29 @@ asm_assertion_failure_traps:
ud2
.Lasm_Call.assert_failure_12:
ud2
-.Lasm_Call.assert_predicate_failure_35:
+.Lasm_Call.assert_predicate_failure_36:
ud2
-.Lasm_Call.assert_predicate_failure_43:
+.Lasm_Call.assert_predicate_failure_44:
ud2
.Lasm_Call.assert_failure_13:
ud2
.Lasm_Call.assert_failure_14:
ud2
-.Lasm_Call.assert_predicate_failure_68:
+.Lasm_Call.assert_predicate_failure_69:
ud2
-.Lasm_Call.assert_predicate_failure_70:
+.Lasm_Call.assert_predicate_failure_71:
ud2
.Lasm_Call.assert_failure_15:
ud2
.Lasm_Call.assert_failure_16:
ud2
-.Lasm_Call.assert_predicate_failure_334:
+.Lasm_Call.assert_predicate_failure_335:
ud2
.Lasm_Call.assert_failure_17:
ud2
-.Lasm_Call.assert_predicate_failure_341:
+.Lasm_Call.assert_predicate_failure_342:
ud2
-.Lasm_Call.assert_predicate_failure_347:
+.Lasm_Call.assert_predicate_failure_348:
ud2
.Lasm_Call.assert_predicate_failure_11:
ud2
diff --git a/Libraries/LibJS/Interpreter/interpreter.flap b/Libraries/LibJS/Interpreter/interpreter.flap
index d99229fd493..117b14a11c2 100644
--- a/Libraries/LibJS/Interpreter/interpreter.flap
+++ b/Libraries/LibJS/Interpreter/interpreter.flap
@@ -12,22 +12,22 @@ inline fn max(lhs: u32, rhs: u32) -> u32 {
}
inline fn call_length(
- argument_count: u32
+ argument_count: u8
) -> u32 {
let mut count: u32;
- load32(count, [pb, pc, argument_count]);
- # NB: 17 is what a Call takes up before its arguments, which are 16 bits each. Any call breaks if it goes out of date.
- let length: u32 = 17 + count + count;
+ load8(count, [pb, pc, argument_count]);
+ # NB: 11 is what a Call takes up before its arguments, which are a byte each. Any call breaks if it goes out of date.
+ let length: u32 = 11 + count;
length
}
inline fn call_site_info(
- argument_count: u32,
+ argument_count: u8,
dst: out Operand
) -> (u32, u32, u32) {
let instruction_length: u32 = call_length(argument_count);
let mut destination_index: u32;
- load16(destination_index, [pb, pc, dst]);
+ load8(destination_index, [pb, pc, dst]);
let current_pc: u32 = pc;
let return_pc: u32 = current_pc + instruction_length;
(current_pc, return_pc, destination_index)
@@ -121,9 +121,9 @@ inline fn load_direct_getter_value(
inline fn move_operand(dst: out Operand, src: in Operand) {
let mut dst_index: u32;
- load16(dst_index, [pb, pc, dst]);
+ load8(dst_index, [pb, pc, dst]);
let mut src_index: u32;
- load16(src_index, [pb, pc, src]);
+ load8(src_index, [pb, pc, src]);
values[dst_index] = values[src_index];
}
@@ -1285,6 +1285,15 @@ handler Mov(
specialize Mov(src: Undefined);
+# NB: The only way to reach the frame slots that no other instruction can name.
+handler MovWide(
+ dst_slot: u32,
+ src_slot: u32
+) {
+ values[load(dst_slot)] = values[load(src_slot)];
+ dispatch_next;
+}
+
specialize Add(lhs: Int32);
specialize Add(rhs: Int32);
specialize Sub(rhs: Int32);
@@ -1512,7 +1521,8 @@ handler ConcatString(
handler CopyObjectExcludingProperties(
dst: out Operand,
from_object: Operand,
- excluded_names_count: u32,
+ excluded_names_are_in_array: bool,
+ excluded_names_count: u8,
excluded_names: Operand[]
) @cold = call_slow_path(copy_object_excluding_properties);
@@ -1539,7 +1549,8 @@ handler NewClass(
class_blueprint_index: u32,
lhs_name: Optional<IdentifierTableIndex>,
computed_name: Optional<Operand>,
- element_keys_count: u32,
+ element_keys_are_in_array: bool,
+ element_keys_count: u8,
element_keys: Optional<Operand>[]
) @cold = call_slow_path(new_class);
@@ -2938,7 +2949,7 @@ handler PutByValue(
property: in Operand,
src: in Operand,
kind: PutKind,
- base_identifier: Optional<IdentifierTableIndex>,
+ base_identifier: Optional<DebugIdentifierIndex>,
cache: PropertyLookupCacheIndex
) {
let slow = || @cold {
@@ -3152,7 +3163,7 @@ handler GetById(
dst: out Operand,
base: in Operand,
property: PropertyKeyTableIndex,
- base_identifier: Optional<IdentifierTableIndex>,
+ base_identifier: Optional<DebugIdentifierIndex>,
cache: PropertyLookupCacheIndex
) {
let try_cache = || @cold {
@@ -3260,7 +3271,7 @@ handler GetById(
native_frame.runs_jit_code = false;
let native_pc: u32 = pc;
let mut destination_offset: u32;
- load16(destination_offset, [pb, pc, dst]);
+ load8(destination_offset, [pb, pc, dst]);
exec_ctx.program_counter = native_pc;
native_frame.caller_frame = exec_ctx;
# The exception helper only needs a PC within the current instruction.
@@ -3394,7 +3405,7 @@ handler PutById(
src: in Operand,
kind: PutKind,
cache: PropertyLookupCacheIndex,
- base_identifier: Optional<IdentifierTableIndex>
+ base_identifier: Optional<DebugIdentifierIndex>
) {
let slow = || @cold {
call_slow_path(put_by_id);
@@ -3433,7 +3444,7 @@ handler GetByValue(
dst: out Operand,
base: in Operand,
property: in Operand,
- base_identifier: Optional<IdentifierTableIndex>,
+ base_identifier: Optional<DebugIdentifierIndex>,
cache: PropertyLookupCacheIndex
) {
let slow = || @cold {
@@ -3686,7 +3697,7 @@ handler GetLength(
keyed_feedback: KeyedFeedbackIndex,
dst: out Operand,
base: in Operand,
- base_identifier: Optional<IdentifierTableIndex>,
+ base_identifier: Optional<DebugIdentifierIndex>,
cache: PropertyLookupCacheIndex
) {
let slow = || @cold {
@@ -3867,8 +3878,8 @@ handler Call(
dst: out Operand,
callee: in Operand,
this_value: in Operand,
- argument_count: u32,
- expression_string: Optional<StringTableIndex>,
+ argument_count: u8,
+ expression_string: Optional<DebugStringIndex>,
arguments: Operand[]
) {
let slow = || @cold {
@@ -3897,7 +3908,7 @@ handler Call(
}
}
}
- let formal_count: u32 = max(u32(metadata), load(argument_count));
+ let formal_count: u32 = max(u32(metadata), u32(load(argument_count)));
# Construct an interpreter frame for an inline ECMAScript call.
assert(executable_pointer != 0);
let registers_and_locals_count = executable_pointer.registers_and_locals_count;
@@ -3922,7 +3933,7 @@ handler Call(
let frame_values = frame.slots;
frame.slot_count = frame_slot_count;
frame.argument_count = formal_count;
- frame.passed_argument_count = load(argument_count);
+ frame.passed_argument_count = u32(load(argument_count));
let realm = function.shape.realm;
frame.function = function;
frame.realm = realm;
@@ -3964,7 +3975,7 @@ handler Call(
exec_ctx.program_counter = current_pc;
frame.caller_return_pc = return_pc;
frame.caller_dst_raw = return_destination;
- let actual_argument_count = load(argument_count);
+ let actual_argument_count = u32(load(argument_count));
assert(formal_count >= actual_argument_count);
let mut write_index: u64 = alias(callee_slot_count);
let caller_values = exec_ctx.slots;
@@ -4012,7 +4023,7 @@ handler Call(
# Construct the lightweight frame used by raw native functions.
let flags = function.flags;
guard flags has OBJECT_FLAG_IS_RAW_NATIVE_FUNCTION else slow;
- let actual_argument_count = load(argument_count);
+ let actual_argument_count = u32(load(argument_count));
let native_frame_size: u64 = alias(actual_argument_count) * SIZEOF_VALUE + SIZEOF_EXECUTION_CONTEXT;
let native_stack_vm = current_vm();
let frame_base = native_stack_vm.interpreter_stack_top;
@@ -4311,8 +4322,8 @@ handler CallConstruct(
call_feedback: CallFeedbackIndex,
dst: out Operand,
callee: Operand,
- argument_count: u32,
- expression_string: Optional<StringTableIndex>,
+ argument_count: u8,
+ expression_string: Optional<DebugStringIndex>,
arguments: Operand[]
) @cold = call_slow_path(call_construct);
@@ -4322,8 +4333,8 @@ handler CallDirectEval(
dst: out Operand,
callee: Operand,
this_value: Operand,
- argument_count: u32,
- expression_string: Optional<StringTableIndex>,
+ argument_count: u8,
+ expression_string: Optional<DebugStringIndex>,
arguments: Operand[]
) @cold = call_slow_path(call_direct_eval);
@@ -4334,7 +4345,7 @@ handler CallWithArgumentArray(
callee: Operand,
this_value: Operand,
arguments: Operand,
- expression_string: Optional<StringTableIndex>
+ expression_string: Optional<DebugStringIndex>
) @cold = call_slow_path(call_with_argument_array);
handler CallDirectEvalWithArgumentArray(
@@ -4344,7 +4355,7 @@ handler CallDirectEvalWithArgumentArray(
callee: Operand,
this_value: Operand,
arguments: Operand,
- expression_string: Optional<StringTableIndex>
+ expression_string: Optional<DebugStringIndex>
) @cold = call_slow_path(call_direct_eval_with_argument_array);
handler CallConstructWithArgumentArray(
@@ -4354,7 +4365,7 @@ handler CallConstructWithArgumentArray(
callee: Operand,
this_value: Operand,
arguments: Operand,
- expression_string: Optional<StringTableIndex>
+ expression_string: Optional<DebugStringIndex>
) @cold = call_slow_path(call_construct_with_argument_array);
handler SuperCallWithArgumentArray(
@@ -4390,7 +4401,7 @@ handler InitObjectLiteralProperty(
handler NewArray(
dst: out Operand,
- element_count: u32,
+ element_count: u8,
elements: Operand[]
) @cold = call_slow_path(new_array);
@@ -4559,7 +4570,8 @@ handler SetCompletionType(
handler GetTemplateObject(
dst: out Operand,
- strings_count: u32,
+ strings_are_in_array: bool,
+ strings_count: u8,
cache: TemplateObjectCacheIndex,
strings: Operand[]
) @cold = call_slow_path(get_template_object);
diff --git a/Libraries/LibJS/JIT/Rust/build.rs b/Libraries/LibJS/JIT/Rust/build.rs
index 8409f30f835..6f1b850224f 100644
--- a/Libraries/LibJS/JIT/Rust/build.rs
+++ b/Libraries/LibJS/JIT/Rust/build.rs
@@ -31,6 +31,7 @@ use flapc::rust_bytecode::generate_opcode_enum;
use flapc::rust_bytecode::generate_opcode_method;
use flapc::rust_bytecode::read_expr_for_type;
use flapc::rust_bytecode::rust_field_name;
+use flapc::rust_bytecode::scaled;
use flapc::rust_bytecode::wildcard_pattern;
use std::env;
use std::error::Error;
@@ -151,7 +152,11 @@ fn generate_decode_function(mut w: impl Write, ops: &[InstructionDefinition]) ->
writeln!(w, " if {name}_end > length {{")?;
writeln!(w, " return Err(DecodeErrorKind::InvalidLength);")?;
writeln!(w, " }}")?;
- let element = read_expr_for_type(&field.ty, &format!("at + {offset} + index * {element_size}"), READER);
+ let element = read_expr_for_type(
+ &field.ty,
+ &format!("at + {offset} + {}", scaled("index", element_size)),
+ READER,
+ );
writeln!(
w,
" let {name} = (0..{name}_len).map(|index| {element}).collect::<Vec<_>>();"
diff --git a/Libraries/LibJS/JIT/Rust/src/builder/checks.rs b/Libraries/LibJS/JIT/Rust/src/builder/checks.rs
index 14e3f3b9a4e..bfe890c8040 100644
--- a/Libraries/LibJS/JIT/Rust/src/builder/checks.rs
+++ b/Libraries/LibJS/JIT/Rust/src/builder/checks.rs
@@ -52,14 +52,17 @@ impl GraphBuilder<'_> {
Instruction::ThrowIfTDZ { src } => {
let value = self.read(src)?;
let initialized = self.check_initialized(value)?;
- if let Some(slot) = self.function.layout.tracked_index(src)
- && let SlotState::Value { node, in_sync } = self.frame.slots[slot]
- && node == value
- {
- self.frame.slots[slot] = SlotState::Value {
- node: initialized,
- in_sync,
- };
+ // NB: The operand can be a copy of the local that is checked, when the frame is too large for
+ // instructions to name the local.
+ for slot in &mut self.frame.slots {
+ if let SlotState::Value { node, in_sync } = *slot
+ && node == value
+ {
+ *slot = SlotState::Value {
+ node: initialized,
+ in_sync,
+ };
+ }
}
Ok(Flow::Continue)
}
diff --git a/Libraries/LibJS/JIT/Rust/src/builder/handling.rs b/Libraries/LibJS/JIT/Rust/src/builder/handling.rs
index 505fb2a7b32..5f7ea9d2989 100644
--- a/Libraries/LibJS/JIT/Rust/src/builder/handling.rs
+++ b/Libraries/LibJS/JIT/Rust/src/builder/handling.rs
@@ -91,6 +91,7 @@ pub fn handling(opcode: OpCode) -> Handling {
// Control flow, moves and frame setup.
O::Enter
| O::Mov
+ | O::MovWide
| O::MovSrcUndefined
| O::Jump
| O::JumpIf
diff --git a/Libraries/LibJS/JIT/Rust/src/builder/slow_paths.rs b/Libraries/LibJS/JIT/Rust/src/builder/slow_paths.rs
index 030108a4dab..f4da788d12e 100644
--- a/Libraries/LibJS/JIT/Rust/src/builder/slow_paths.rs
+++ b/Libraries/LibJS/JIT/Rust/src/builder/slow_paths.rs
@@ -79,14 +79,8 @@ impl GraphBuilder<'_> {
reason: "operand field outside the bytecode",
})
};
- let read_operand = |offset: u32| -> Result<u32, CompileFailure> {
- let raw = u16::from_ne_bytes(bytes_at(offset, 2)?.try_into().expect("two bytes"));
- Ok(if raw == u16::MAX {
- Operand::INVALID
- } else {
- u32::from(raw)
- })
- };
+ let read_operand =
+ |offset: u32| -> Result<u32, CompileFailure> { Ok(Operand::raw_from_byte(bytes_at(offset, 1)?[0])) };
let mut inputs = Vec::new();
let mut outputs = Vec::new();
for (index, field) in layout.fields.iter().enumerate() {
@@ -99,9 +93,8 @@ impl GraphBuilder<'_> {
}
}
if let Some(array) = layout.array {
- let count = u32::from_ne_bytes(bytes_at(array.count_offset, 4)?.try_into().expect("four bytes"));
- for element in 0..count {
- inputs.push(read_operand(array.instruction_offset + 2 * element)?);
+ for element in 0..u32::from(bytes_at(array.count_offset, 1)?[0]) {
+ inputs.push(read_operand(array.instruction_offset + element)?);
}
}
Ok(SlowPathOperands { inputs, outputs })
diff --git a/Libraries/LibJS/JIT/Rust/src/builder/tests.rs b/Libraries/LibJS/JIT/Rust/src/builder/tests.rs
index 88dfc96045b..3e938829498 100644
--- a/Libraries/LibJS/JIT/Rust/src/builder/tests.rs
+++ b/Libraries/LibJS/JIT/Rust/src/builder/tests.rs
@@ -221,11 +221,11 @@ fn straight_line_code_renames_moves_and_passes_values_to_slow_paths() {
[[B1]] (pc 0) <- [[B0]]:
[[V5]] = LoadSlot a0
InitializeFrame
- [[V6]] = CallSlowPath Exp @11 (#10, [[V5]]) [[[FS0]]]
+ [[V6]] = CallSlowPath Exp @7 (#10, [[V5]]) [[[FS0]]]
[[V7]] = EmptyToUndefined ([[V6]])
Return ([[V7]])
frame states:
- [[FS0]]: pc 11 after -> r7 {} frame [r7]
+ [[FS0]]: pc 7 after -> r7 {} frame [r7]
",
);
}
@@ -272,17 +272,17 @@ fn if_else_merges_with_phis() {
Jump [[B8]]
[[B6]] <- [[B4]]:
Jump [[B7]]
- [[B7]] (pc 26) <- [[B3]], [[B6]]:
+ [[B7]] (pc 21) <- [[B3]], [[B6]]:
Jump [[B9]]
- [[B8]] (pc 16) <- [[B2]], [[B5]]:
+ [[B8]] (pc 13) <- [[B2]], [[B5]]:
Jump [[B9]]
- [[B9]] (pc 31) <- [[B7]], [[B8]]:
+ [[B9]] (pc 24) <- [[B7]], [[B8]]:
[[V14]] = Phi (#10, #0)
- [[V15]] = CallSlowPath Exp @31 ([[V14]], [[V1]]) [[[FS0]]]
+ [[V15]] = CallSlowPath Exp @24 ([[V14]], [[V1]]) [[[FS0]]]
[[V16]] = EmptyToUndefined ([[V15]])
Return ([[V16]])
frame states:
- [[FS0]]: pc 31 after -> r6 {} frame [r6]
+ [[FS0]]: pc 24 after -> r6 {} frame [r6]
",
);
}
@@ -307,12 +307,12 @@ fn writes_to_constant_operands_go_to_the_frame() {
[[V1]] = LoadSlot a0
StoreSlot c0 ([[V1]])
[[V3]] = LoadSlot c0
- CallSlowPath ToString @5 ([[V3]]) [[[FS0]]]
+ CallSlowPath ToString @3 ([[V3]]) [[[FS0]]]
[[V5]] = LoadSlot c1
[[V6]] = EmptyToUndefined ([[V5]])
Return ([[V6]])
frame states:
- [[FS0]]: pc 5 after -> c1 {}
+ [[FS0]]: pc 3 after -> c1 {}
",
);
}
@@ -451,38 +451,38 @@ fn nested_loops_get_phis_for_slots_slow_paths_assign() {
[[B1]] (pc 0) <- [[B0]]:
[[V7]] = LoadSlot a0
Jump [[B2]]
- [[B2]] (pc 6) <- [[B1]], [[B10]] loop:
+ [[B2]] (pc 4) <- [[B1]], [[B10]] loop:
[[V6]] = Phi (#0, [[V20]])
EnsureFrameInitialized
- [[V8]]:int32 = CallSlowPath JumpLessThan @6 ([[V6]], [[V7]]) [[[FS0]]]
- BranchOnPc @21 ([[V8]]) -> [[B3]], [[B4]]
+ [[V8]]:int32 = CallSlowPath JumpLessThan @4 ([[V6]], [[V7]]) [[[FS0]]]
+ BranchOnPc @17 ([[V8]]) -> [[B3]], [[B4]]
[[B3]] <- [[B2]]:
Jump [[B6]]
[[B4]] <- [[B2]]:
Jump [[B5]]
- [[B5]] (pc 69) <- [[B4]]:
+ [[B5]] (pc 55) <- [[B4]]:
Return ([[V6]])
- [[B6]] (pc 21) <- [[B3]]:
+ [[B6]] (pc 17) <- [[B3]]:
Jump [[B7]]
- [[B7]] (pc 26) <- [[B6]], [[B11]] loop:
+ [[B7]] (pc 20) <- [[B6]], [[B11]] loop:
[[V14]] = Phi (#0, [[V22]])
- [[V15]]:int32 = CallSlowPath JumpLessThan @26 ([[V14]], [[V7]]) [[[FS1]]]
- BranchOnPc @41 ([[V15]]) -> [[B8]], [[B9]]
+ [[V15]]:int32 = CallSlowPath JumpLessThan @20 ([[V14]], [[V7]]) [[[FS1]]]
+ BranchOnPc @33 ([[V15]]) -> [[B8]], [[B9]]
[[B8]] <- [[B7]]:
Jump [[B11]]
[[B9]] <- [[B7]]:
Jump [[B10]]
- [[B10]] (pc 55) <- [[B9]]:
- [[V20]] = CallSlowPath Exp @55 ([[V6]], #10) [[[FS2]]]
+ [[B10]] (pc 44) <- [[B9]]:
+ [[V20]] = CallSlowPath Exp @44 ([[V6]], #10) [[[FS2]]]
Jump [[B2]]
- [[B11]] (pc 41) <- [[B8]]:
- [[V22]] = CallSlowPath Exp @41 ([[V14]], #10) [[[FS3]]]
+ [[B11]] (pc 33) <- [[B8]]:
+ [[V22]] = CallSlowPath Exp @33 ([[V14]], #10) [[[FS3]]]
Jump [[B7]]
frame states:
- [[FS0]]: pc 6 after {r5=[[V6]]} frame [a0]
- [[FS1]]: pc 26 after {r5=[[V6]], r6=[[V14]]} frame [a0]
- [[FS2]]: pc 55 after -> r5 {r5=[[V6]]} frame [a0]
- [[FS3]]: pc 41 after -> r6 {r5=[[V6]], r6=[[V14]]} frame [a0]
+ [[FS0]]: pc 4 after {r5=[[V6]]} frame [a0]
+ [[FS1]]: pc 20 after {r5=[[V6]], r6=[[V14]]} frame [a0]
+ [[FS2]]: pc 44 after -> r5 {r5=[[V6]]} frame [a0]
+ [[FS3]]: pc 33 after -> r6 {r5=[[V6]], r6=[[V14]]} frame [a0]
",
);
}
@@ -527,9 +527,9 @@ fn truthiness_values_and_tag_branches() {
Jump [[B11]]
[[B9]] <- [[B7]]:
Jump [[B10]]
- [[B10]] (pc 19) <- [[B9]]:
+ [[B10]] (pc 15) <- [[B9]]:
Return ([[V1]])
- [[B11]] (pc 16) <- [[B8]]:
+ [[B11]] (pc 13) <- [[B8]]:
Return ([[V11]])
",
);
@@ -612,7 +612,7 @@ fn numeric_feedback_and_failed_speculations_use_double_arithmetic() {
);
assert!(!text.contains("CallSlowPath"), "{text}");
// An overflow at the addition: it adds doubles.
- let text = counting_loop(1, vec![(21, ExitKind::Overflow)]);
+ let text = counting_loop(1, vec![(17, ExitKind::Overflow)]);
assert!(text.contains("Int32LessThan"), "{text}");
assert!(text.contains("Float64Add") && !text.contains("Int32Add"), "{text}");
}
@@ -706,7 +706,7 @@ fn instructions_that_never_ran_exit_with_the_live_values() {
[[V2]] = LoadSlot a0
Exit NoFeedback [[[FS0]]]
frame states:
- [[FS0]]: pc 10 at {r5=#10, r6=[[V2]]}
+ [[FS0]]: pc 6 at {r5=#10, r6=[[V2]]}
",
);
}
@@ -738,10 +738,10 @@ fn calls_write_back_their_arguments_and_values_survive_them() {
[[B1]] (pc 0) <- [[B0]]:
[[V1]] = LoadSlot a0
[[V2]] = LoadSlot r5
- [[V3]] = CallSlowPath Call @5 ([[V2]], [[V2]], [[V1]]) [[[FS0]]]
+ [[V3]] = CallSlowPath Call @3 ([[V2]], [[V2]], [[V1]]) [[[FS0]]]
Return ([[V1]])
frame states:
- [[FS0]]: pc 5 after -> r7 {r6=[[V1]]} frame [r7]
+ [[FS0]]: pc 3 after -> r7 {r6=[[V1]]} frame [r7]
",
);
}
@@ -774,10 +774,10 @@ fn trivial_frame_operations_are_native() {
[[V5]] = IsCallable ([[V2]])
[[V6]]:pointer = SetLexicalEnvironment ([[V2]])
LeavePrivateEnvironment
- CallSlowPath Throw @33 ([[V5]]) [[[FS0]]]
+ CallSlowPath Throw @21 ([[V5]]) [[[FS0]]]
Unreachable
frame states:
- [[FS0]]: pc 33 after {}
+ [[FS0]]: pc 21 after {}
",
);
}
@@ -898,7 +898,7 @@ pub(crate) mod property_access {
Return ([[V17]])
frame states:
[[FS0]]: pc 0 at {} frame [a0]
- [[FS1]]: pc 26 at {r5=[[V6]], r6=[[V6]]} frame [a0]
+ [[FS1]]: pc 24 at {r5=[[V6]], r6=[[V6]]} frame [a0]
",
);
}
@@ -941,7 +941,7 @@ pub(crate) mod property_access {
Return ([[V19]])
frame states:
[[FS0]]: pc 0 at {} frame [a0]
- [[FS1]]: pc 13 at {r5=[[V6]]} frame [a0]
+ [[FS1]]: pc 12 at {r5=[[V6]]} frame [a0]
",
);
}
@@ -1351,7 +1351,7 @@ pub(crate) mod property_access {
(1 | (1 << 5) | (1 << 9), Vec::new()),
(
1 | (1 << 5),
- vec![(0, ExitKind::BadElements), (15, ExitKind::OutOfBounds)],
+ vec![(0, ExitKind::BadElements), (12, ExitKind::OutOfBounds)],
),
] {
let text = dump_element_loads(bits, exit_sites);
@@ -1554,15 +1554,15 @@ pub(crate) mod property_access {
CheckShape [0x100] ([[V1]], [[V4]]) [[[FS0]]]
StoreNamed +2 ([[V1]], #10, [[V4]]) [[[FS0]]]
[[V13]] = LoadSlot l1
- [[V14]] = CallSlowPath Exp @28 ([[V13]], #10) [[[FS1]]]
+ [[V14]] = CallSlowPath Exp @26 ([[V13]], #10) [[[FS1]]]
CheckShape [0x100] ([[V1]], [[V4]]) [[[FS2]]]
[[V19]] = LoadNamed +2 ([[V1]], [[V4]]) [[[FS2]]]
[[V20]] = EmptyToUndefined ([[V19]])
Return ([[V20]])
frame states:
[[FS0]]: pc 0 at {} frame [l1, a0]
- [[FS1]]: pc 28 after -> l1 {r5=#10} frame [a0]
- [[FS2]]: pc 37 at {r5=#10} frame [a0]
+ [[FS1]]: pc 26 after -> l1 {r5=#10} frame [a0]
+ [[FS2]]: pc 32 at {r5=#10} frame [a0]
",
);
}
@@ -1972,12 +1972,12 @@ pub(crate) mod inlining {
[[B9]] <- [[B4]] cold:
Jump [[B10]]
[[B10]] <- [[B8]], [[B9]] cold:
- CallSlowPath SetLexicalBinding @34 ([[V16]]) [[[FS2]]]
+ CallSlowPath SetLexicalBinding @31 ([[V16]]) [[[FS2]]]
Jump [[B6]]
frame states:
[[FS0]]: pc 16 at {r5=[[V6]]}
[[FS1]]: pc 25 after -> r7 {} frame [r7]
- [[FS2]]: pc 34 at {r7=[[V16]]}
+ [[FS2]]: pc 31 at {r7=[[V16]]}
",
);
// Inlined callees have constant ones: those of their function.
@@ -2022,14 +2022,14 @@ pub(crate) mod inlining {
[[B11]] <- [[B5]] cold:
Jump [[B12]]
[[B12]] <- [[B10]], [[B11]] cold:
- CallSlowPath SetLexicalBinding @e1:34 ([[V21]]) [[[FS4]]]
+ CallSlowPath SetLexicalBinding @e1:31 ([[V21]]) [[[FS4]]]
Jump [[B7]]
frame states:
[[FS0]]: pc 1 at {} frame [a0]
[[FS1]]: pc 1 after -> r5 {}
[[FS2]]: e1 pc 16 at {r0=#empty, r2=#empty, r3=#empty, r4=#empty, r5=[[V11]]} in [[FS1]]
[[FS3]]: e1 pc 25 after -> r7 {r0=#empty, r2=#empty, r3=#empty, r4=#empty, r7=#empty} in [[FS1]]
- [[FS4]]: e1 pc 34 at {r0=#empty, r2=#empty, r3=#empty, r4=#empty, r7=[[V21]]} in [[FS1]]
+ [[FS4]]: e1 pc 31 at {r0=#empty, r2=#empty, r3=#empty, r4=#empty, r7=[[V21]]} in [[FS1]]
",
);
}
@@ -2079,9 +2079,9 @@ pub(crate) mod inlining {
[[B2]] (pc 0) <- [[B1]]:
Exit NoFeedback [[[FS2]]]
frame states:
- [[FS0]]: pc 6 at {r6=#0} frame [a0]
- [[FS1]]: pc 6 after -> r5 {r6=#0}
- [[FS2]]: e1 pc 6 at {r0=#empty, r2=#empty, r3=#empty, r4=#empty, l0=#10} in [[FS1]]
+ [[FS0]]: pc 4 at {r6=#0} frame [a0]
+ [[FS1]]: pc 4 after -> r5 {r6=#0}
+ [[FS2]]: e1 pc 4 at {r0=#empty, r2=#empty, r3=#empty, r4=#empty, l0=#10} in [[FS1]]
",
);
}
diff --git a/Libraries/LibJS/JIT/Rust/src/bytecode/instruction.rs b/Libraries/LibJS/JIT/Rust/src/bytecode/instruction.rs
index c9c449f38c2..3856cb6212a 100644
--- a/Libraries/LibJS/JIT/Rust/src/bytecode/instruction.rs
+++ b/Libraries/LibJS/JIT/Rust/src/bytecode/instruction.rs
@@ -24,6 +24,15 @@ impl Operand {
/// The encoding of an absent `Optional<Operand>`.
pub const INVALID: u32 = 0xFFFF_FFFF;
+ /// The raw operand that an operand byte of the bytecode stands for, `INVALID` for an absent one.
+ pub fn raw_from_byte(byte: u8) -> u32 {
+ if byte == u8::MAX {
+ Self::INVALID
+ } else {
+ u32::from(byte)
+ }
+ }
+
pub fn from_raw(raw: u32) -> Self {
Self(raw)
}
@@ -142,7 +151,7 @@ pub struct SlowPathField {
pub struct SlowPathArray {
/// Byte offset of the first operand of the array within the instruction.
pub instruction_offset: u32,
- /// Byte offset of the u32 element count within the instruction.
+ /// Byte offset of the one-byte element count within the instruction.
pub count_offset: u32,
pub optional: bool,
}
@@ -222,6 +231,21 @@ fn narrow_index(index: u32) -> u16 {
u16::try_from(index).expect("bytecode indices fit in 16 bits")
}
+#[cfg(test)]
+fn name_index_bytes(index: u32) -> [u8; 3] {
+ let [low, middle, high, _] = index.to_le_bytes();
+ [low, middle, high]
+}
+
+#[cfg(test)]
+fn debug_name_index(index: Option<u32>) -> u16 {
+ index.and_then(|index| u16::try_from(index).ok()).unwrap_or(u16::MAX)
+}
+
+fn read_u24(bytes: &[u8], at: usize) -> u32 {
+ u32::from_le_bytes([bytes[at], bytes[at + 1], bytes[at + 2], 0])
+}
+
fn read_u16(bytes: &[u8], at: usize) -> u16 {
u16::from_ne_bytes(bytes[at..at + 2].try_into().unwrap())
}
@@ -247,7 +271,14 @@ pub fn decode_instruction(bytes: &[u8], pc: u32) -> Result<DecodedInstruction, D
return Err(error(DecodeErrorKind::TruncatedInstruction));
}
let length_u32 = u32::try_from(length).map_err(|_| error(DecodeErrorKind::InvalidLength))?;
- let instruction = decode_fields(opcode, bytes, at, length).map_err(error)?;
+ let instruction = match decode_fields(opcode, bytes, at, length).map_err(error)? {
+ // NB: The rest of the compiler has no reason to care how far up the frame a move reaches.
+ Instruction::MovWide { dst_slot, src_slot } => Instruction::Mov {
+ dst: Operand::from_raw(dst_slot),
+ src: Operand::from_raw(src_slot),
+ },
+ instruction => instruction,
+ };
Ok(DecodedInstruction {
pc,
length: length_u32,
@@ -294,12 +325,12 @@ mod tests {
#[test]
fn decodes_hand_assembled_mov() {
let mut bytes = vec![OpCode::Mov as u8];
- bytes.extend(7u16.to_ne_bytes()); // dst
- bytes.extend(12u16.to_ne_bytes()); // src
+ bytes.push(7); // dst
+ bytes.push(12); // src
let decoded = decode_instruction(&bytes, 0).unwrap();
assert_eq!(decoded.pc, 0);
- assert_eq!(decoded.length, 5);
+ assert_eq!(decoded.length, 3);
assert_eq!(
decoded.instruction,
Instruction::Mov {
@@ -320,15 +351,15 @@ mod tests {
fn decodes_hand_assembled_jump_if() {
let mut bytes = vec![0; 16];
let mut jump = vec![OpCode::JumpIf as u8];
- jump.extend(5u16.to_ne_bytes()); // condition
+ jump.push(5); // condition
jump.extend(32u32.to_ne_bytes()); // true_target
jump.extend(48u32.to_ne_bytes()); // false_target
bytes.extend(jump);
let decoded = decode_instruction(&bytes, 16).unwrap();
assert_eq!(decoded.pc, 16);
- assert_eq!(decoded.length, 11);
- assert_eq!(decoded.next_pc(), 27);
+ assert_eq!(decoded.length, 10);
+ assert_eq!(decoded.next_pc(), 26);
assert_eq!(
decoded.instruction,
Instruction::JumpIf {
@@ -390,6 +421,7 @@ mod tests {
elements: vec![0x7ff8_0000_0000_0001, 42],
},
Instruction::NewClass {
+ element_keys_are_in_array: false,
dst: operand(6),
super_class: None,
proto_parent: None,
@@ -486,7 +518,7 @@ mod tests {
src: operand(6),
}
.encode(&mut mov);
- assert_eq!(error(&mov[..4]), DecodeErrorKind::TruncatedInstruction);
+ assert_eq!(error(&mov[..2]), DecodeErrorKind::TruncatedInstruction);
let mut call = Vec::new();
Instruction::Call {
@@ -500,18 +532,18 @@ mod tests {
arguments: vec![operand(8)],
}
.encode(&mut call);
- // Call's layout: header, value and call feedback slots, dst, callee, this_value, argument_count at 11.
+ // Call's layout: header, value and call feedback slots, dst, callee, this_value, argument_count at 8.
let mut too_many_arguments = call.clone();
- too_many_arguments[11..15].copy_from_slice(&100u32.to_ne_bytes());
+ too_many_arguments[8] = 100;
assert_eq!(error(&too_many_arguments), DecodeErrorKind::TruncatedInstruction);
- assert_eq!(error(&call[..call.len() - 2]), DecodeErrorKind::TruncatedInstruction);
+ assert_eq!(error(&call[..call.len() - 1]), DecodeErrorKind::TruncatedInstruction);
let mut stream = mov.clone();
- stream.extend(&mov[..4]);
+ stream.extend(&mov[..2]);
assert_eq!(
decode_all(&stream).unwrap_err(),
DecodeError {
- pc: 5,
+ pc: 3,
kind: DecodeErrorKind::TruncatedInstruction
}
);
diff --git a/Libraries/LibJS/JIT/Rust/src/codegen/mod.rs b/Libraries/LibJS/JIT/Rust/src/codegen/mod.rs
index 04fad64d12a..d897cadbcdd 100644
--- a/Libraries/LibJS/JIT/Rust/src/codegen/mod.rs
+++ b/Libraries/LibJS/JIT/Rust/src/codegen/mod.rs
@@ -742,7 +742,7 @@ impl<M: PortableMacroAssembler> Codegen<'_, M> {
outgoing_bytes = outgoing_bytes.max(8 * stack_arguments);
let array_count = layout
.array
- .map_or(Ok(0), |array| self.read_u32(executable, pc, array.count_offset))?;
+ .map_or(Ok(0), |array| self.read_array_count(executable, pc, array))?;
let record = match layout.abi {
SlowPathAbi::Scalar => 0,
SlowPathAbi::ScalarInputs => layout.fields.len() as u32,
@@ -914,37 +914,33 @@ impl<M: PortableMacroAssembler> Codegen<'_, M> {
})
}
- /// The operand at `offset` in the instruction at `pc` of executable `executable`, `Operand::INVALID` if absent.
- fn read_operand(&self, executable: u32, pc: u32, offset: u32) -> Result<u32, CompileFailure> {
- let at = (pc + offset) as usize;
- let bytes =
- self.executables[executable as usize]
- .bytecode
- .get(at..at + 2)
- .ok_or(CompileFailure::InvalidBytecode {
- pc,
- reason: "operand field outside the bytecode",
- })?;
- let raw = u16::from_ne_bytes(bytes.try_into().expect("two bytes"));
- Ok(if raw == u16::MAX {
- crate::bytecode::Operand::INVALID
- } else {
- u32::from(raw)
- })
+ /// How many elements the array of the instruction at `pc` of executable `executable` holds.
+ fn read_array_count(
+ &self,
+ executable: u32,
+ pc: u32,
+ array: crate::bytecode::SlowPathArray,
+ ) -> Result<u32, CompileFailure> {
+ Ok(u32::from(self.read_u8(executable, pc, array.count_offset)?))
}
- /// The u32 at `offset` in the instruction at `pc` of executable `executable`.
- fn read_u32(&self, executable: u32, pc: u32, offset: u32) -> Result<u32, CompileFailure> {
+ /// The byte at `offset` in the instruction at `pc` of executable `executable`.
+ fn read_u8(&self, executable: u32, pc: u32, offset: u32) -> Result<u8, CompileFailure> {
let at = (pc + offset) as usize;
- let bytes =
- self.executables[executable as usize]
- .bytecode
- .get(at..at + 4)
- .ok_or(CompileFailure::InvalidBytecode {
- pc,
- reason: "operand field outside the bytecode",
- })?;
- Ok(u32::from_ne_bytes(bytes.try_into().expect("four bytes")))
+ let byte = self.executables[executable as usize]
+ .bytecode
+ .get(at)
+ .ok_or(CompileFailure::InvalidBytecode {
+ pc,
+ reason: "field outside the bytecode",
+ })?;
+ Ok(*byte)
+ }
+
+ /// The operand at `offset` in the instruction at `pc` of executable `executable`, `Operand::INVALID` if absent.
+ fn read_operand(&self, executable: u32, pc: u32, offset: u32) -> Result<u32, CompileFailure> {
+ let byte = self.read_u8(executable, pc, offset)?;
+ Ok(crate::bytecode::Operand::raw_from_byte(byte))
}
// Prologue and tails.
@@ -2679,8 +2675,8 @@ impl<M: PortableMacroAssembler> Codegen<'_, M> {
}
}
if let Some(array) = layout.array {
- for element in 0..self.read_u32(executable, pc, array.count_offset)? {
- operands.push(self.read_operand(executable, pc, array.instruction_offset + 2 * element)?);
+ for element in 0..self.read_array_count(executable, pc, array)? {
+ operands.push(self.read_operand(executable, pc, array.instruction_offset + element)?);
}
}
}
@@ -3001,10 +2997,10 @@ impl<M: PortableMacroAssembler> Codegen<'_, M> {
}
}
if let Some(array) = layout.array {
- let count = self.read_u32(executable, pc, array.count_offset)?;
+ let count = self.read_array_count(executable, pc, array)?;
let first_input = input_index(layout.fields.len());
for element in 0..count {
- let operand = self.read_operand(executable, pc, array.instruction_offset + 2 * element)?;
+ let operand = self.read_operand(executable, pc, array.instruction_offset + element)?;
load(self, scratch, operand, first_input + element as usize)?;
let index = layout.fields.len() as u32 + element;
let address = self.local_address(self.locals.record + 8 * index);
diff --git a/Libraries/LibJS/Rust/generate/instructions.rs b/Libraries/LibJS/Rust/generate/instructions.rs
index 1bebc33b270..fbd544f9933 100644
--- a/Libraries/LibJS/Rust/generate/instructions.rs
+++ b/Libraries/LibJS/Rust/generate/instructions.rs
@@ -30,6 +30,7 @@ use flapc::rust_bytecode::generate_num_opcodes_const;
use flapc::rust_bytecode::generate_opcode_enum;
use flapc::rust_bytecode::generate_typed_instructions;
use flapc::rust_bytecode::rust_field_name;
+use flapc::rust_bytecode::scaled;
use std::fs;
use std::io::Write;
use std::path::Path;
@@ -58,6 +59,7 @@ fn generate_rust_code(
generate_instruction_feedback_slots_from_bytes(&mut w, ops)?;
generate_instruction_dump_from_bytes(&mut w, ops)?;
generate_visit_labels_from_bytes(&mut w, ops)?;
+ generate_visit_operands_from_bytes(&mut w, ops)?;
generate_instruction_is_terminator_from_opcode(&mut w, ops)?;
generate_specialization_selector(&mut w, ops, specializations, specialized_ops)?;
generate_typed_instructions(
@@ -255,10 +257,8 @@ fn generate_array_bounds(
let elem_size = field_type_info(&f.ty).size;
writeln!(w, " let {rname}_offset = at + {offset};")?;
writeln!(w, " let {rname}_count = {count_name} as usize;")?;
- writeln!(
- w,
- " let {rname}_end = {rname}_offset + {rname}_count * {elem_size};"
- )?;
+ let length = scaled(&format!("{rname}_count"), elem_size);
+ writeln!(w, " let {rname}_end = {rname}_offset + {length};")?;
}
Ok(())
}
@@ -399,7 +399,7 @@ fn generate_instruction_dump_from_bytes(
" dumper.append_piece(|dumper| dumper.append_identifier_quoted({rname}.0));"
)?;
}
- "Optional<IdentifierTableIndex>" => {
+ "Optional<IdentifierTableIndex>" | "Optional<DebugIdentifierIndex>" => {
let mut property_key_field = None;
let mut property_operand_field = None;
for other in &op.fields {
@@ -447,7 +447,7 @@ fn generate_instruction_dump_from_bytes(
w,
" dumper.append_piece(|dumper| dumper.append_string({rname}.0));"
)?,
- "Optional<StringTableIndex>" => {
+ "Optional<StringTableIndex>" | "Optional<DebugStringIndex>" => {
writeln!(w, " if let Some({rname}) = {rname} {{")?;
writeln!(
w,
@@ -489,6 +489,57 @@ fn generate_instruction_dump_from_bytes(
Ok(())
}
+/// Emit the function that finds every operand of the instruction at an offset, for the code that rewrites what
+/// has been assembled. It calls the visitor with the offset of the operand and whether the instruction reads it,
+/// writes it, and may leave it out.
+fn generate_visit_operands_from_bytes(
+ mut w: impl Write,
+ ops: &[InstructionDefinition],
+) -> Result<(), Box<dyn std::error::Error>> {
+ writeln!(w, "#[allow(unused_variables)]")?;
+ writeln!(
+ w,
+ "pub fn visit_operands_from_bytes(opcode: u8, bytes: &[u8], at: usize, visitor: &mut dyn FnMut(usize, bool, bool, bool)) {{"
+ )?;
+ writeln!(w, " match opcode {{")?;
+ for (i, op) in ops.iter().enumerate() {
+ let operand_fields: Vec<&Field> = user_fields(op)
+ .into_iter()
+ .filter(|f| f.ty == "Operand" || f.ty == "Optional<Operand>")
+ .collect();
+ if operand_fields.is_empty() {
+ continue;
+ }
+ writeln!(w, " {i} => {{")?;
+ generate_field_reads(&mut w, op, READER)?;
+ for f in operand_fields {
+ let offset = op.layout.field_offsets[&f.name];
+ let reads = f.mode != flapc::metadata::ParameterMode::Out;
+ let writes = f.mode != flapc::metadata::ParameterMode::In;
+ let optional = f.ty != "Operand";
+ if f.is_array {
+ let count = rust_field_name(count_field_name(op, f));
+ let element_size = op.array.as_ref().expect("array metadata").element_size;
+ writeln!(w, " for index in 0..{count} as usize {{")?;
+ let element_offset = scaled("index", element_size);
+ writeln!(
+ w,
+ " visitor(at + {offset} + {element_offset}, {reads}, {writes}, {optional});"
+ )?;
+ writeln!(w, " }}")?;
+ } else {
+ writeln!(w, " visitor(at + {offset}, {reads}, {writes}, {optional});")?;
+ }
+ }
+ writeln!(w, " }}")?;
+ }
+ writeln!(w, " _ => {{}}")?;
+ writeln!(w, " }}")?;
+ writeln!(w, "}}")?;
+ writeln!(w)?;
+ Ok(())
+}
+
fn generate_visit_labels_from_bytes(
mut w: impl Write,
ops: &[InstructionDefinition],
diff --git a/Libraries/LibJS/Rust/generate/ops.rs b/Libraries/LibJS/Rust/generate/ops.rs
index f4b3e6ff4ce..63f8f99f3c9 100644
--- a/Libraries/LibJS/Rust/generate/ops.rs
+++ b/Libraries/LibJS/Rust/generate/ops.rs
@@ -11,6 +11,7 @@ use std::collections::BTreeSet;
use std::fmt::Write;
use flapc::metadata::{InstructionDefinition, SlowPathLayout, field_type_info};
+use flapc::rust_bytecode::scaled;
const RUST_KEYWORDS: &[&str] = &[
"abstract", "as", "async", "await", "become", "box", "break", "const", "continue", "do", "dyn", "else", "enum",
@@ -41,6 +42,8 @@ fn rust_type(ty: &str) -> String {
"IdentifierTableIndex" | "PropertyKeyTableIndex" | "StringTableIndex" => ty.to_string(),
"Optional<IdentifierTableIndex>" => "OptionalIndex<IdentifierTableIndex>".to_string(),
"Optional<StringTableIndex>" => "OptionalIndex<StringTableIndex>".to_string(),
+ "Optional<DebugIdentifierIndex>" => "OptionalDebugIndex<IdentifierTableIndex>".to_string(),
+ "Optional<DebugStringIndex>" => "OptionalDebugIndex<StringTableIndex>".to_string(),
"EnvironmentCoordinate" => "EnvironmentCoordinate".to_string(),
"Value" => "Value".to_string(),
"Builtin" => "u8".to_string(),
@@ -48,6 +51,7 @@ fn rust_type(ty: &str) -> String {
let info = field_type_info(ty);
match info.kind {
"bool" | "u8" | "u16" | "i32" | "u32" | "u64" => info.kind.to_string(),
+ "byte_count" => "u8".to_string(),
"cache_index" => "u16".to_string(),
other => panic!("no Rust view for bytecode field type {ty} ({other})"),
}
@@ -123,11 +127,19 @@ pub fn generate(ops: &[InstructionDefinition], ops_with_values: &BTreeSet<String
);
}
(None, Some(array)) => {
- let count_field = field_name(&op.fields[array.count_field_index].name);
+ let count_field = &op.fields[array.count_field_index];
+ let count_name = field_name(&count_field.name);
+ let count = if rust_type(&count_field.ty) == "u32" {
+ format!("self.{count_name}")
+ } else {
+ format!("u32::from(self.{count_name})")
+ };
let _ = writeln!(
out,
- "impl {} {{\n /// The instruction's size in the bytecode.\n pub fn length(&self) -> u32 {{\n let count = self.{count_field};\n {} + count * {}\n }}\n}}",
- op.name, op.layout.minimum_size, array.element_size
+ "impl {} {{\n /// The instruction's size in the bytecode.\n pub fn length(&self) -> u32 {{\n let count = {count};\n {} + {}\n }}\n}}",
+ op.name,
+ op.layout.minimum_size,
+ scaled("count", array.element_size)
);
}
(None, None) => panic!("{} has neither a fixed size nor a count field", op.name),
diff --git a/Libraries/LibJS/Rust/src/bytecode/codegen/constructs.rs b/Libraries/LibJS/Rust/src/bytecode/codegen/constructs.rs
index b89be199a6f..d5a50f74fa7 100644
--- a/Libraries/LibJS/Rust/src/bytecode/codegen/constructs.rs
+++ b/Libraries/LibJS/Rust/src/bytecode/codegen/constructs.rs
@@ -49,6 +49,7 @@ use super::stream::OpenIterator;
use super::stream::ScopeEnvironment;
use super::stream::TargetBinding;
use super::stream::ValKind;
+use super::stream::{MAX_OPERAND_LIST_LENGTH, operand_list_count};
use super::sweep::declaration_kind_of_mark;
use super::sweep::is_anonymous_function_definition;
use super::sweep::next_tag;
@@ -348,6 +349,14 @@ impl Generator<'_> {
private_environment
});
self.end_class_scope(environment);
+ let element_keys_are_in_array = element_keys.len() > MAX_OPERAND_LIST_LENGTH;
+ if element_keys_are_in_array {
+ let undefined = self.context.constants.add_undefined();
+ let keys: Vec<Operand> = element_keys.iter().map(|key| key.unwrap_or(undefined)).collect();
+ let array = self.temporary();
+ self.put_new_array(array, &keys);
+ element_keys = vec![Some(array)];
+ }
self.put(op::NewClass {
dst,
super_class,
@@ -356,7 +365,8 @@ impl Generator<'_> {
class_environment: environment.register,
class_blueprint_index: blueprint_index,
lhs_name,
- element_keys_count: u32_from_usize(element_keys.len()),
+ element_keys_are_in_array,
+ element_keys_count: operand_list_count(element_keys.len()),
element_keys: &element_keys,
});
if let Some(private_environment) = private_environment {
@@ -634,9 +644,11 @@ impl Generator<'_> {
let first_temporary = self.next_temporary();
let dst = self.temporary();
let cache = self.next_template_object_cache();
+ let strings_are_in_array = self.fit_operand_list(&mut strings);
self.put(op::GetTemplateObject {
dst,
- strings_count: u32_from_usize(strings.len()),
+ strings_are_in_array,
+ strings_count: operand_list_count(strings.len()),
cache,
strings: &strings,
});
@@ -1760,11 +1772,13 @@ impl Generator<'_> {
if item_tag == tag::REST {
let target = NodeId(tree.node_a(item));
self.prepare_pattern_target(target, row, mode)?;
+ let excluded_names_are_in_array = self.fit_operand_list(&mut excluded_names);
let copy = self.temporary();
self.put(op::CopyObjectExcludingProperties {
dst: copy,
from_object: object,
- excluded_names_count: u32_from_usize(excluded_names.len()),
+ excluded_names_are_in_array,
+ excluded_names_count: operand_list_count(excluded_names.len()),
excluded_names: &excluded_names,
});
self.bind_target(target, row, copy, mode)?;
diff --git a/Libraries/LibJS/Rust/src/bytecode/codegen/context.rs b/Libraries/LibJS/Rust/src/bytecode/codegen/context.rs
index 5d0bcc1007d..42b24e73276 100644
--- a/Libraries/LibJS/Rust/src/bytecode/codegen/context.rs
+++ b/Libraries/LibJS/Rust/src/bytecode/codegen/context.rs
@@ -27,7 +27,6 @@ use crate::bytecode::instruction::Instruction;
use crate::bytecode::instruction::OpCode;
use crate::bytecode::instruction::typed as op;
use crate::bytecode::instruction::typed::TypedInstruction;
-use crate::bytecode::operand::UNCACHED_SITE;
use crate::bytecode::operand::*;
use crate::bytecode::source_map::SourceOffset;
use crate::parser::EnclosingCode;
diff --git a/Libraries/LibJS/Rust/src/bytecode/codegen/emitter.rs b/Libraries/LibJS/Rust/src/bytecode/codegen/emitter.rs
index 5d1752517e6..1dc9be96004 100644
--- a/Libraries/LibJS/Rust/src/bytecode/codegen/emitter.rs
+++ b/Libraries/LibJS/Rust/src/bytecode/codegen/emitter.rs
@@ -32,10 +32,10 @@ pub(super) struct BlockPosition {
pub(super) offset: u32,
}
-/// How many bytes an operand takes in an instruction.
-pub(super) const OPERAND_SIZE: usize = 2;
+/// The first frame slot that an operand cannot name, which is what an operand that is left out holds.
+pub(crate) const FIRST_WIDE_SLOT: u32 = 255;
-/// Where an operand that is not a register sits in a block, and what kind of operand it is.
+/// Where an operand that is not a low register sits in a block, and what kind of operand it is.
#[derive(Clone, Copy)]
pub(super) struct OperandPosition {
pub(super) offset: u32,
@@ -89,7 +89,9 @@ impl BlockEncoder<'_> {
self.watched = Operand::invalid();
self.watched_position = u32_from_usize(self.bytes.len() + offset);
}
- assert!(operand.index() < u32::from(u16::MAX), "registers fit in an operand");
+ if operand.index() >= FIRST_WIDE_SLOT {
+ self.note_operand(offset, operand);
+ }
}
OperandType::Argument => {
*self.number_of_arguments = (*self.number_of_arguments).max(operand.index() + 1);
diff --git a/Libraries/LibJS/Rust/src/bytecode/codegen/stream.rs b/Libraries/LibJS/Rust/src/bytecode/codegen/stream.rs
index 1e50ab679f9..7c0c4410657 100644
--- a/Libraries/LibJS/Rust/src/bytecode/codegen/stream.rs
+++ b/Libraries/LibJS/Rust/src/bytecode/codegen/stream.rs
@@ -29,9 +29,12 @@ use crate::bytecode::executable_data::ConstantValue;
use crate::bytecode::executable_data::ExceptionHandler;
use crate::bytecode::executable_data::StrictRange;
use crate::bytecode::instruction::Instruction;
+use crate::bytecode::instruction::OpCode;
+use crate::bytecode::instruction::instruction_length_from_bytes;
use crate::bytecode::instruction::specialize_instruction;
use crate::bytecode::instruction::typed as op;
use crate::bytecode::instruction::typed::TypedInstruction;
+use crate::bytecode::instruction::visit_operands_from_bytes;
use crate::bytecode::operand::*;
use crate::bytecode::source_map::SourceOffset;
use crate::bytecode::source_map::SourceOffsetEntry;
@@ -46,8 +49,8 @@ use super::context::Generator;
use super::emitter::AssembledBytecode;
use super::emitter::BlockEncoder;
use super::emitter::BlockPosition;
+use super::emitter::FIRST_WIDE_SLOT;
use super::emitter::FrameLayout;
-use super::emitter::OPERAND_SIZE;
use super::emitter::OperandPosition;
use super::generators::DisposalKind;
use super::generators::emit_dispose_resources;
@@ -201,6 +204,282 @@ struct LastComparison {
rhs: Operand,
}
+impl Stream {
+ /// Rewrites a function with more frame slots than operands can name: what reads or writes one of the others
+ /// goes through a low temporary and a `MovWide`, and instructions are in their final form afterwards.
+ /// The temporaries come right after the reserved registers, and everything else moves up to make room.
+ fn spill_wide_slots(&mut self, frame: FrameLayout, new_constant_indices: &[u32]) -> FrameLayout {
+ let head_size = u32_from_usize(self.head.bytes.len());
+ let mut bytes = core::mem::take(&mut self.head.bytes);
+ bytes.extend_from_slice(&self.current.bytes);
+ let mut noted: Vec<OperandPosition> = self.head.operand_positions.clone();
+ noted.extend(self.current.operand_positions.iter().map(|position| OperandPosition {
+ offset: position.offset + head_size,
+ ..*position
+ }));
+ noted.sort_unstable_by_key(|position| position.offset);
+ let slot_of = |field: &SpilledField, temporaries: u32| match field.operand_type {
+ OperandType::Register if field.index < Register::RESERVED_COUNT => field.index,
+ OperandType::Register => field.index + temporaries,
+ operand_type => frame.start_of(operand_type) + temporaries + field.index,
+ };
+
+ let (instructions, fields) = spilled_instructions(&bytes, &noted, new_constant_indices);
+ let fields_of = |instruction: &SpilledInstruction| &fields[instruction.fields.clone()];
+
+ // NB: More temporaries push more slots out of reach, which can take more temporaries. This ends, because an
+ // instruction has a limited number of operands.
+ let mut temporaries = 0;
+ loop {
+ let needed = instructions
+ .iter()
+ .map(|instruction| {
+ let wide = fields_of(instruction)
+ .iter()
+ .filter(|field| slot_of(field, temporaries) >= FIRST_WIDE_SLOT);
+ u32_from_usize(wide.count())
+ })
+ .max()
+ .unwrap_or(0);
+ if needed <= temporaries {
+ break;
+ }
+ temporaries = needed;
+ }
+
+ let mut result = Vec::with_capacity(bytes.len() + bytes.len() / 4);
+ let mut edits: Vec<SpillEdit> = Vec::new();
+ let mut writes_after = Vec::new();
+ let mut slots = Vec::new();
+ let mut delta = 0;
+ for instruction in &instructions {
+ let (at, length, fields) = (instruction.at, instruction.length, fields_of(instruction));
+ let mut next_temporary = Register::RESERVED_COUNT;
+ slots.clear();
+ for field in fields {
+ let slot = slot_of(field, temporaries);
+ if slot < FIRST_WIDE_SLOT {
+ slots.push(slot);
+ continue;
+ }
+ let temporary = next_temporary;
+ next_temporary += 1;
+ if field.reads {
+ put_wide_move(&mut result, temporary, slot);
+ }
+ if field.writes {
+ writes_after.push((slot, temporary));
+ }
+ slots.push(temporary);
+ }
+ let copy = u32_from_usize(result.len());
+ result.extend_from_slice(&bytes[at as usize..(at + length) as usize]);
+ for (field, &slot) in fields.iter().zip(&slots) {
+ write_slot(&mut result, field.at - at + copy, slot);
+ }
+ let spilled = next_temporary != Register::RESERVED_COUNT;
+ for (slot, temporary) in writes_after.drain(..) {
+ put_wide_move(&mut result, slot, temporary);
+ }
+ if spilled {
+ let after = u32_from_usize(result.len()) - (at + length);
+ edits.push(SpillEdit {
+ at,
+ length,
+ before: delta,
+ copy: copy - at,
+ after,
+ });
+ delta = after;
+ }
+ }
+
+ // NB: Only instructions that got moves around them are in `edits`: the others moved with the one before them.
+ let edit_of = |offset: u32| edits[..edits.partition_point(|edit| edit.at <= offset)].last();
+ let start_of = |offset: u32| match edit_of(offset) {
+ Some(edit) if edit.at == offset => offset + edit.before,
+ Some(edit) => offset + edit.after,
+ None => offset,
+ };
+ for position in &mut self.current.label_positions {
+ let offset = position.offset + head_size;
+ position.offset = match edit_of(offset) {
+ Some(edit) if offset < edit.at + edit.length => offset + edit.copy,
+ Some(edit) => offset + edit.after,
+ None => offset,
+ };
+ }
+ for label in &mut self.labels {
+ if *label != UNBOUND {
+ *label = start_of(*label + head_size);
+ }
+ }
+ for change in &mut self.handler_changes {
+ change.0 = start_of(change.0 + head_size);
+ }
+ // NB: The source entries are in order, so the edit of each one is at or after the edit of the one before.
+ let mut next_edit = 0;
+ let source_entries: Vec<_> = self
+ .head
+ .source_entries
+ .iter()
+ .copied()
+ .chain(
+ self.current
+ .source_entries
+ .iter()
+ .map(|&(offset, source)| (offset + head_size, source)),
+ )
+ .map(|(offset, source)| {
+ while edits.get(next_edit).is_some_and(|edit| edit.at <= offset) {
+ next_edit += 1;
+ }
+ let start = match next_edit.checked_sub(1).map(|index| &edits[index]) {
+ Some(edit) if edit.at == offset => offset + edit.before,
+ Some(edit) => offset + edit.after,
+ None => offset,
+ };
+ (start, source)
+ })
+ .collect();
+ let strict_ranges: Vec<_> = self
+ .head
+ .strict_ranges
+ .iter()
+ .copied()
+ .chain(self.current.strict_ranges.iter().map(|range| StrictRange {
+ start_offset: range.start_offset + head_size,
+ end_offset: range.end_offset + head_size,
+ }))
+ .map(|range| StrictRange {
+ start_offset: start_of(range.start_offset),
+ end_offset: start_of(range.end_offset),
+ })
+ .collect();
+ self.head.clear();
+ self.current.bytes = result;
+ self.current.operand_positions.clear();
+ self.current.source_entries = source_entries;
+ self.current.strict_ranges = strict_ranges;
+ FrameLayout {
+ register_count: frame.register_count + temporaries,
+ ..frame
+ }
+ }
+}
+
+/// An operand of an instruction that `Stream::spill_wide_slots` is rewriting.
+struct SpilledField {
+ at: u32,
+ reads: bool,
+ writes: bool,
+ operand_type: OperandType,
+ index: u32,
+}
+
+/// An instruction that got moves around it, and how far the code moved.
+struct SpillEdit {
+ at: u32,
+ length: u32,
+ /// How far the instruction before it moved, which is where the moves of this one start.
+ before: u32,
+ /// How far the instruction itself moved.
+ copy: u32,
+ /// How far what comes after it moved.
+ after: u32,
+}
+
+/// An instruction that `Stream::spill_wide_slots` is rewriting, with the range of its operands in the list of them.
+struct SpilledInstruction {
+ at: u32,
+ length: u32,
+ fields: core::ops::Range<usize>,
+}
+
+/// The instructions of `bytes`, and the operands of all of them.
+fn spilled_instructions(
+ bytes: &[u8],
+ noted: &[OperandPosition],
+ new_constant_indices: &[u32],
+) -> (Vec<SpilledInstruction>, Vec<SpilledField>) {
+ let mut instructions = Vec::new();
+ let mut fields = Vec::new();
+ let mut next_noted = 0;
+ let mut at = 0;
+ while at < bytes.len() {
+ let opcode = bytes[at];
+ let length = instruction_length_from_bytes(opcode, bytes, at).expect("a valid instruction");
+ let first_field = fields.len();
+ visit_operands_from_bytes(opcode, bytes, at, &mut |field_at, reads, writes, optional| {
+ let field_at = u32_from_usize(field_at);
+ while noted.get(next_noted).is_some_and(|position| position.offset < field_at) {
+ next_noted += 1;
+ }
+ let (operand_type, index) = match noted.get(next_noted).filter(|position| position.offset == field_at) {
+ Some(position) if position.operand_type == OperandType::Constant => {
+ (OperandType::Constant, new_constant_indices[position.index as usize])
+ }
+ Some(position) => (position.operand_type, position.index),
+ None => {
+ let raw = read_slot(bytes, field_at);
+ if optional && raw == FIRST_WIDE_SLOT {
+ return;
+ }
+ (OperandType::Register, raw)
+ }
+ };
+ fields.push(SpilledField {
+ at: field_at,
+ reads,
+ writes,
+ operand_type,
+ index,
+ });
+ });
+ instructions.push(SpilledInstruction {
+ at: u32_from_usize(at),
+ length: u32_from_usize(length),
+ fields: first_field..fields.len(),
+ });
+ at += length;
+ }
+ (instructions, fields)
+}
+
+/// How many operands an instruction with a list of them can hold. Every one of them can need a temporary with a
+/// slot that operands can name, so that this leaves room for those and the other operands of the instruction.
+pub(super) const MAX_OPERAND_LIST_LENGTH: usize = 200;
+
+pub(super) fn operand_list_count(length: usize) -> u32 {
+ assert!(
+ length <= MAX_OPERAND_LIST_LENGTH,
+ "operand lists are short enough to count in a byte"
+ );
+ u32_from_usize(length)
+}
+
+fn read_slot(bytes: &[u8], at: u32) -> u32 {
+ u32::from(bytes[at as usize])
+}
+
+fn write_slot(bytes: &mut [u8], at: u32, slot: u32) {
+ bytes[at as usize] = u8::try_from(slot).expect("an operand holds this slot");
+}
+
+fn put_wide_move(bytes: &mut Vec<u8>, dst_slot: u32, src_slot: u32) {
+ bytes.push(OpCode::MovWide as u8);
+ bytes.extend_from_slice(&dst_slot.to_ne_bytes());
+ bytes.extend_from_slice(&src_slot.to_ne_bytes());
+}
+
+#[cfg(not(test))]
+const _: () = {
+ use crate::bytecode::op::MovWide;
+ assert!(core::mem::offset_of!(MovWide, dst_slot) == 1);
+ assert!(core::mem::offset_of!(MovWide, src_slot) == 5);
+ assert!(size_of::<MovWide>() == 9);
+};
+
impl Segment {
/// The end of the segment was cut off, and what comes next must not count as part of a strict range.
fn clamp_last_strict_range(&mut self) {
@@ -1262,9 +1541,14 @@ impl Generator<'_> {
&& (stream.handler.is_none() || dst.is_register())
{
let position = last.position as usize;
- stream.current.bytes[position..position + OPERAND_SIZE].copy_from_slice(&(dst.raw() as u16).to_ne_bytes());
+ stream.current.bytes[position] = dst.raw() as u8;
stream.last_destination = None;
- if !dst.is_register() {
+ if value.index() >= FIRST_WIDE_SLOT {
+ let positions = &mut stream.current.operand_positions;
+ let noted = positions.iter().rposition(|position| position.offset == last.position);
+ positions.remove(noted.expect("a wide register has a position"));
+ }
+ if !dst.is_register() || dst.index() >= FIRST_WIDE_SLOT {
stream.current.operand_positions.push(OperandPosition {
offset: last.position,
operand_type: dst.operand_type(),
@@ -1903,8 +2187,59 @@ impl Generator<'_> {
operands
}
+ /// Puts an operand list that is too long for an instruction in a new array, which the list then holds in its place.
+ /// Returns whether it did.
+ pub(super) fn fit_operand_list(&mut self, list: &mut Vec<Operand>) -> bool {
+ if list.len() <= MAX_OPERAND_LIST_LENGTH {
+ return false;
+ }
+ let array = self.temporary();
+ self.put_new_array(array, list);
+ *list = vec![array];
+ true
+ }
+
+ /// Puts what `elements` hold in a new array at `dst`, however many there are.
+ pub(super) fn put_new_array(&mut self, dst: Operand, elements: &[Operand]) {
+ let (first, rest) = elements.split_at(elements.len().min(MAX_OPERAND_LIST_LENGTH));
+ self.put(op::NewArray {
+ dst,
+ element_count: operand_list_count(first.len()),
+ elements: first,
+ });
+ for &src in rest {
+ self.put(op::ArrayAppend {
+ dst,
+ src,
+ is_spread: false,
+ });
+ }
+ }
+
+ /// Replaces the `count` values on top of the stack with an array of them, for a list too long for an instruction.
+ fn replace_operands_with_array(&mut self, count: usize) {
+ let values = &self.context.stream.values;
+ let first_temporary = values[values.len() - count].first_temporary;
+ let operands = self.take_operands(count);
+ let array = self.temporary();
+ self.put_new_array(array, &operands);
+ self.context.stream.operands = operands;
+ self.release_temporaries_from(first_temporary);
+ let dst = self.temporary();
+ self.put(op::Mov { dst, src: array });
+ self.push_value(dst, first_temporary);
+ }
+
#[inline(always)]
pub(super) fn call(&mut self, argument_count: usize) {
+ let values = &self.context.stream.values;
+ if argument_count > MAX_OPERAND_LIST_LENGTH
+ && values[values.len() - argument_count - 1].kind != ValKind::BuiltinCallee
+ {
+ self.replace_operands_with_array(argument_count);
+ self.call_with_array();
+ return;
+ }
let arguments = self.take_operands(argument_count);
let callee = self.pop_value();
if callee.kind == ValKind::BuiltinCallee {
@@ -1931,7 +2266,7 @@ impl Generator<'_> {
dst,
callee: callee_operand,
this_value,
- argument_count: u32_from_usize(arguments.len()),
+ argument_count: operand_list_count(arguments.len()),
expression_string: None,
arguments: &arguments,
},
@@ -1942,6 +2277,11 @@ impl Generator<'_> {
}
pub(super) fn construct(&mut self, argument_count: usize) {
+ if argument_count > MAX_OPERAND_LIST_LENGTH {
+ self.replace_operands_with_array(argument_count);
+ self.construct_with_array();
+ return;
+ }
let arguments = self.take_operands(argument_count);
let (callee, first_temporary) = self.pop_operand();
self.release_temporaries_from(first_temporary);
@@ -1954,7 +2294,7 @@ impl Generator<'_> {
call_feedback,
dst,
callee,
- argument_count: u32_from_usize(arguments.len()),
+ argument_count: operand_list_count(arguments.len()),
expression_string: None,
arguments: &arguments,
},
@@ -1967,6 +2307,11 @@ impl Generator<'_> {
/// A call of what is below the array of arguments on top of the stack.
/// A call of the name `eval`, which is a direct eval if that is what the name means by then.
pub(super) fn direct_eval(&mut self, argument_count: usize) {
+ if argument_count > MAX_OPERAND_LIST_LENGTH {
+ self.replace_operands_with_array(argument_count);
+ self.direct_eval_with_array();
+ return;
+ }
let arguments = self.take_operands(argument_count);
let callee = self.pop_value();
let (callee_operand, this_value) = if callee.kind == ValKind::Callee {
@@ -1985,7 +2330,7 @@ impl Generator<'_> {
dst,
callee: callee_operand,
this_value,
- argument_count: u32_from_usize(arguments.len()),
+ argument_count: operand_list_count(arguments.len()),
expression_string: None,
arguments: &arguments,
},
@@ -2083,11 +2428,7 @@ impl Generator<'_> {
};
let elements = self.take_operands(count);
let dst = self.temporary();
- self.put(op::NewArray {
- dst,
- element_count: u32_from_usize(elements.len()),
- elements: &elements,
- });
+ self.put_new_array(dst, &elements);
self.context.stream.operands = elements;
self.release_temporaries_from(dst.index() + 1);
self.push_value(dst, first_temporary);
@@ -3120,14 +3461,18 @@ impl Generator<'_> {
self.push_value(dst, first_temporary);
return;
}
- self.put_with_destination(
- op::NewArray {
+ if elements.len() > MAX_OPERAND_LIST_LENGTH {
+ self.put_new_array(dst, &elements);
+ } else {
+ self.put_with_destination(
+ op::NewArray {
+ dst,
+ element_count: operand_list_count(elements.len()),
+ elements: &elements,
+ },
dst,
- element_count: u32_from_usize(elements.len()),
- elements: &elements,
- },
- dst,
- );
+ );
+ }
self.context.stream.operands = elements;
self.release_temporaries_from(dst.index() + 1);
self.push_value(dst, first_temporary);
@@ -3755,11 +4100,34 @@ impl Generator<'_> {
self.insert_body_head();
}
+ /// Gives the constants that are used the most the slots that instructions can name.
+ fn order_constants_by_use(&mut self, constant_uses: &[u32], new_constant_indices: &mut [u32]) {
+ let mut used: Vec<usize> = (0..constant_uses.len())
+ .filter(|&index| constant_uses[index] != 0)
+ .collect();
+ used.sort_by_key(|&index| core::cmp::Reverse(constant_uses[index]));
+ let mut values: Vec<Option<ConstantValue>> = core::mem::take(&mut self.context.constants.values)
+ .into_iter()
+ .map(Some)
+ .collect();
+ self.context.constants.values = used
+ .iter()
+ .map(|&index| {
+ values[new_constant_indices[index] as usize]
+ .take()
+ .expect("each constant once")
+ })
+ .collect();
+ for (new_index, &index) in used.iter().enumerate() {
+ new_constant_indices[index] = u32_from_usize(new_index);
+ }
+ }
+
/// Assembles what was emitted into a new block, which has `other_tables_size` bytes left: the operands that come
/// after the registers get their place in the frame, and labels their offsets.
pub(super) fn finish_stream(&mut self, other_tables_size: usize) -> (AssembledBytecode, SliceBlockBuilder) {
// NB: Folding leaves constants that nothing uses, and they would take up slots in every frame.
- let mut constant_is_used = vec![false; self.context.constants.values.len()];
+ let mut constant_uses = vec![0u32; self.context.constants.values.len()];
let stream = &self.context.stream;
for position in stream
.head
@@ -3768,28 +4136,32 @@ impl Generator<'_> {
.chain(&stream.current.operand_positions)
{
if position.operand_type == OperandType::Constant {
- constant_is_used[position.index as usize] = true;
+ constant_uses[position.index as usize] += 1;
}
}
let mut used_constant_count = 0;
- let new_constant_indices: Vec<u32> = constant_is_used
+ let mut new_constant_indices: Vec<u32> = constant_uses
.iter()
- .map(|&is_used| {
+ .map(|&uses| {
let new_index = used_constant_count;
- used_constant_count += u32::from(is_used);
+ used_constant_count += u32::from(uses != 0);
new_index
})
.collect();
- let mut is_used = constant_is_used.iter();
+ let mut uses = constant_uses.iter();
self.context
.constants
.values
- .retain(|_| *is_used.next().expect("a flag per constant"));
- let frame = FrameLayout {
+ .retain(|_| *uses.next().expect("a count per constant") != 0);
+ let mut frame = FrameLayout {
register_count: self.context.stream.temporary_count.max(Register::RESERVED_COUNT),
local_count: self.context.scope.local_count(),
constant_count: used_constant_count,
};
+ if frame.start_of(OperandType::Argument) + self.context.stream.number_of_arguments > FIRST_WIDE_SLOT {
+ self.order_constants_by_use(&constant_uses, &mut new_constant_indices);
+ frame = self.context.stream.spill_wide_slots(frame, &new_constant_indices);
+ }
let stream = &mut self.context.stream;
let head = &stream.head;
let segment = &mut stream.current;
@@ -3831,15 +4203,12 @@ impl Generator<'_> {
.iter()
.map(|position| (position.offset + head_size, *position));
for (offset, position) in head_positions.chain(positions) {
- let at = offset as usize;
- let bytes = &mut bytecode[at..at + OPERAND_SIZE];
let index = match position.operand_type {
OperandType::Constant => new_constant_indices[position.index as usize],
_ => position.index,
};
let slot = index + frame.start_of(position.operand_type);
- let slot = u16::try_from(slot).expect("frame slots fit in 16 bits");
- bytes.copy_from_slice(&slot.to_ne_bytes());
+ bytecode[offset as usize] = u8::try_from(slot).expect("frame slots that instructions name fit in 8 bits");
}
for position in &segment.label_positions {
let at = (position.offset + head_size) as usize;
diff --git a/Libraries/LibJS/Rust/src/bytecode/dump.rs b/Libraries/LibJS/Rust/src/bytecode/dump.rs
index 84d59947045..e1fbcf81c35 100644
--- a/Libraries/LibJS/Rust/src/bytecode/dump.rs
+++ b/Libraries/LibJS/Rust/src/bytecode/dump.rs
@@ -14,8 +14,6 @@ use super::instruction::instruction_name_from_opcode;
use super::instruction::visit_labels_from_bytes;
use super::native_disassembler::disassemble;
use super::operand::Operand;
-use super::operand::narrow_index;
-use super::operand::read_u16;
use super::operand::read_u32;
use crate::bytecode::encoded_value::EncodedValue;
use crate::bytecode::encoded_value::EncodedValueKind;
@@ -292,7 +290,7 @@ impl BytecodeDumper<'_> {
pub fn append_property_key_quoted(&mut self, index: u32) {
let key = self
.executable
- .get_property_key(PropertyKeyTableIndex(narrow_index(index)))
+ .get_property_key(PropertyKeyTableIndex::from_index(index))
.to_utf16_string();
self.append_quoted(Utf16View::of_string(&key));
}
@@ -300,7 +298,7 @@ impl BytecodeDumper<'_> {
pub fn append_property_key_plain(&mut self, index: u32) {
let key = self
.executable
- .get_property_key(PropertyKeyTableIndex(narrow_index(index)))
+ .get_property_key(PropertyKeyTableIndex::from_index(index))
.to_utf16_string();
Utf16View::of_string(&key).append_as_wtf8_to(self.output);
}
@@ -343,7 +341,7 @@ impl BytecodeDumper<'_> {
if i != 0 {
self.append(", ");
}
- self.append_operand("", Operand::from_raw(u32::from(read_u16(bytes, offset + i * 2))));
+ self.append_operand("", Operand::from_raw(u32::from(bytes[offset + i])));
}
self.append("]");
}
@@ -353,8 +351,8 @@ impl BytecodeDumper<'_> {
self.append(":[");
let mut first_elem = true;
for i in 0..count {
- let raw = read_u16(bytes, offset + i * 2);
- if raw == u16::MAX {
+ let raw = bytes[offset + i];
+ if raw == u8::MAX {
continue;
}
let operand = Operand::from_raw(u32::from(raw));
diff --git a/Libraries/LibJS/Rust/src/bytecode/encoding.rs b/Libraries/LibJS/Rust/src/bytecode/encoding.rs
index 21ec4fe4a94..e4c7806c691 100644
--- a/Libraries/LibJS/Rust/src/bytecode/encoding.rs
+++ b/Libraries/LibJS/Rust/src/bytecode/encoding.rs
@@ -15,7 +15,7 @@ pub struct InstructionHeader {
/// An operand: the index of its slot in the frame.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[repr(C, packed)]
-pub struct Operand(pub u16);
+pub struct Operand(pub u8);
impl Operand {
pub fn index(self) -> usize {
@@ -25,10 +25,10 @@ impl Operand {
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[repr(C, packed)]
-pub struct OptionalOperand(pub u16);
+pub struct OptionalOperand(pub u8);
impl OptionalOperand {
- const NONE: u16 = u16::MAX;
+ const NONE: u8 = u8::MAX;
pub fn get(self) -> Option<Operand> {
(self.0 != Self::NONE).then_some(Operand(self.0))
@@ -58,11 +58,22 @@ macro_rules! define_table_index {
$(
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[repr(C, packed)]
- pub struct $name(pub u16);
+ pub struct $name(pub [u8; 3]);
- impl From<u16> for $name {
- fn from(index: u16) -> Self {
- Self(index)
+ impl $name {
+ pub fn from_index(index: u32) -> Self {
+ Self(super::operand::name_index_bytes(index))
+ }
+
+ pub fn index(self) -> usize {
+ let [low, middle, high] = self.0;
+ u32::from_le_bytes([low, middle, high, 0]) as usize
+ }
+ }
+
+ impl From<[u8; 3]> for $name {
+ fn from(bytes: [u8; 3]) -> Self {
+ Self(bytes)
}
}
)*
@@ -73,11 +84,22 @@ define_table_index!(IdentifierTableIndex, PropertyKeyTableIndex, StringTableInde
/// A table index that may be absent, encoded with all bits set.
#[repr(C, packed)]
-pub struct OptionalIndex<T>(pub u16, PhantomData<T>);
+pub struct OptionalIndex<T>(pub [u8; 3], PhantomData<T>);
+
+/// A name that only makes error messages better, which instructions hold in two bytes.
+#[repr(C, packed)]
+pub struct OptionalDebugIndex<T>(pub u16, PhantomData<T>);
+
+impl<T: From<[u8; 3]>> OptionalDebugIndex<T> {
+ pub fn get(&self) -> Option<T> {
+ let raw = self.0;
+ (raw != u16::MAX).then(|| T::from(super::operand::name_index_bytes(u32::from(raw))))
+ }
+}
-impl<T: From<u16>> OptionalIndex<T> {
+impl<T: From<[u8; 3]>> OptionalIndex<T> {
pub fn get(&self) -> Option<T> {
let raw = self.0;
- (raw != u16::MAX).then(|| T::from(raw))
+ (raw != [u8::MAX; 3]).then(|| T::from(raw))
}
}
diff --git a/Libraries/LibJS/Rust/src/bytecode/executable.rs b/Libraries/LibJS/Rust/src/bytecode/executable.rs
index 4f966417544..84a5a66ce59 100644
--- a/Libraries/LibJS/Rust/src/bytecode/executable.rs
+++ b/Libraries/LibJS/Rust/src/bytecode/executable.rs
@@ -1354,15 +1354,15 @@ impl Executable {
}
pub fn get_identifier(&self, index: IdentifierTableIndex) -> &Utf16FlyString {
- &self.code.identifier_table[index.0 as usize]
+ &self.code.identifier_table[index.index()]
}
pub fn get_property_key(&self, index: PropertyKeyTableIndex) -> &PropertyKey {
- &self.property_keys[index.0 as usize]
+ &self.property_keys[index.index()]
}
pub fn get_string(&self, index: StringTableIndex) -> &Utf16FlyString {
- &self.code.string_table[index.0 as usize]
+ &self.code.string_table[index.index()]
}
/// Forgets the cells the inline caches remember that died in this collection.
@@ -1774,7 +1774,7 @@ impl Executable {
pub fn length_identifier(&self) -> Option<PropertyKeyTableIndex> {
self.length_identifier
- .map(|index| PropertyKeyTableIndex((index.get() - 1) as u16))
+ .map(|index| PropertyKeyTableIndex::from_index(index.get() - 1))
}
fn rare_data_mut(&mut self) -> &mut ExecutableRareData {
diff --git a/Libraries/LibJS/Rust/src/bytecode/operand.rs b/Libraries/LibJS/Rust/src/bytecode/operand.rs
index 10725612f72..30a57b75d90 100644
--- a/Libraries/LibJS/Rust/src/bytecode/operand.rs
+++ b/Libraries/LibJS/Rust/src/bytecode/operand.rs
@@ -14,13 +14,35 @@ pub enum InstructionLengthError {
/// The last slot of a cache table, which all the sites past it share. It never remembers anything.
pub const UNCACHED_SITE: u32 = u16::MAX as u32;
-/// A table or cache index as an instruction holds it. `u32::MAX` means none, which stays all bits set.
+/// A cache index as an instruction holds it. `u32::MAX` means none, which stays all bits set.
#[inline]
pub fn narrow_index(index: u32) -> u16 {
if index == u32::MAX {
return u16::MAX;
}
- u16::try_from(index).expect("bytecode indices fit in 16 bits")
+ u16::try_from(index).expect("cache indices fit in 16 bits")
+}
+
+/// The name table index an instruction holds. `u32::MAX` means none, which stays all bits set.
+#[inline]
+pub fn name_index_bytes(index: u32) -> [u8; 3] {
+ let [low, middle, high, top] = index.to_le_bytes();
+ assert!(
+ index == u32::MAX || (top == 0 && index != 0xff_ffff),
+ "name table indices fit in 24 bits"
+ );
+ [low, middle, high]
+}
+
+/// The name table index of a debug name as an instruction holds it, or all bits set for none.
+#[inline]
+pub fn debug_name_index(index: Option<u32>) -> u16 {
+ index.and_then(|index| u16::try_from(index).ok()).unwrap_or(u16::MAX)
+}
+
+#[inline]
+pub fn read_u24(bytes: &[u8], at: usize) -> u32 {
+ u32::from_le_bytes([bytes[at], bytes[at + 1], bytes[at + 2], 0])
}
#[inline]
diff --git a/Libraries/LibJS/Rust/src/interpreter/slow_paths/bindings.rs b/Libraries/LibJS/Rust/src/interpreter/slow_paths/bindings.rs
index 4ffc192c8b6..f3682e4946f 100644
--- a/Libraries/LibJS/Rust/src/interpreter/slow_paths/bindings.rs
+++ b/Libraries/LibJS/Rust/src/interpreter/slow_paths/bindings.rs
@@ -249,7 +249,7 @@ fn current_executable(vm: &Vm) -> Gc<Executable> {
/// VM::get_identifier(), copied out of the executable's identifier table.
fn get_identifier(vm: &Vm, index: IdentifierTableIndex) -> Utf16FlyString {
- current_executable(vm).identifier_table()[index.0 as usize].clone()
+ current_executable(vm).identifier_table()[index.index()].clone()
}
fn environment_mode_of(raw_mode: u32) -> EnvironmentMode {
@@ -514,7 +514,7 @@ fn cached_dynamic_global_variable_value(
let Some(hops) = global_environment_hops(cache.get().get()) else {
return Ok(None);
};
- let identifier = &cache.executable.identifier_table()[identifier_index.0 as usize];
+ let identifier = &cache.executable.identifier_table()[identifier_index.index()];
if is_global_environment_at_hops(vm, current_environment, hops, identifier) {
let global_variable_cache = cache.executable.dynamic_global_variable_cache(cache.index);
if let Some(value) = global_variable_value(vm, identifier_index, global_variable_cache, cache.index, strict)? {
diff --git a/Libraries/LibJS/Rust/src/interpreter/slow_paths/calls.rs b/Libraries/LibJS/Rust/src/interpreter/slow_paths/calls.rs
index 018c50214a8..d189037ab0a 100644
--- a/Libraries/LibJS/Rust/src/interpreter/slow_paths/calls.rs
+++ b/Libraries/LibJS/Rust/src/interpreter/slow_paths/calls.rs
@@ -73,7 +73,7 @@ fn caller_mode_of(strict: Strict) -> CallerMode {
/// Executable::get_string().
fn get_string(vm: &Vm, index: StringTableIndex) -> Utf16FlyString {
- vm.current_executable().string_table()[index.0 as usize].clone()
+ vm.current_executable().string_table()[index.index()].clone()
}
/// Value::as_array_exotic_object(): the arguments the bytecode collected into an Array for a call.
@@ -204,6 +204,9 @@ pub fn new_class(
*element_key = Value::UNDEFINED;
}
}
+ let element_keys = super::operand_list(vm, instruction.element_keys_are_in_array, element_keys);
+ let element_keys = element_keys.values();
+ let element_keys = &*element_keys;
let class_environment = values.class_environment.as_environment();
let outer_environment = running_execution_context(vm).lexical_environment.get();
diff --git a/Libraries/LibJS/Rust/src/interpreter/slow_paths/control.rs b/Libraries/LibJS/Rust/src/interpreter/slow_paths/control.rs
index efd6478691f..bf3101c9bbd 100644
--- a/Libraries/LibJS/Rust/src/interpreter/slow_paths/control.rs
+++ b/Libraries/LibJS/Rust/src/interpreter/slow_paths/control.rs
@@ -320,8 +320,11 @@ pub fn get_template_object(
return SlowPathControl::continue_at(pc + instruction.length());
}
+ let strings = super::operand_list(vm, instruction.strings_are_in_array, strings);
+ let strings = strings.values();
+ let strings = &*strings;
let realm = current_realm(vm);
- let count = instruction.strings_count / 2;
+ let count = crate::u32_from_usize(strings.len()) / 2;
let template_object = Array::create(vm, realm, u64::from(count), None).must();
let raw_object = Array::create(vm, realm, u64::from(count), None).must();
diff --git a/Libraries/LibJS/Rust/src/interpreter/slow_paths/mod.rs b/Libraries/LibJS/Rust/src/interpreter/slow_paths/mod.rs
index 2d61e1237bc..fc3e713fcb4 100644
--- a/Libraries/LibJS/Rust/src/interpreter/slow_paths/mod.rs
+++ b/Libraries/LibJS/Rust/src/interpreter/slow_paths/mod.rs
@@ -15,6 +15,7 @@ pub mod operators;
pub mod property_access;
use core::cell::Cell;
+use core::ops::Deref;
use super::runtime_functions::{Runtime, RuntimeFunctions, SlowPathControl, handle_asm_exception};
use super::vm::Vm;
@@ -22,10 +23,58 @@ use crate::bytecode::executable::PropertyLookupCache;
use crate::bytecode::feedback::{call_feedback_flags, keyed_feedback_bits};
use crate::bytecode::op;
use crate::bytecode::property_access::Strict;
+use crate::gc::root::{MarkedValues, MarkedVec};
use crate::layout::value::Value;
use libjs_abi::PutKind;
use property_access::KeyedSiteCache;
+/// An operand list, whose values are in an array when the list is too long for the instruction.
+pub(super) enum OperandList<'a> {
+ Inline(&'a [Value]),
+ InArray(MarkedVec<'a, Value>),
+}
+
+impl OperandList<'_> {
+ /// Lends the values of the list.
+ pub(super) fn values(&self) -> OperandListValues<'_> {
+ match self {
+ Self::Inline(values) => OperandListValues::Inline(values),
+ Self::InArray(values) => OperandListValues::InArray(values.values()),
+ }
+ }
+}
+
+/// The values of an OperandList, which it lends.
+pub(super) enum OperandListValues<'a> {
+ Inline(&'a [Value]),
+ InArray(MarkedValues<'a, Value>),
+}
+
+impl Deref for OperandListValues<'_> {
+ type Target = [Value];
+
+ fn deref(&self) -> &[Value] {
+ match self {
+ Self::Inline(values) => values,
+ Self::InArray(values) => values,
+ }
+ }
+}
+
+/// The operand list of `values`, which are copied out of the array they are in if `is_in_array`.
+pub(super) fn operand_list<'a>(vm: &'a Vm, is_in_array: bool, values: &'a [Value]) -> OperandList<'a> {
+ if !is_in_array {
+ return OperandList::Inline(values);
+ }
+ let array = values[0].as_object();
+ let length = array.indexed_array_like_size();
+ let list = MarkedVec::with_capacity(vm, length as usize);
+ for index in 0..length {
+ list.push(array.indexed_get(index).expect("a dense array").value);
+ }
+ OperandList::InArray(list)
+}
+
/// Whether the code at the bytecode offset `pc` of the running executable is strict.
pub(super) fn strict_at(vm: &Vm, pc: u32) -> Strict {
if vm.current_executable().is_strict_at(pc) {
diff --git a/Libraries/LibJS/Rust/src/interpreter/slow_paths/property_access.rs b/Libraries/LibJS/Rust/src/interpreter/slow_paths/property_access.rs
index 1743ff8382f..a55550c8cf0 100644
--- a/Libraries/LibJS/Rust/src/interpreter/slow_paths/property_access.rs
+++ b/Libraries/LibJS/Rust/src/interpreter/slow_paths/property_access.rs
@@ -14,7 +14,7 @@ use libjs_abi::PutKind;
use libjs_abi::value as nan_box;
use super::strict_at;
-use crate::bytecode::encoding::{IdentifierTableIndex, OptionalIndex};
+use crate::bytecode::encoding::{IdentifierTableIndex, OptionalDebugIndex};
use crate::bytecode::executable::{
Executable, KeyedPropertyLookup, KeyedPropertyLookupCache, ObjectPropertyIteratorCache,
ObjectPropertyIteratorCacheData, ObjectPropertyIteratorFastPath, PropertyLookupCache, PropertyLookupCacheEntryType,
@@ -65,7 +65,7 @@ fn is_non_negative_int32(value: Value) -> bool {
value.is_int32() && value.as_i32() >= 0
}
-fn optional_identifier(vm: &Vm, index: &OptionalIndex<IdentifierTableIndex>) -> Option<Utf16FlyString> {
+fn optional_identifier(vm: &Vm, index: &OptionalDebugIndex<IdentifierTableIndex>) -> Option<Utf16FlyString> {
let Some(index) = index.get() else {
let program_counter = vm.running_execution_context_ref().program_counter.get();
return vm.current_executable().base_text_at(program_counter);
@@ -712,6 +712,9 @@ pub fn copy_object_excluding_properties(
values: &mut op::CopyObjectExcludingPropertiesValues,
excluded_names: &[Value],
) -> SlowPathControl {
+ let excluded_names = super::operand_list(vm, instruction.excluded_names_are_in_array, excluded_names);
+ let excluded_names = excluded_names.values();
+ let excluded_names = &*excluded_names;
let realm = vm.current_realm().expect("there is a current realm");
let from_object = values.from_object;
let to_object = Object::create(vm, realm, Some(realm.object_prototype()));
diff --git a/Libraries/LibJS/Rust/src/jit/translate.rs b/Libraries/LibJS/Rust/src/jit/translate.rs
index 5550b2ed37e..ac8e9bb601e 100644
--- a/Libraries/LibJS/Rust/src/jit/translate.rs
+++ b/Libraries/LibJS/Rust/src/jit/translate.rs
@@ -305,10 +305,10 @@ fn call_instruction_shape(executable: &Executable, pc: u32) -> (u32, u32, bool)
}
if opcode == OpCode::CallConstruct as u8 {
let call = instruction_at::<op::CallConstruct>(executable, pc);
- return (call.argument_count, call.length(), true);
+ return (u32::from(call.argument_count), call.length(), true);
}
let call = instruction_at::<op::Call>(executable, pc);
- (call.argument_count, call.length(), false)
+ (u32::from(call.argument_count), call.length(), false)
}
/// The linkage of the frame of `executable` at the call of `frame_state`: its frame continues after the call (or
diff --git a/Tests/LibJS/Bytecode/expected/annex-b-function-in-if.txt b/Tests/LibJS/Bytecode/expected/annex-b-function-in-if.txt
index 1b26660a8aa..5f08eda0900 100644
--- a/Tests/LibJS/Bytecode/expected/annex-b-function-in-if.txt
+++ b/Tests/LibJS/Bytecode/expected/annex-b-function-in-if.txt
@@ -1,4 +1,4 @@
-$f18bd7ea annex-b-function-in-if.js:13:1
+$524fbd5b annex-b-function-in-if.js:13:1
Registers: 9
Blocks: 1
Constants:
@@ -9,20 +9,20 @@ $f18bd7ea annex-b-function-in-if.js:13:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `console`
- [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1c] GetGlobal value_feedback:2, dst:reg8, `annexBFunctionInIf`
- [ 25] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Bool(true)]
- [ 38] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 4b] GetGlobal value_feedback:5, dst:reg6, `console`
- [ 54] GetById value_feedback:6, dst:reg7, base:reg6, `log`
- [ 61] GetGlobal value_feedback:7, dst:reg8, `annexBFunctionInIf`
- [ 6a] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Bool(false)]
- [ 7d] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 90] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ d] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 19] GetGlobal value_feedback:2, dst:reg8, `annexBFunctionInIf`
+ [ 22] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Bool(true)]
+ [ 2e] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 3a] GetGlobal value_feedback:5, dst:reg6, `console`
+ [ 43] GetById value_feedback:6, dst:reg7, base:reg6, `log`
+ [ 4f] GetGlobal value_feedback:7, dst:reg8, `annexBFunctionInIf`
+ [ 58] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Bool(false)]
+ [ 64] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 70] End value:reg5
-annexBFunctionInIf$3b6f439f annex-b-function-in-if.js:2:10
+annexBFunctionInIf$43bb16cf annex-b-function-in-if.js:2:10
Registers: 6
Blocks: 4
Locals: inner~0, inner~1, inner~2
@@ -32,23 +32,23 @@ annexBFunctionInIf$3b6f439f annex-b-function-in-if.js:2:10
block0:
[ 0] Enter
[ 1] Mov dst:inner~0, src:Undefined
- [ 6] JumpFalse condition:arg0, target:block2
+ [ 4] JumpFalse condition:arg0, target:block2
block1:
- [ d] NewFunction dst:inner~1, shared_function_data_index:0
- [ 18] Mov dst:inner~0, src:inner~1
- [ 1d] Jump target:block3
+ [ a] NewFunction dst:inner~1, shared_function_data_index:0
+ [ 14] Mov dst:inner~0, src:inner~1
+ [ 17] Jump target:block3
block2:
- [ 22] NewFunction dst:inner~2, shared_function_data_index:1
- [ 2d] Mov dst:inner~0, src:inner~2
+ [ 1c] NewFunction dst:inner~2, shared_function_data_index:1
+ [ 26] Mov dst:inner~0, src:inner~2
block3:
- [ 32] Call value_feedback:0, call_feedback:0, dst:reg5, callee:inner~0, this_value:Undefined
- [ 43] Return value:reg5
+ [ 29] Call value_feedback:0, call_feedback:0, dst:reg5, callee:inner~0, this_value:Undefined
+ [ 34] Return value:reg5
-inner$7507ed16 annex-b-function-in-if.js:4:13
+inner$e42ab1c1 annex-b-function-in-if.js:4:13
Registers: 5
Blocks: 1
Constants:
@@ -59,7 +59,7 @@ block0:
[ 1] Return value:String("true branch")
-inner$ca319d5a annex-b-function-in-if.js:8:13
+inner$bab65a8d annex-b-function-in-if.js:8:13
Registers: 5
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/annexb-function-existing-var.txt b/Tests/LibJS/Bytecode/expected/annexb-function-existing-var.txt
index e52210204dc..2da4f947011 100644
--- a/Tests/LibJS/Bytecode/expected/annexb-function-existing-var.txt
+++ b/Tests/LibJS/Bytecode/expected/annexb-function-existing-var.txt
@@ -1,4 +1,4 @@
-$7db3088d annexb-function-existing-var.js:10:1
+$a3d8fdc4 annexb-function-existing-var.js:10:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $7db3088d annexb-function-existing-var.js:10:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `test`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `test`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-test$6a55b74e annexb-function-existing-var.js:2:9
+test$e8f3bec6 annexb-function-existing-var.js:2:9
Registers: 5
Blocks: 1
Locals: f~0, f~1
@@ -23,7 +23,7 @@ test$6a55b74e annexb-function-existing-var.js:2:9
block0:
[ 0] Enter
[ 1] Mov dst:f~0, src:Undefined
- [ 6] Mov dst:f~0, src:Int32(123)
- [ b] NewFunction dst:f~1, shared_function_data_index:0
- [ 16] Mov dst:f~0, src:f~1
- [ 1b] Return value:f~0
+ [ 4] Mov dst:f~0, src:Int32(123)
+ [ 7] NewFunction dst:f~1, shared_function_data_index:0
+ [ 11] Mov dst:f~0, src:f~1
+ [ 14] Return value:f~0
diff --git a/Tests/LibJS/Bytecode/expected/annexb-var-coordinate-with-default-param.txt b/Tests/LibJS/Bytecode/expected/annexb-var-coordinate-with-default-param.txt
index 8d57e51d94d..7ee90b178a5 100644
--- a/Tests/LibJS/Bytecode/expected/annexb-var-coordinate-with-default-param.txt
+++ b/Tests/LibJS/Bytecode/expected/annexb-var-coordinate-with-default-param.txt
@@ -1,4 +1,4 @@
-$c91963ab annexb-var-coordinate-with-default-param.js:12:1
+$ef3f58e2 annexb-var-coordinate-with-default-param.js:12:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $c91963ab annexb-var-coordinate-with-default-param.js:12:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-f$8413e457 annexb-var-coordinate-with-default-param.js:3:12
+f$55a21bf0 annexb-var-coordinate-with-default-param.js:3:12
Registers: 7
Blocks: 3
Locals: g~0, g~1
@@ -24,26 +24,26 @@ f$8413e457 annexb-var-coordinate-with-default-param.js:3:12
block0:
[ 0] Enter
[ 1] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
- [ b] GetLexicalEnvironment dst:reg4
+ [ c] GetLexicalEnvironment dst:reg4
[ e] JumpUndefined condition:arg0, true_target:block1, false_target:block2
block1:
- [ 19] Mov dst:arg0, src:Int32(1)
+ [ 18] Mov dst:arg0, src:Int32(1)
block2:
- [ 1e] InitializeLexicalBinding `x`, src:arg0
- [ 2b] CreateVariableEnvironment capacity:1
- [ 30] GetLexicalEnvironment dst:reg5
- [ 33] Mov dst:g~0, src:Undefined
- [ 38] CreateVariable `y`, is_immutable:false, is_global:false, is_strict:false
- [ 42] InitializeLexicalBinding `y`, src:Int32(2)
- [ 4f] NewFunction dst:g~1, shared_function_data_index:0
- [ 5a] Mov dst:g~0, src:g~1
- [ 5f] Call value_feedback:0, call_feedback:0, dst:reg6, callee:g~0, this_value:Undefined
- [ 70] Return value:reg6
-
-
-g$a4e6f593 annexb-var-coordinate-with-default-param.js:7:13
+ [ 1b] InitializeLexicalBinding `x`, src:arg0
+ [ 28] CreateVariableEnvironment capacity:1
+ [ 2d] GetLexicalEnvironment dst:reg5
+ [ 2f] Mov dst:g~0, src:Undefined
+ [ 32] CreateVariable `y`, is_immutable:false, is_global:false, is_strict:false
+ [ 3d] InitializeLexicalBinding `y`, src:Int32(2)
+ [ 4a] NewFunction dst:g~1, shared_function_data_index:0
+ [ 54] Mov dst:g~0, src:g~1
+ [ 57] Call value_feedback:0, call_feedback:0, dst:reg6, callee:g~0, this_value:Undefined
+ [ 62] Return value:reg6
+
+
+g$66f9ea5f annexb-var-coordinate-with-default-param.js:7:13
Registers: 7
Blocks: 1
@@ -52,4 +52,4 @@ block0:
[ 1] GetBinding value_feedback:0, dst:reg5, `x`
[ 10] GetBinding value_feedback:1, dst:reg6, `y`
[ 1f] Add arith_feedback:0, dst:reg5, lhs:reg5, rhs:reg6
- [ 28] Return value:reg5
+ [ 25] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/argument-postfix-self-move.txt b/Tests/LibJS/Bytecode/expected/argument-postfix-self-move.txt
index 027d4973638..9d5241aaf70 100644
--- a/Tests/LibJS/Bytecode/expected/argument-postfix-self-move.txt
+++ b/Tests/LibJS/Bytecode/expected/argument-postfix-self-move.txt
@@ -1,4 +1,4 @@
-$13ec3034 argument-postfix-self-move.js:5:1
+$eca9d76a argument-postfix-self-move.js:5:1
Registers: 7
Blocks: 1
Constants:
@@ -8,16 +8,16 @@ $13ec3034 argument-postfix-self-move.js:5:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(10)]
- [ 22] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(10)]
+ [ 19] End value:reg5
-f$2d8761b6 argument-postfix-self-move.js:2:6
+f$cddfdfd8 argument-postfix-self-move.js:2:6
Registers: 5
Blocks: 1
block0:
[ 0] Enter
[ 1] Decrement arith_feedback:0, dst:arg0
- [ 6] Return value:arg0
+ [ 5] Return value:arg0
diff --git a/Tests/LibJS/Bytecode/expected/argument-variables.txt b/Tests/LibJS/Bytecode/expected/argument-variables.txt
index 0e499e9134e..47b5786578e 100644
--- a/Tests/LibJS/Bytecode/expected/argument-variables.txt
+++ b/Tests/LibJS/Bytecode/expected/argument-variables.txt
@@ -1,4 +1,4 @@
-$b881bd4b argument-variables.js:12:1
+$25fcf479 argument-variables.js:12:1
Registers: 7
Blocks: 1
Constants:
@@ -9,14 +9,14 @@ $b881bd4b argument-variables.js:12:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `identity`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
- [ 22] GetGlobal value_feedback:2, dst:reg6, `swap`
- [ 2b] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1), Int32(2)]
- [ 40] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `identity`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
+ [ 19] GetGlobal value_feedback:2, dst:reg6, `swap`
+ [ 22] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1), Int32(2)]
+ [ 2f] End value:reg5
-identity$348e99d7 argument-variables.js:5:5
+identity$0358e060 argument-variables.js:5:5
Registers: 5
Blocks: 1
@@ -25,11 +25,11 @@ block0:
[ 1] Return value:arg0
-swap$67aee809 argument-variables.js:9:5
+swap$a85fe44d argument-variables.js:9:5
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] Add arith_feedback:0, dst:reg5, lhs:arg1, rhs:arg0
- [ a] Return value:reg5
+ [ 7] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/arguments-with-arguments-fn.txt b/Tests/LibJS/Bytecode/expected/arguments-with-arguments-fn.txt
index a0b3edbb37d..b5b9bca47f9 100644
--- a/Tests/LibJS/Bytecode/expected/arguments-with-arguments-fn.txt
+++ b/Tests/LibJS/Bytecode/expected/arguments-with-arguments-fn.txt
@@ -1,4 +1,4 @@
-$2cb5e223 arguments-with-arguments-fn.js:4:1
+$559fc86a arguments-with-arguments-fn.js:4:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $2cb5e223 arguments-with-arguments-fn.js:4:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-f$f1ab3812 arguments-with-arguments-fn.js:1:12
+f$baed9c7b arguments-with-arguments-fn.js:1:12
Registers: 5
Blocks: 3
Locals: arguments~0
@@ -25,9 +25,9 @@ block0:
[ 1] JumpUndefined condition:arg0, true_target:block1, false_target:block2
block1:
- [ c] Mov dst:arg0, src:Int32(1)
+ [ b] Mov dst:arg0, src:Int32(1)
block2:
- [ 11] Mov dst:arguments~0, src:Undefined
- [ 16] NewFunction dst:arguments~0, shared_function_data_index:0
- [ 21] End value:Undefined
+ [ e] Mov dst:arguments~0, src:Undefined
+ [ 11] NewFunction dst:arguments~0, shared_function_data_index:0
+ [ 1b] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/assign-to-argument-no-tdz.txt b/Tests/LibJS/Bytecode/expected/assign-to-argument-no-tdz.txt
index f757b8e627e..a5df97b4d06 100644
--- a/Tests/LibJS/Bytecode/expected/assign-to-argument-no-tdz.txt
+++ b/Tests/LibJS/Bytecode/expected/assign-to-argument-no-tdz.txt
@@ -1,4 +1,4 @@
-$24385a5a assign-to-argument-no-tdz.js:11:1
+$3ae30cc4 assign-to-argument-no-tdz.js:11:1
Registers: 7
Blocks: 1
Constants:
@@ -8,12 +8,12 @@ $24385a5a assign-to-argument-no-tdz.js:11:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(0)]
- [ 22] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(0)]
+ [ 19] End value:reg5
-f$b59c418a assign-to-argument-no-tdz.js:6:9
+f$a620febd assign-to-argument-no-tdz.js:6:9
Registers: 5
Blocks: 1
Locals: y~0
@@ -23,5 +23,5 @@ f$b59c418a assign-to-argument-no-tdz.js:6:9
block0:
[ 0] Enter
[ 1] Mov dst:y~0, src:Int32(1)
- [ 6] Mov dst:arg0, src:y~0
- [ b] Return value:arg0
+ [ 4] Mov dst:arg0, src:y~0
+ [ 7] Return value:arg0
diff --git a/Tests/LibJS/Bytecode/expected/assign-to-let-variable-tdz.txt b/Tests/LibJS/Bytecode/expected/assign-to-let-variable-tdz.txt
index a75a5a8deb5..edf0ada0a26 100644
--- a/Tests/LibJS/Bytecode/expected/assign-to-let-variable-tdz.txt
+++ b/Tests/LibJS/Bytecode/expected/assign-to-let-variable-tdz.txt
@@ -1,4 +1,4 @@
-$35783746 assign-to-let-variable-tdz.js:12:1
+$25fcf479 assign-to-let-variable-tdz.js:12:1
Registers: 8
Blocks: 1
Constants:
@@ -8,15 +8,15 @@ $35783746 assign-to-let-variable-tdz.js:12:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] NewObject dst:reg7
- [ 14] InitObjectLiteralProperty object:reg7, `location`, src:String("hello"), shape_cache_index:0, property_slot:0
- [ 23] CacheObjectShape object:reg7
- [ 28] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 3b] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] NewObject dst:reg7
+ [ 11] InitObjectLiteralProperty object:reg7, `location`, src:String("hello"), shape_cache_index:0, property_slot:0
+ [ 1f] CacheObjectShape object:reg7
+ [ 23] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 2f] End value:reg5
-f$7fd3434d assign-to-let-variable-tdz.js:7:5
+f$8e322287 assign-to-let-variable-tdz.js:7:5
Registers: 7
Blocks: 3
Locals: a~0
@@ -28,23 +28,23 @@ f$7fd3434d assign-to-let-variable-tdz.js:7:5
block0:
[ 0] Enter
[ 1] Mov dst:a~0, src:<Empty>
- [ 6] ThrowIfNullish src:arg0
- [ 9] Mov dst:reg5, src:arg0
- [ e] GetById value_feedback:0, dst:a~0, base:reg5, `location`
- [ 1b] Typeof dst:reg5, src:a~0
- [ 20] LooselyEquals arith_feedback:0, dst:reg5, lhs:String("string"), rhs:reg5
- [ 29] JumpFalse condition:reg5, target:block2
+ [ 4] ThrowIfNullish src:arg0
+ [ 6] Mov dst:reg5, src:arg0
+ [ 9] GetById value_feedback:0, dst:a~0, base:reg5, `location`
+ [ 15] Typeof dst:reg5, src:a~0
+ [ 18] LooselyEquals arith_feedback:0, dst:reg5, lhs:String("string"), rhs:reg5
+ [ 1e] JumpFalse condition:reg5, target:block2
block1:
- [ 30] GetGlobal value_feedback:1, dst:reg6, `g`
- [ 39] Call value_feedback:2, call_feedback:0, dst:a~0, callee:reg6, this_value:Undefined, arguments:[a~0]
- [ 4c] Mov dst:reg5, src:a~0
+ [ 24] GetGlobal value_feedback:1, dst:reg6, `g`
+ [ 2d] Call value_feedback:2, call_feedback:0, dst:a~0, callee:reg6, this_value:Undefined, arguments:[a~0]
+ [ 39] Mov dst:reg5, src:a~0
block2:
- [ 51] Return value:a~0
+ [ 3c] Return value:a~0
-g$323f1263 assign-to-let-variable-tdz.js:4:17
+g$826b5174 assign-to-let-variable-tdz.js:4:17
Registers: 5
Blocks: 1
diff --git a/Tests/LibJS/Bytecode/expected/assign-to-parameter.txt b/Tests/LibJS/Bytecode/expected/assign-to-parameter.txt
index d79d46db34a..03ee04cf9a9 100644
--- a/Tests/LibJS/Bytecode/expected/assign-to-parameter.txt
+++ b/Tests/LibJS/Bytecode/expected/assign-to-parameter.txt
@@ -1,4 +1,4 @@
-$174b246f assign-to-parameter.js:8:1
+$3d7119a6 assign-to-parameter.js:8:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $174b246f assign-to-parameter.js:8:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `isect`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `isect`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-isect$f4608550 assign-to-parameter.js:5:9
+isect$a6f8374f assign-to-parameter.js:5:9
Registers: 5
Blocks: 1
Constants:
@@ -21,4 +21,4 @@ isect$f4608550 assign-to-parameter.js:5:9
block0:
[ 0] Enter
[ 1] Mov dst:arg0, src:arg1
- [ 6] End value:Undefined
+ [ 4] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/async-await-in-try-catch.txt b/Tests/LibJS/Bytecode/expected/async-await-in-try-catch.txt
index 4d6063e7e3b..8d814e56cb7 100644
--- a/Tests/LibJS/Bytecode/expected/async-await-in-try-catch.txt
+++ b/Tests/LibJS/Bytecode/expected/async-await-in-try-catch.txt
@@ -1,4 +1,4 @@
-$2cf33ae7 async-await-in-try-catch.js:9:1
+$93ca2c62 async-await-in-try-catch.js:9:1
Registers: 8
Blocks: 1
Constants:
@@ -7,13 +7,13 @@ $2cf33ae7 async-await-in-try-catch.js:9:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] NewObject dst:reg7
- [ 14] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 27] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] NewObject dst:reg7
+ [ 11] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 1d] End value:reg5
-f$4c20dfea async-await-in-try-catch.js:2:5
+f$801a8a71 async-await-in-try-catch.js:2:5
Registers: 10
Blocks: 7
Locals: e~0
@@ -27,33 +27,33 @@ block0:
[ 1] GetLexicalEnvironment dst:reg4
block1:
- [ 4] EnterObjectEnvironment dst:reg5, object:arg0
- [ 9] Mov dst:reg6, src:reg0
- [ e] Await continuation_label:block2, argument:Int32(1)
+ [ 3] EnterObjectEnvironment dst:reg5, object:arg0
+ [ 6] Mov dst:reg6, src:reg0
+ [ 9] Await continuation_label:block2, argument:Int32(1)
block2:
- [ 15] Mov dst:reg6, src:reg0
- [ 1a] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
- [ 21] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg9, lhs:reg7, rhs:1
- [ 2c] JumpIf condition:reg9, true_target:block4, false_target:block3
+ [ f] Mov dst:reg6, src:reg0
+ [ 12] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
+ [ 16] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg9, lhs:reg7, rhs:1
+ [ 1f] JumpIf condition:reg9, true_target:block4, false_target:block3
block3:
- [ 37] Throw src:reg8
+ [ 29] Throw src:reg8
block4:
- [ 3a] Mov dst:reg6, src:reg8
- [ 3f] SetLexicalEnvironment environment:reg4
- [ 42] Jump target:block6
+ [ 2b] Mov dst:reg6, src:reg8
+ [ 2e] SetLexicalEnvironment environment:reg4
+ [ 30] Jump target:block6
block5:
- [ 47] Catch value_feedback:0, dst:reg5
- [ 4c] SetLexicalEnvironment environment:reg4
- [ 4f] Mov dst:e~0, src:<Empty>
- [ 54] Mov dst:e~0, src:reg5
- [ 59] Jump target:block6
+ [ 35] Catch value_feedback:0, dst:reg5
+ [ 39] SetLexicalEnvironment environment:reg4
+ [ 3b] Mov dst:e~0, src:<Empty>
+ [ 3e] Mov dst:e~0, src:reg5
+ [ 41] Jump target:block6
block6:
- [ 5e] Yield value:Undefined
+ [ 46] Yield value:Undefined
Exception handlers:
- [ 4 .. 47] => handler block5
+ [ 3 .. 35] => handler block5
diff --git a/Tests/LibJS/Bytecode/expected/async-await.txt b/Tests/LibJS/Bytecode/expected/async-await.txt
index a9f052d1f6b..335cc52678b 100644
--- a/Tests/LibJS/Bytecode/expected/async-await.txt
+++ b/Tests/LibJS/Bytecode/expected/async-await.txt
@@ -1,4 +1,4 @@
-$5e28f45e async-await.js:9:1
+$24a767b7 async-await.js:9:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $5e28f45e async-await.js:9:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-f$b5747b51 async-await.js:7:5
+f$eef607f8 async-await.js:7:5
Registers: 10
Blocks: 4
Constants:
@@ -22,19 +22,19 @@ block0:
[ 0] Enter
[ 1] GetGlobal value_feedback:0, dst:reg5, `Promise`
[ a] GetById value_feedback:1, dst:reg6, base:reg5, `resolve`
- [ 17] Call value_feedback:2, call_feedback:0, dst:reg5, callee:reg6, this_value:reg5, arguments:[Int32(42)]
- [ 2a] Mov dst:reg6, src:reg0
- [ 2f] Await continuation_label:block1, argument:reg5
+ [ 16] Call value_feedback:2, call_feedback:0, dst:reg5, callee:reg6, this_value:reg5, arguments:[Int32(42)]
+ [ 22] Mov dst:reg6, src:reg0
+ [ 25] Await continuation_label:block1, argument:reg5
block1:
- [ 36] Mov dst:reg6, src:reg0
- [ 3b] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
- [ 42] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg9, lhs:reg7, rhs:1
- [ 4d] JumpIf condition:reg9, true_target:block3, false_target:block2
+ [ 2b] Mov dst:reg6, src:reg0
+ [ 2e] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
+ [ 32] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg9, lhs:reg7, rhs:1
+ [ 3b] JumpIf condition:reg9, true_target:block3, false_target:block2
block2:
- [ 58] Throw src:reg8
+ [ 45] Throw src:reg8
block3:
- [ 5b] Mov dst:reg5, src:reg8
- [ 60] Yield value:reg5
+ [ 47] Mov dst:reg5, src:reg8
+ [ 4a] Yield value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/async-generator-yield-await.txt b/Tests/LibJS/Bytecode/expected/async-generator-yield-await.txt
index 3865888eafa..d0675bf29ec 100644
--- a/Tests/LibJS/Bytecode/expected/async-generator-yield-await.txt
+++ b/Tests/LibJS/Bytecode/expected/async-generator-yield-await.txt
@@ -1,4 +1,4 @@
-$742740a7 async-generator-yield-await.js:6:1
+$0c33eb99 async-generator-yield-await.js:6:1
Registers: 7
Blocks: 1
Constants:
@@ -8,12 +8,12 @@ $742740a7 async-generator-yield-await.js:6:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
- [ 22] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
+ [ 19] End value:reg5
-f$5f5a409e async-generator-yield-await.js:4:5
+f$a950b829 async-generator-yield-await.js:4:5
Registers: 15
Blocks: 19
Constants:
@@ -24,76 +24,76 @@ block0:
[ 1] Yield continuation_label:block1, value:Undefined
block1:
- [ 9] Mov dst:reg5, src:reg0
- [ e] Await continuation_label:block2, argument:arg0
+ [ 8] Mov dst:reg5, src:reg0
+ [ b] Await continuation_label:block2, argument:arg0
block2:
- [ 15] Mov dst:reg5, src:reg0
- [ 1a] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
- [ 21] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg8, lhs:reg6, rhs:1
- [ 2c] JumpIf condition:reg8, true_target:block4, false_target:block3
+ [ 11] Mov dst:reg5, src:reg0
+ [ 14] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
+ [ 18] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg8, lhs:reg6, rhs:1
+ [ 21] JumpIf condition:reg8, true_target:block4, false_target:block3
block3:
- [ 37] Throw src:reg7
+ [ 2b] Throw src:reg7
block4:
- [ 3a] Mov dst:reg5, src:reg7
- [ 3f] Await continuation_label:block5, argument:reg5
+ [ 2d] Mov dst:reg5, src:reg7
+ [ 30] Await continuation_label:block5, argument:reg5
block5:
- [ 46] Mov dst:reg6, src:reg0
- [ 4b] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
- [ 52] StrictlyEqualsRhsInt32 arith_feedback:1, dst:reg9, lhs:reg7, rhs:1
- [ 5d] JumpIf condition:reg9, true_target:block7, false_target:block6
+ [ 36] Mov dst:reg6, src:reg0
+ [ 39] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
+ [ 3d] StrictlyEqualsRhsInt32 arith_feedback:1, dst:reg9, lhs:reg7, rhs:1
+ [ 46] JumpIf condition:reg9, true_target:block7, false_target:block6
block6:
- [ 68] Throw src:reg8
+ [ 50] Throw src:reg8
block7:
- [ 6b] Yield continuation_label:block8, value:reg8
+ [ 52] Yield continuation_label:block8, value:reg8
block8:
- [ 73] Mov dst:reg6, src:reg0
- [ 78] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
- [ 7f] StrictlyInequalsRhsInt32 arith_feedback:2, dst:reg10, lhs:reg7, rhs:4
- [ 8a] JumpIf condition:reg10, true_target:block14, false_target:block9
+ [ 59] Mov dst:reg6, src:reg0
+ [ 5c] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
+ [ 60] StrictlyInequalsRhsInt32 arith_feedback:2, dst:reg10, lhs:reg7, rhs:4
+ [ 69] JumpIf condition:reg10, true_target:block14, false_target:block9
block9:
- [ 95] Await continuation_label:block10, argument:reg8
+ [ 73] Await continuation_label:block10, argument:reg8
block10:
- [ 9c] Mov dst:reg6, src:reg0
- [ a1] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
- [ a8] StrictlyEqualsRhsInt32 arith_feedback:3, dst:reg11, lhs:reg7, rhs:1
- [ b3] JumpIf condition:reg11, true_target:block12, false_target:block11
+ [ 79] Mov dst:reg6, src:reg0
+ [ 7c] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
+ [ 80] StrictlyEqualsRhsInt32 arith_feedback:3, dst:reg11, lhs:reg7, rhs:1
+ [ 89] JumpIf condition:reg11, true_target:block12, false_target:block11
block11:
- [ be] Throw src:reg8
+ [ 93] Throw src:reg8
block12:
- [ c1] StrictlyEqualsRhsInt32 arith_feedback:4, dst:reg12, lhs:reg7, rhs:5
- [ cc] JumpIf condition:reg12, true_target:block14, false_target:block13
+ [ 95] StrictlyEqualsRhsInt32 arith_feedback:4, dst:reg12, lhs:reg7, rhs:5
+ [ 9e] JumpIf condition:reg12, true_target:block14, false_target:block13
block13:
- [ d7] SetCompletionType completion:reg6
- [ de] Jump target:block14
+ [ a8] SetCompletionType completion:reg6
+ [ ae] Jump target:block14
block14:
- [ e3] Mov dst:reg6, src:reg0
- [ e8] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
- [ ef] StrictlyEqualsRhsInt32 arith_feedback:5, dst:reg13, lhs:reg7, rhs:1
- [ fa] JumpIf condition:reg13, true_target:block18, false_target:block15
+ [ b3] Mov dst:reg6, src:reg0
+ [ b6] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
+ [ ba] StrictlyEqualsRhsInt32 arith_feedback:5, dst:reg13, lhs:reg7, rhs:1
+ [ c3] JumpIf condition:reg13, true_target:block18, false_target:block15
block15:
- [ 105] StrictlyEqualsRhsInt32 arith_feedback:6, dst:reg14, lhs:reg7, rhs:5
- [ 110] JumpIf condition:reg14, true_target:block16, false_target:block17
+ [ cd] StrictlyEqualsRhsInt32 arith_feedback:6, dst:reg14, lhs:reg7, rhs:5
+ [ d6] JumpIf condition:reg14, true_target:block16, false_target:block17
block16:
- [ 11b] Throw src:reg8
+ [ e0] Throw src:reg8
block17:
- [ 11e] Yield value:reg8
+ [ e2] Yield value:reg8
block18:
- [ 126] Mov dst:reg5, src:reg8
- [ 12b] Yield value:Undefined
+ [ e9] Mov dst:reg5, src:reg8
+ [ ec] Yield value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/async-generator-yield.txt b/Tests/LibJS/Bytecode/expected/async-generator-yield.txt
index 92577d47be2..d8d6a40867d 100644
--- a/Tests/LibJS/Bytecode/expected/async-generator-yield.txt
+++ b/Tests/LibJS/Bytecode/expected/async-generator-yield.txt
@@ -1,4 +1,4 @@
-$bb051096 async-generator-yield.js:7:1
+$5311bb88 async-generator-yield.js:7:1
Registers: 7
Blocks: 1
Constants:
@@ -8,12 +8,12 @@ $bb051096 async-generator-yield.js:7:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
- [ 22] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
+ [ 19] End value:reg5
-f$4fd609f6 async-generator-yield.js:5:5
+f$719080a0 async-generator-yield.js:5:5
Registers: 14
Blocks: 16
Constants:
@@ -24,62 +24,62 @@ block0:
[ 1] Yield continuation_label:block1, value:Undefined
block1:
- [ 9] Await continuation_label:block2, argument:arg0
+ [ 8] Await continuation_label:block2, argument:arg0
block2:
- [ 10] Mov dst:reg5, src:reg0
- [ 15] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
- [ 1c] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg8, lhs:reg6, rhs:1
- [ 27] JumpIf condition:reg8, true_target:block4, false_target:block3
+ [ e] Mov dst:reg5, src:reg0
+ [ 11] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
+ [ 15] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg8, lhs:reg6, rhs:1
+ [ 1e] JumpIf condition:reg8, true_target:block4, false_target:block3
block3:
- [ 32] Throw src:reg7
+ [ 28] Throw src:reg7
block4:
- [ 35] Yield continuation_label:block5, value:reg7
+ [ 2a] Yield continuation_label:block5, value:reg7
block5:
- [ 3d] Mov dst:reg5, src:reg0
- [ 42] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
- [ 49] StrictlyInequalsRhsInt32 arith_feedback:1, dst:reg9, lhs:reg6, rhs:4
- [ 54] JumpIf condition:reg9, true_target:block11, false_target:block6
+ [ 31] Mov dst:reg5, src:reg0
+ [ 34] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
+ [ 38] StrictlyInequalsRhsInt32 arith_feedback:1, dst:reg9, lhs:reg6, rhs:4
+ [ 41] JumpIf condition:reg9, true_target:block11, false_target:block6
block6:
- [ 5f] Await continuation_label:block7, argument:reg7
+ [ 4b] Await continuation_label:block7, argument:reg7
block7:
- [ 66] Mov dst:reg5, src:reg0
- [ 6b] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
- [ 72] StrictlyEqualsRhsInt32 arith_feedback:2, dst:reg10, lhs:reg6, rhs:1
- [ 7d] JumpIf condition:reg10, true_target:block9, false_target:block8
+ [ 51] Mov dst:reg5, src:reg0
+ [ 54] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
+ [ 58] StrictlyEqualsRhsInt32 arith_feedback:2, dst:reg10, lhs:reg6, rhs:1
+ [ 61] JumpIf condition:reg10, true_target:block9, false_target:block8
block8:
- [ 88] Throw src:reg7
+ [ 6b] Throw src:reg7
block9:
- [ 8b] StrictlyEqualsRhsInt32 arith_feedback:3, dst:reg11, lhs:reg6, rhs:5
- [ 96] JumpIf condition:reg11, true_target:block11, false_target:block10
+ [ 6d] StrictlyEqualsRhsInt32 arith_feedback:3, dst:reg11, lhs:reg6, rhs:5
+ [ 76] JumpIf condition:reg11, true_target:block11, false_target:block10
block10:
- [ a1] SetCompletionType completion:reg5
- [ a8] Jump target:block11
+ [ 80] SetCompletionType completion:reg5
+ [ 86] Jump target:block11
block11:
- [ ad] Mov dst:reg5, src:reg0
- [ b2] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
- [ b9] StrictlyEqualsRhsInt32 arith_feedback:4, dst:reg12, lhs:reg6, rhs:1
- [ c4] JumpIf condition:reg12, true_target:block15, false_target:block12
+ [ 8b] Mov dst:reg5, src:reg0
+ [ 8e] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
+ [ 92] StrictlyEqualsRhsInt32 arith_feedback:4, dst:reg12, lhs:reg6, rhs:1
+ [ 9b] JumpIf condition:reg12, true_target:block15, false_target:block12
block12:
- [ cf] StrictlyEqualsRhsInt32 arith_feedback:5, dst:reg13, lhs:reg6, rhs:5
- [ da] JumpIf condition:reg13, true_target:block13, false_target:block14
+ [ a5] StrictlyEqualsRhsInt32 arith_feedback:5, dst:reg13, lhs:reg6, rhs:5
+ [ ae] JumpIf condition:reg13, true_target:block13, false_target:block14
block13:
- [ e5] Throw src:reg7
+ [ b8] Throw src:reg7
block14:
- [ e8] Yield value:reg7
+ [ ba] Yield value:reg7
block15:
- [ f0] Mov dst:reg5, src:reg7
- [ f5] Yield value:Undefined
+ [ c1] Mov dst:reg5, src:reg7
+ [ c4] Yield value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/async-return-bare.txt b/Tests/LibJS/Bytecode/expected/async-return-bare.txt
index 136755637ca..c063bf47b4a 100644
--- a/Tests/LibJS/Bytecode/expected/async-return-bare.txt
+++ b/Tests/LibJS/Bytecode/expected/async-return-bare.txt
@@ -1,4 +1,4 @@
-$2cb5e223 async-return-bare.js:4:1
+$559fc86a async-return-bare.js:4:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $2cb5e223 async-return-bare.js:4:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-f$b5bbc275 async-return-bare.js:2:5
+f$658f8364 async-return-bare.js:2:5
Registers: 5
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/baseline.txt b/Tests/LibJS/Bytecode/expected/baseline.txt
index 60ebfa14da7..02c162dc26a 100644
--- a/Tests/LibJS/Bytecode/expected/baseline.txt
+++ b/Tests/LibJS/Bytecode/expected/baseline.txt
@@ -1,4 +1,4 @@
-$100bdb91 baseline.js:5:1
+$928a37ac baseline.js:5:1
Registers: 9
Blocks: 1
Constants:
@@ -9,22 +9,22 @@ $100bdb91 baseline.js:5:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `console`
- [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1c] GetGlobal value_feedback:2, dst:reg8, `add`
- [ 25] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Int32(1), Int32(2)]
- [ 3a] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 4d] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ d] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 19] GetGlobal value_feedback:2, dst:reg8, `add`
+ [ 22] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Int32(1), Int32(2)]
+ [ 2f] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 3b] End value:reg5
-add$927dcc5e baseline.js:2:5
+add$51ccd01a baseline.js:2:5
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] Add arith_feedback:0, dst:reg5, lhs:arg0, rhs:arg1
- [ a] Return value:reg5
+ [ 7] Return value:reg5
3
diff --git a/Tests/LibJS/Bytecode/expected/bigint-binary-literal-fold.txt b/Tests/LibJS/Bytecode/expected/bigint-binary-literal-fold.txt
index 5005ade1b2c..1ada6750114 100644
--- a/Tests/LibJS/Bytecode/expected/bigint-binary-literal-fold.txt
+++ b/Tests/LibJS/Bytecode/expected/bigint-binary-literal-fold.txt
@@ -1,4 +1,4 @@
-$4d1acc0b bigint-binary-literal-fold.js:1:1
+$9d470b1c bigint-binary-literal-fold.js:1:1
Registers: 6
Blocks: 1
Constants:
@@ -8,5 +8,5 @@ $4d1acc0b bigint-binary-literal-fold.js:1:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg5, src:BigInt(1n)
- [ b] End value:reg5
+ [ 4] Mov dst:reg5, src:BigInt(1n)
+ [ 7] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/bigint-constant-folding.txt b/Tests/LibJS/Bytecode/expected/bigint-constant-folding.txt
index ba875abb2d4..2c70c8a3428 100644
--- a/Tests/LibJS/Bytecode/expected/bigint-constant-folding.txt
+++ b/Tests/LibJS/Bytecode/expected/bigint-constant-folding.txt
@@ -1,4 +1,4 @@
-$82fd91e9 bigint-constant-folding.js:1:5
+$f2205694 bigint-constant-folding.js:1:5
Registers: 6
Blocks: 1
Constants:
@@ -15,13 +15,13 @@ $82fd91e9 bigint-constant-folding.js:1:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] SetGlobal `a`, src:BigInt(3n)
- [ d] SetGlobal `b`, src:BigInt(7n)
- [ 14] SetGlobal `c`, src:BigInt(6n)
- [ 1b] SetGlobal `d`, src:BigInt(3n)
- [ 22] SetGlobal `e`, src:BigInt(1n)
- [ 29] SetGlobal `f`, src:BigInt(8n)
- [ 30] SetGlobal `g`, src:Bool(true)
- [ 37] SetGlobal `h`, src:Bool(true)
- [ 3e] SetGlobal `i`, src:BigInt(-2n)
- [ 45] End value:reg5
+ [ 4] SetGlobal `a`, src:BigInt(3n)
+ [ b] SetGlobal `b`, src:BigInt(7n)
+ [ 12] SetGlobal `c`, src:BigInt(6n)
+ [ 19] SetGlobal `d`, src:BigInt(3n)
+ [ 20] SetGlobal `e`, src:BigInt(1n)
+ [ 27] SetGlobal `f`, src:BigInt(8n)
+ [ 2e] SetGlobal `g`, src:Bool(true)
+ [ 35] SetGlobal `h`, src:Bool(true)
+ [ 3c] SetGlobal `i`, src:BigInt(-2n)
+ [ 43] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/bigint-large-constant-folding.txt b/Tests/LibJS/Bytecode/expected/bigint-large-constant-folding.txt
index c29f197713b..c669467c15e 100644
--- a/Tests/LibJS/Bytecode/expected/bigint-large-constant-folding.txt
+++ b/Tests/LibJS/Bytecode/expected/bigint-large-constant-folding.txt
@@ -1,4 +1,4 @@
-$d564ed0c bigint-large-constant-folding.js:2:5
+$e4e02fd9 bigint-large-constant-folding.js:2:5
Registers: 6
Blocks: 1
Constants:
@@ -10,7 +10,7 @@ $d564ed0c bigint-large-constant-folding.js:2:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] SetGlobal `a`, src:BigInt(337264356397531028994973048178108678400n)
- [ d] SetGlobal `b`, src:BigInt(340282366920938463463374607431768211456n)
- [ 14] SetGlobal `c`, src:BigInt(6193778470904512180693671865081363252814433915244866048000n)
- [ 1b] End value:reg5
+ [ 4] SetGlobal `a`, src:BigInt(337264356397531028994973048178108678400n)
+ [ b] SetGlobal `b`, src:BigInt(340282366920938463463374607431768211456n)
+ [ 12] SetGlobal `c`, src:BigInt(6193778470904512180693671865081363252814433915244866048000n)
+ [ 19] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/bigint-truthiness.txt b/Tests/LibJS/Bytecode/expected/bigint-truthiness.txt
index 3622c03e06f..cb06aeb745c 100644
--- a/Tests/LibJS/Bytecode/expected/bigint-truthiness.txt
+++ b/Tests/LibJS/Bytecode/expected/bigint-truthiness.txt
@@ -1,4 +1,4 @@
-$8f2c0ea8 bigint-truthiness.js:2:5
+$8274bceb bigint-truthiness.js:2:5
Registers: 7
Blocks: 4
Constants:
@@ -11,29 +11,29 @@ $8f2c0ea8 bigint-truthiness.js:2:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg6, src:String("falsy")
- [ b] SetGlobal `a`, src:reg6
- [ 12] Mov dst:reg6, src:String("falsy")
- [ 17] SetGlobal `b`, src:reg6
- [ 1e] Mov dst:reg6, src:String("falsy")
- [ 23] SetGlobal `c`, src:reg6
- [ 2a] Mov dst:reg6, src:String("falsy")
- [ 2f] SetGlobal `d`, src:reg6
- [ 36] Mov dst:reg6, src:String("truthy")
- [ 3b] Jump target:block1
+ [ 4] Mov dst:reg6, src:String("falsy")
+ [ 7] SetGlobal `a`, src:reg6
+ [ e] Mov dst:reg6, src:String("falsy")
+ [ 11] SetGlobal `b`, src:reg6
+ [ 18] Mov dst:reg6, src:String("falsy")
+ [ 1b] SetGlobal `c`, src:reg6
+ [ 22] Mov dst:reg6, src:String("falsy")
+ [ 25] SetGlobal `d`, src:reg6
+ [ 2c] Mov dst:reg6, src:String("truthy")
+ [ 2f] Jump target:block1
block1:
- [ 40] SetGlobal `e`, src:reg6
- [ 47] Mov dst:reg6, src:String("truthy")
- [ 4c] Jump target:block2
+ [ 34] SetGlobal `e`, src:reg6
+ [ 3b] Mov dst:reg6, src:String("truthy")
+ [ 3e] Jump target:block2
block2:
- [ 51] SetGlobal `f`, src:reg6
- [ 58] Mov dst:reg6, src:String("truthy")
- [ 5d] Jump target:block3
+ [ 43] SetGlobal `f`, src:reg6
+ [ 4a] Mov dst:reg6, src:String("truthy")
+ [ 4d] Jump target:block3
block3:
- [ 62] SetGlobal `g`, src:reg6
- [ 69] SetGlobal `h`, src:Bool(true)
- [ 70] SetGlobal `i`, src:Bool(false)
- [ 77] End value:reg5
+ [ 52] SetGlobal `g`, src:reg6
+ [ 59] SetGlobal `h`, src:Bool(true)
+ [ 60] SetGlobal `i`, src:Bool(false)
+ [ 67] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/bitwise-numeric-preconvert.txt b/Tests/LibJS/Bytecode/expected/bitwise-numeric-preconvert.txt
index 15919c2c84a..88c68120e48 100644
--- a/Tests/LibJS/Bytecode/expected/bitwise-numeric-preconvert.txt
+++ b/Tests/LibJS/Bytecode/expected/bitwise-numeric-preconvert.txt
@@ -1,4 +1,4 @@
-$cd0e6045 bitwise-numeric-preconvert.js:4:1
+$a5cc077b bitwise-numeric-preconvert.js:4:1
Registers: 7
Blocks: 1
Constants:
@@ -8,12 +8,12 @@ $cd0e6045 bitwise-numeric-preconvert.js:4:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `test`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
- [ 22] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `test`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
+ [ 19] End value:reg5
-test$f957f541 bitwise-numeric-preconvert.js:2:5
+test$3a08f185 bitwise-numeric-preconvert.js:2:5
Registers: 6
Blocks: 1
Constants:
@@ -22,4 +22,4 @@ test$f957f541 bitwise-numeric-preconvert.js:2:5
block0:
[ 0] Enter
[ 1] RightShift arith_feedback:0, dst:reg5, lhs:Double(2147483648), rhs:arg0
- [ a] Return value:reg5
+ [ 7] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/block-function-declaration-order.txt b/Tests/LibJS/Bytecode/expected/block-function-declaration-order.txt
index 8f5f3131c59..4ad0ab4bfb1 100644
--- a/Tests/LibJS/Bytecode/expected/block-function-declaration-order.txt
+++ b/Tests/LibJS/Bytecode/expected/block-function-declaration-order.txt
@@ -1,4 +1,4 @@
-$1ea903a4 block-function-declaration-order.js:1:1
+$b24a3009 block-function-declaration-order.js:1:1
Registers: 6
Blocks: 1
Locals: f1~0, f2~1
@@ -8,8 +8,8 @@ $1ea903a4 block-function-declaration-order.js:1:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] NewFunction dst:f1~0, shared_function_data_index:0
- [ 11] NewFunction dst:f2~1, shared_function_data_index:1
- [ 1c] SetVariableBindingOfBlockFunction `f1`, src:f1~0, program_environment_depth:0
- [ 25] SetVariableBindingOfBlockFunction `f2`, src:f2~1, program_environment_depth:0
- [ 2e] End value:reg5
+ [ 4] NewFunction dst:f1~0, shared_function_data_index:0
+ [ e] NewFunction dst:f2~1, shared_function_data_index:1
+ [ 18] SetVariableBindingOfBlockFunction `f1`, src:f1~0, program_environment_depth:0
+ [ 21] SetVariableBindingOfBlockFunction `f2`, src:f2~1, program_environment_depth:0
+ [ 2a] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/block-scoped-function-no-tdz.txt b/Tests/LibJS/Bytecode/expected/block-scoped-function-no-tdz.txt
index f0b6f16f885..c640b3f905e 100644
--- a/Tests/LibJS/Bytecode/expected/block-scoped-function-no-tdz.txt
+++ b/Tests/LibJS/Bytecode/expected/block-scoped-function-no-tdz.txt
@@ -1,4 +1,4 @@
-$f2fb2c4d block-scoped-function-no-tdz.js:1:1
+$59d21dc8 block-scoped-function-no-tdz.js:1:1
Registers: 7
Blocks: 1
Constants:
@@ -8,13 +8,13 @@ $f2fb2c4d block-scoped-function-no-tdz.js:1:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg5, src:String("use strict")
- [ b] GetGlobal value_feedback:0, dst:reg6, `test`
- [ 14] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 25] End value:reg5
+ [ 4] Mov dst:reg5, src:String("use strict")
+ [ 7] GetGlobal value_feedback:0, dst:reg6, `test`
+ [ 10] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 1b] End value:reg5
-test$dce15e94 block-scoped-function-no-tdz.js:3:9
+test$c0aeca0a block-scoped-function-no-tdz.js:3:9
Registers: 6
Blocks: 1
Locals: result~0, foo~1
@@ -24,12 +24,12 @@ test$dce15e94 block-scoped-function-no-tdz.js:3:9
block0:
[ 0] Enter
[ 1] Mov dst:result~0, src:Undefined
- [ 6] NewFunction dst:foo~1, shared_function_data_index:0
- [ 11] Call value_feedback:0, call_feedback:0, dst:result~0, callee:foo~1, this_value:Undefined
- [ 22] Return value:result~0
+ [ 4] NewFunction dst:foo~1, shared_function_data_index:0
+ [ e] Call value_feedback:0, call_feedback:0, dst:result~0, callee:foo~1, this_value:Undefined
+ [ 19] Return value:result~0
-foo$351b9748 block-scoped-function-no-tdz.js:5:26
+foo$665150bf block-scoped-function-no-tdz.js:5:26
Registers: 5
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/block-scoping.txt b/Tests/LibJS/Bytecode/expected/block-scoping.txt
index 163896a14e2..3589d30d9d0 100644
--- a/Tests/LibJS/Bytecode/expected/block-scoping.txt
+++ b/Tests/LibJS/Bytecode/expected/block-scoping.txt
@@ -1,4 +1,4 @@
-$b39eccb6 block-scoping.js:13:1
+$b1f73f39 block-scoping.js:13:1
Registers: 9
Blocks: 1
Constants:
@@ -7,20 +7,20 @@ $b39eccb6 block-scoping.js:13:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `console`
- [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1c] GetGlobal value_feedback:2, dst:reg8, `closureOverBlockScope`
- [ 25] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
- [ 36] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 49] GetGlobal value_feedback:5, dst:reg6, `console`
- [ 52] GetById value_feedback:6, dst:reg7, base:reg6, `log`
- [ 5f] GetGlobal value_feedback:7, dst:reg8, `breakThroughBlockScopes`
- [ 68] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined
- [ 79] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 8c] End value:reg5
-
-
-closureOverBlockScope$69105b71 block-scoping.js:2:15
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ d] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 19] GetGlobal value_feedback:2, dst:reg8, `closureOverBlockScope`
+ [ 22] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
+ [ 2d] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 39] GetGlobal value_feedback:5, dst:reg6, `console`
+ [ 42] GetById value_feedback:6, dst:reg7, base:reg6, `log`
+ [ 4e] GetGlobal value_feedback:7, dst:reg8, `breakThroughBlockScopes`
+ [ 57] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined
+ [ 62] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 6e] End value:reg5
+
+
+closureOverBlockScope$16202b50 block-scoping.js:2:15
Registers: 8
Blocks: 1
Locals: fns~0
@@ -32,30 +32,30 @@ closureOverBlockScope$69105b71 block-scoping.js:2:15
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] NewArray dst:fns~0
- [ b] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
- [ 19] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
- [ 23] InitializeLexicalBinding `x`, src:Int32(1)
- [ 30] GetById value_feedback:0, dst:reg6, base:fns~0, `push`
- [ 3d] NewFunction dst:reg7, shared_function_data_index:0
- [ 48] Call value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:fns~0, arguments:[reg7]
- [ 5b] SetLexicalEnvironment environment:reg4
- [ 5e] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
- [ 6c] CreateVariable `y`, is_immutable:false, is_global:false, is_strict:false
- [ 76] InitializeLexicalBinding `y`, src:Int32(2)
- [ 83] GetById value_feedback:2, dst:reg6, base:fns~0, `push`
- [ 90] NewFunction dst:reg7, shared_function_data_index:1
- [ 9b] Call value_feedback:3, call_feedback:1, dst:reg6, callee:reg6, this_value:fns~0, arguments:[reg7]
- [ ae] SetLexicalEnvironment environment:reg4
- [ b1] GetByValue value_feedback:4, keyed_feedback:0, dst:reg5, base:fns~0, property:Int32(0)
- [ c0] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg5, this_value:fns~0
- [ d1] GetByValue value_feedback:6, keyed_feedback:1, dst:reg6, base:fns~0, property:Int32(1)
- [ e0] Call value_feedback:7, call_feedback:3, dst:reg6, callee:reg6, this_value:fns~0
- [ f1] Add arith_feedback:0, dst:reg5, lhs:reg5, rhs:reg6
- [ fa] Return value:reg5
-
-
-$fe66b1f1 block-scoping.js:5:18
+ [ 3] NewArray dst:fns~0
+ [ 6] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
+ [ 1d] InitializeLexicalBinding `x`, src:Int32(1)
+ [ 2a] GetById value_feedback:0, dst:reg6, base:fns~0, `push`
+ [ 36] NewFunction dst:reg7, shared_function_data_index:0
+ [ 40] Call value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:fns~0, arguments:[reg7]
+ [ 4c] SetLexicalEnvironment environment:reg4
+ [ 4e] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
+ [ 5a] CreateVariable `y`, is_immutable:false, is_global:false, is_strict:false
+ [ 65] InitializeLexicalBinding `y`, src:Int32(2)
+ [ 72] GetById value_feedback:2, dst:reg6, base:fns~0, `push`
+ [ 7e] NewFunction dst:reg7, shared_function_data_index:1
+ [ 88] Call value_feedback:3, call_feedback:1, dst:reg6, callee:reg6, this_value:fns~0, arguments:[reg7]
+ [ 94] SetLexicalEnvironment environment:reg4
+ [ 96] GetByValue value_feedback:4, keyed_feedback:0, dst:reg5, base:fns~0, property:Int32(0)
+ [ a2] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg5, this_value:fns~0
+ [ ad] GetByValue value_feedback:6, keyed_feedback:1, dst:reg6, base:fns~0, property:Int32(1)
+ [ b9] Call value_feedback:7, call_feedback:3, dst:reg6, callee:reg6, this_value:fns~0
+ [ c4] Add arith_feedback:0, dst:reg5, lhs:reg5, rhs:reg6
+ [ ca] Return value:reg5
+
+
+$ae3a72e0 block-scoping.js:5:18
Registers: 6
Blocks: 1
@@ -65,7 +65,7 @@ block0:
[ 10] Return value:reg5
-$e8fbf43d block-scoping.js:9:18
+$98cfb52c block-scoping.js:9:18
Registers: 6
Blocks: 1
@@ -75,7 +75,7 @@ block0:
[ 10] Return value:reg5
-breakThroughBlockScopes$96d6802d block-scoping.js:16:9
+breakThroughBlockScopes$033553c8 block-scoping.js:16:9
Registers: 7
Blocks: 6
Locals: result~0, i~1, f~2
@@ -86,36 +86,36 @@ breakThroughBlockScopes$96d6802d block-scoping.js:16:9
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:result~0, src:Undefined
- [ 9] Mov dst:i~1, src:Int32(0)
- [ e] Jump target:block4
+ [ 3] Mov dst:result~0, src:Undefined
+ [ 6] Mov dst:i~1, src:Int32(0)
+ [ 9] Jump target:block4
block1:
- [ 13] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
- [ 21] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
- [ 2b] InitializeLexicalBinding `x`, src:i~1
- [ 38] NewFunction dst:f~2, shared_function_data_index:0 (f)
- [ 43] GetBinding value_feedback:0, dst:reg6, `x`
- [ 52] JumpGreaterThanRhsInt32 arith_feedback:0, lhs:reg6, rhs:1, true_target:block2, false_target:block3
+ [ e] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
+ [ 1a] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
+ [ 25] InitializeLexicalBinding `x`, src:i~1
+ [ 32] NewFunction dst:f~2, shared_function_data_index:0 (f)
+ [ 3c] GetBinding value_feedback:0, dst:reg6, `x`
+ [ 4b] JumpGreaterThanRhsInt32 arith_feedback:0, lhs:reg6, rhs:1, true_target:block2, false_target:block3
block2:
- [ 63] Mov dst:result~0, src:f~2
- [ 68] SetLexicalEnvironment environment:reg4
- [ 6b] Jump target:block5
+ [ 5b] Mov dst:result~0, src:f~2
+ [ 5e] SetLexicalEnvironment environment:reg4
+ [ 60] Jump target:block5
block3:
- [ 70] SetLexicalEnvironment environment:reg4
- [ 73] Increment arith_feedback:1, dst:i~1
+ [ 65] SetLexicalEnvironment environment:reg4
+ [ 67] Increment arith_feedback:1, dst:i~1
block4:
- [ 78] JumpLessThanLoopRhsInt32 arith_feedback:2, lhs:i~1, rhs:3, true_target:block1, false_target:block5
+ [ 6b] JumpLessThanLoopRhsInt32 arith_feedback:2, lhs:i~1, rhs:3, true_target:block1, false_target:block5
block5:
- [ 89] Call value_feedback:1, call_feedback:0, dst:reg5, callee:result~0, this_value:Undefined
- [ 9a] Return value:reg5
+ [ 7b] Call value_feedback:1, call_feedback:0, dst:reg5, callee:result~0, this_value:Undefined
+ [ 86] Return value:reg5
-f$94ebe0e9 block-scoping.js:20:21
+f$44bfa1d8 block-scoping.js:20:21
Registers: 6
Blocks: 1
diff --git a/Tests/LibJS/Bytecode/expected/call-spread-register-order.txt b/Tests/LibJS/Bytecode/expected/call-spread-register-order.txt
index 05842241d2e..ccdb014f485 100644
--- a/Tests/LibJS/Bytecode/expected/call-spread-register-order.txt
+++ b/Tests/LibJS/Bytecode/expected/call-spread-register-order.txt
@@ -1,4 +1,4 @@
-$1f3c9239 call-spread-register-order.js:2:1
+$2eb7d506 call-spread-register-order.js:2:1
Registers: 9
Blocks: 1
Constants:
@@ -8,15 +8,15 @@ $1f3c9239 call-spread-register-order.js:2:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] NewArray dst:reg7, elements:[Int32(42)]
- [ 18] NewPrimitiveArray dst:reg8, elements:[1]
- [ 27] ArrayAppend dst:reg7, src:reg8, is_spread:true
- [ 2d] CallWithArgumentArray value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:reg7
- [ 3c] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] NewArray dst:reg7, elements:[Int32(42)]
+ [ 11] NewPrimitiveArray dst:reg8, elements:[1]
+ [ 1f] ArrayAppend dst:reg7, src:reg8, is_spread:true
+ [ 23] CallWithArgumentArray value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:reg7
+ [ 2e] End value:reg5
-f$3cbd94cf
+f$0b87db58
Registers: 5
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/captured-variables.txt b/Tests/LibJS/Bytecode/expected/captured-variables.txt
index ed8e52ffc3a..af4ff0d2198 100644
--- a/Tests/LibJS/Bytecode/expected/captured-variables.txt
+++ b/Tests/LibJS/Bytecode/expected/captured-variables.txt
@@ -1,4 +1,4 @@
-$c91963ab captured-variables.js:12:1
+$ef3f58e2 captured-variables.js:12:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $c91963ab captured-variables.js:12:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `outer`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `outer`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-outer$648225ec captured-variables.js:5:9
+outer$92f3ee53 captured-variables.js:5:9
Registers: 6
Blocks: 1
Locals: inner~0
@@ -23,14 +23,14 @@ outer$648225ec captured-variables.js:5:9
block0:
[ 0] Enter
[ 1] CreateVariable `captured`, is_immutable:false, is_global:false, is_strict:false
- [ b] Mov dst:inner~0, src:Undefined
- [ 10] NewFunction dst:inner~0, shared_function_data_index:0
- [ 1b] InitializeLexicalBinding `captured`, src:Int32(1)
- [ 28] Call value_feedback:0, call_feedback:0, dst:reg5, callee:inner~0, this_value:Undefined
- [ 39] Return value:reg5
+ [ c] Mov dst:inner~0, src:Undefined
+ [ f] NewFunction dst:inner~0, shared_function_data_index:0
+ [ 19] InitializeLexicalBinding `captured`, src:Int32(1)
+ [ 26] Call value_feedback:0, call_feedback:0, dst:reg5, callee:inner~0, this_value:Undefined
+ [ 31] Return value:reg5
-inner$37622906 captured-variables.js:7:9
+inner$878e6817 captured-variables.js:7:9
Registers: 6
Blocks: 1
diff --git a/Tests/LibJS/Bytecode/expected/catch-scope-boundary.txt b/Tests/LibJS/Bytecode/expected/catch-scope-boundary.txt
index 4e73bd585d9..025b2b51fc5 100644
--- a/Tests/LibJS/Bytecode/expected/catch-scope-boundary.txt
+++ b/Tests/LibJS/Bytecode/expected/catch-scope-boundary.txt
@@ -1,4 +1,4 @@
-$ff67f1e5 catch-scope-boundary.js:14:1
+$87f95a0a catch-scope-boundary.js:14:1
Registers: 9
Blocks: 1
Constants:
@@ -7,20 +7,20 @@ $ff67f1e5 catch-scope-boundary.js:14:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `console`
- [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1c] GetGlobal value_feedback:2, dst:reg8, `throwInCatch`
- [ 25] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
- [ 36] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 49] GetGlobal value_feedback:5, dst:reg6, `console`
- [ 52] GetById value_feedback:6, dst:reg7, base:reg6, `log`
- [ 5f] GetGlobal value_feedback:7, dst:reg8, `throwInCatchWithLocals`
- [ 68] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined
- [ 79] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 8c] End value:reg5
-
-
-throwInCatch$adedece6 catch-scope-boundary.js:2:9
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ d] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 19] GetGlobal value_feedback:2, dst:reg8, `throwInCatch`
+ [ 22] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
+ [ 2d] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 39] GetGlobal value_feedback:5, dst:reg6, `console`
+ [ 42] GetById value_feedback:6, dst:reg7, base:reg6, `log`
+ [ 4e] GetGlobal value_feedback:7, dst:reg8, `throwInCatchWithLocals`
+ [ 57] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined
+ [ 62] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 6e] End value:reg5
+
+
+throwInCatch$1fd4a2a1 catch-scope-boundary.js:2:9
Registers: 7
Blocks: 7
Locals: result~0, e~1, e2~2
@@ -36,35 +36,35 @@ block0:
[ 1] Mov dst:result~0, src:String("bad")
block1:
- [ 6] Throw src:Int32(1)
+ [ 4] Throw src:Int32(1)
block2:
- [ 9] Catch value_feedback:0, dst:reg5
- [ e] Mov dst:e~1, src:<Empty>
- [ 13] Mov dst:e~1, src:reg5
+ [ 6] Catch value_feedback:0, dst:reg5
+ [ a] Mov dst:e~1, src:<Empty>
+ [ d] Mov dst:e~1, src:reg5
block3:
- [ 18] Throw src:Int32(2)
+ [ 10] Throw src:Int32(2)
block4:
- [ 1b] Catch value_feedback:1, dst:reg6
- [ 20] Mov dst:e2~2, src:<Empty>
- [ 25] Mov dst:e2~2, src:reg6
- [ 2a] Mov dst:result~0, src:String("good")
- [ 2f] Jump target:block5
+ [ 12] Catch value_feedback:1, dst:reg6
+ [ 16] Mov dst:e2~2, src:<Empty>
+ [ 19] Mov dst:e2~2, src:reg6
+ [ 1c] Mov dst:result~0, src:String("good")
+ [ 1f] Jump target:block5
block5:
- [ 34] Jump target:block6
+ [ 24] Jump target:block6
block6:
- [ 39] Return value:result~0
+ [ 29] Return value:result~0
Exception handlers:
- [ 6 .. 9] => handler block2
- [ 18 .. 1b] => handler block4
+ [ 4 .. 6] => handler block2
+ [ 10 .. 12] => handler block4
-throwInCatchWithLocals$e1e5d40f catch-scope-boundary.js:17:9
+throwInCatchWithLocals$11740009 catch-scope-boundary.js:17:9
Registers: 8
Blocks: 5
Locals: outerVar~0, e~1, catchLocal~2, inner~3
@@ -81,30 +81,30 @@ block0:
[ 1] Mov dst:outerVar~0, src:String("outer")
block1:
- [ 6] Throw src:String("first")
+ [ 4] Throw src:String("first")
block2:
- [ 9] Catch value_feedback:0, dst:reg5
- [ e] Mov dst:e~1, src:<Empty>
- [ 13] Mov dst:e~1, src:reg5
- [ 18] Add arith_feedback:0, dst:catchLocal~2, lhs:String("local:"), rhs:e~1
+ [ 6] Catch value_feedback:0, dst:reg5
+ [ a] Mov dst:e~1, src:<Empty>
+ [ d] Mov dst:e~1, src:reg5
+ [ 10] Add arith_feedback:0, dst:catchLocal~2, lhs:String("local:"), rhs:e~1
block3:
- [ 21] Throw src:String("second")
+ [ 16] Throw src:String("second")
block4:
- [ 24] Catch value_feedback:1, dst:reg6
- [ 29] Mov dst:inner~3, src:<Empty>
- [ 2e] Mov dst:inner~3, src:reg6
- [ 33] Add arith_feedback:1, dst:reg7, lhs:outerVar~0, rhs:String(",")
- [ 3c] Add arith_feedback:2, dst:reg7, lhs:reg7, rhs:catchLocal~2
- [ 45] Add arith_feedback:3, dst:reg7, lhs:reg7, rhs:String(",")
- [ 4e] Add arith_feedback:4, dst:reg7, lhs:reg7, rhs:inner~3
- [ 57] Return value:reg7
+ [ 18] Catch value_feedback:1, dst:reg6
+ [ 1c] Mov dst:inner~3, src:<Empty>
+ [ 1f] Mov dst:inner~3, src:reg6
+ [ 22] Add arith_feedback:1, dst:reg7, lhs:outerVar~0, rhs:String(",")
+ [ 28] Add arith_feedback:2, dst:reg7, lhs:reg7, rhs:catchLocal~2
+ [ 2e] Add arith_feedback:3, dst:reg7, lhs:reg7, rhs:String(",")
+ [ 34] Add arith_feedback:4, dst:reg7, lhs:reg7, rhs:inner~3
+ [ 3a] Return value:reg7
Exception handlers:
- [ 6 .. 9] => handler block2
- [ 21 .. 24] => handler block4
+ [ 4 .. 6] => handler block2
+ [ 16 .. 18] => handler block4
"good"
diff --git a/Tests/LibJS/Bytecode/expected/chained-member-call.txt b/Tests/LibJS/Bytecode/expected/chained-member-call.txt
index 0af7b17a8ca..48d103f159e 100644
--- a/Tests/LibJS/Bytecode/expected/chained-member-call.txt
+++ b/Tests/LibJS/Bytecode/expected/chained-member-call.txt
@@ -1,4 +1,4 @@
-$fbf6aa9f chained-member-call.js:12:1
+$e42f94a2 chained-member-call.js:12:1
Registers: 7
Blocks: 7
Constants:
@@ -8,60 +8,60 @@ $fbf6aa9f chained-member-call.js:12:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg5, src:Undefined
+ [ 4] Mov dst:reg5, src:Undefined
block1:
- [ b] GetGlobal value_feedback:0, dst:reg6, `chained_computed_call`
- [ 14] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(0), Int32(0), Int32(0)]
- [ 2b] Jump target:block3
+ [ 7] GetGlobal value_feedback:0, dst:reg6, `chained_computed_call`
+ [ 10] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(0), Int32(0), Int32(0)]
+ [ 1e] Jump target:block3
block2:
- [ 30] Catch value_feedback:2, dst:reg6
- [ 35] Mov dst:reg5, src:Undefined
- [ 3a] Jump target:block3
+ [ 23] Catch value_feedback:2, dst:reg6
+ [ 27] Mov dst:reg5, src:Undefined
+ [ 2a] Jump target:block3
block3:
- [ 3f] Mov dst:reg5, src:Undefined
+ [ 2f] Mov dst:reg5, src:Undefined
block4:
- [ 44] GetGlobal value_feedback:3, dst:reg6, `chained_dot_call`
- [ 4d] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(0)]
- [ 60] Jump target:block6
+ [ 32] GetGlobal value_feedback:3, dst:reg6, `chained_dot_call`
+ [ 3b] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(0)]
+ [ 47] Jump target:block6
block5:
- [ 65] Catch value_feedback:5, dst:reg6
- [ 6a] Mov dst:reg5, src:Undefined
- [ 6f] Jump target:block6
+ [ 4c] Catch value_feedback:5, dst:reg6
+ [ 50] Mov dst:reg5, src:Undefined
+ [ 53] Jump target:block6
block6:
- [ 74] End value:reg5
+ [ 58] End value:reg5
Exception handlers:
- [ b .. 30] => handler block2
- [ 44 .. 65] => handler block5
+ [ 7 .. 23] => handler block2
+ [ 32 .. 4c] => handler block5
-chained_computed_call$d62dbd22 chained-member-call.js:5:5
+chained_computed_call$4930d670 chained-member-call.js:5:5
Registers: 7
Blocks: 1
block0:
[ 0] Enter
[ 1] GetByValue value_feedback:0, keyed_feedback:0, dst:reg5, base:arg0, property:arg1
- [ 10] GetByValue value_feedback:1, keyed_feedback:1, dst:reg5, base:reg5, property:arg2
- [ 1f] GetById value_feedback:2, dst:reg6, base:reg5, `foo`
- [ 2c] Call value_feedback:3, call_feedback:0, dst:reg5, callee:reg6, this_value:reg5
- [ 3d] Return value:reg5
+ [ d] GetByValue value_feedback:1, keyed_feedback:1, dst:reg5, base:reg5, property:arg2
+ [ 19] GetById value_feedback:2, dst:reg6, base:reg5, `foo`
+ [ 25] Call value_feedback:3, call_feedback:0, dst:reg5, callee:reg6, this_value:reg5
+ [ 30] Return value:reg5
-chained_dot_call$ab487024 chained-member-call.js:9:5
+chained_dot_call$8c51ea8a chained-member-call.js:9:5
Registers: 7
Blocks: 1
block0:
[ 0] Enter
[ 1] GetById value_feedback:0, dst:reg5, base:arg0, `b`
- [ e] GetById value_feedback:1, dst:reg5, base:reg5, `c`
- [ 1b] GetById value_feedback:2, dst:reg6, base:reg5, `bar`
- [ 28] Call value_feedback:3, call_feedback:0, dst:reg5, callee:reg6, this_value:reg5
- [ 39] Return value:reg5
+ [ d] GetById value_feedback:1, dst:reg5, base:reg5, `c`
+ [ 19] GetById value_feedback:2, dst:reg6, base:reg5, `bar`
+ [ 25] Call value_feedback:3, call_feedback:0, dst:reg5, callee:reg6, this_value:reg5
+ [ 30] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/class-computed-field-lhs-name.txt b/Tests/LibJS/Bytecode/expected/class-computed-field-lhs-name.txt
index dfc79c5cd89..fce20223183 100644
--- a/Tests/LibJS/Bytecode/expected/class-computed-field-lhs-name.txt
+++ b/Tests/LibJS/Bytecode/expected/class-computed-field-lhs-name.txt
@@ -1,4 +1,4 @@
-$4f03e762 class-computed-field-lhs-name.js:1:5
+$019b9961 class-computed-field-lhs-name.js:1:5
Registers: 8
Blocks: 1
Constants:
@@ -8,17 +8,17 @@ $4f03e762 class-computed-field-lhs-name.js:1:5
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:0, is_catch_environment:false
- [ 17] SetLexicalEnvironment environment:reg4
- [ 1a] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0 (C), element_keys:[element_keys:Int32(3)]
- [ 31] SetGlobal `C`, src:reg6
- [ 38] GetGlobal value_feedback:0, dst:reg6, `C`
- [ 41] CallConstruct value_feedback:1, call_feedback:0, dst:reg5, callee:reg6
- [ 50] End value:reg5
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:0, is_catch_environment:false
+ [ 12] SetLexicalEnvironment environment:reg4
+ [ 14] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0 (C), element_keys_are_in_array:false, element_keys:[element_keys:Int32(3)]
+ [ 24] SetGlobal `C`, src:reg6
+ [ 2b] GetGlobal value_feedback:0, dst:reg6, `C`
+ [ 34] CallConstruct value_feedback:1, call_feedback:0, dst:reg5, callee:reg6
+ [ 3e] End value:reg5
-C$259e8512
+C$16234245
Registers: 5
Blocks: 1
Constants:
@@ -29,13 +29,13 @@ block0:
[ 1] End value:Undefined
-field$12ef1971 class-computed-field-lhs-name.js:2:15
+field$84d5cf2c class-computed-field-lhs-name.js:2:15
Registers: 7
Blocks: 1
block0:
[ 0] Enter
[ 1] GetClassFieldInitializerName dst:reg5
- [ 4] NewFunction dst:reg6, shared_function_data_index:0
- [ f] SetFunctionName function:reg6, name:reg5
- [ 18] Return value:reg6
+ [ 3] NewFunction dst:reg6, shared_function_data_index:0
+ [ d] SetFunctionName function:reg6, name:reg5
+ [ 14] Return value:reg6
diff --git a/Tests/LibJS/Bytecode/expected/class-computed-key.txt b/Tests/LibJS/Bytecode/expected/class-computed-key.txt
index 5052689a15a..1e2853f6bb7 100644
--- a/Tests/LibJS/Bytecode/expected/class-computed-key.txt
+++ b/Tests/LibJS/Bytecode/expected/class-computed-key.txt
@@ -1,4 +1,4 @@
-$7db3088d class-computed-key.js:10:1
+$a3d8fdc4 class-computed-key.js:10:1
Registers: 7
Blocks: 1
Constants:
@@ -7,23 +7,23 @@ $7db3088d class-computed-key.js:10:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-f$29964d1e class-computed-key.js:4:5
+f$8679ddec class-computed-key.js:4:5
Registers: 9
Blocks: 1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:0, is_catch_environment:false
- [ 12] CreateVariable ``, is_immutable:true, is_global:false, is_strict:true
- [ 1c] GetGlobal value_feedback:0, dst:reg7, `Symbol`
- [ 25] GetById value_feedback:1, dst:reg7, base:reg7, `iterator`
- [ 32] ToPrimitiveWithStringHint dst:reg8, value:reg7
- [ 37] SetLexicalEnvironment environment:reg4
- [ 3a] NewClass dst:reg5, class_environment:reg6, class_blueprint_index:0, element_keys:[element_keys:reg8]
- [ 51] Return value:reg5
+ [ 3] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:0, is_catch_environment:false
+ [ f] CreateVariable ``, is_immutable:true, is_global:false, is_strict:true
+ [ 1a] GetGlobal value_feedback:0, dst:reg7, `Symbol`
+ [ 23] GetById value_feedback:1, dst:reg7, base:reg7, `iterator`
+ [ 2f] ToPrimitiveWithStringHint dst:reg8, value:reg7
+ [ 32] SetLexicalEnvironment environment:reg4
+ [ 34] NewClass dst:reg5, class_environment:reg6, class_blueprint_index:0, element_keys_are_in_array:false, element_keys:[element_keys:reg8]
+ [ 44] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/class-environment.txt b/Tests/LibJS/Bytecode/expected/class-environment.txt
index 6a0e2e362d6..5c256bac8f7 100644
--- a/Tests/LibJS/Bytecode/expected/class-environment.txt
+++ b/Tests/LibJS/Bytecode/expected/class-environment.txt
@@ -1,4 +1,4 @@
-$3b521a21 class-environment.js:9:1
+$da030ac6 class-environment.js:9:1
Registers: 9
Blocks: 1
Constants:
@@ -7,15 +7,15 @@ $3b521a21 class-environment.js:9:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `console`
- [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1c] GetGlobal value_feedback:2, dst:reg8, `classWithName`
- [ 25] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
- [ 36] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 49] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ d] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 19] GetGlobal value_feedback:2, dst:reg8, `classWithName`
+ [ 22] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
+ [ 2d] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 39] End value:reg5
-classWithName$9c90d9a9 class-environment.js:2:9
+classWithName$6167bf85 class-environment.js:2:9
Registers: 7
Blocks: 1
Locals: C~0
@@ -25,19 +25,19 @@ classWithName$9c90d9a9 class-environment.js:2:9
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:1, is_catch_environment:false
- [ 12] CreateVariable `Foo`, is_immutable:true, is_global:false, is_strict:true
- [ 1c] SetLexicalEnvironment environment:reg4
- [ 1f] NewClass dst:reg5, class_environment:reg6, class_blueprint_index:0, element_keys:[element_keys:String("method")]
- [ 36] Mov dst:C~0, src:reg5
- [ 3b] CallConstruct value_feedback:0, call_feedback:0, dst:reg5, callee:C~0
- [ 4a] GetById value_feedback:1, dst:reg6, base:reg5, `method`
- [ 57] Call value_feedback:2, call_feedback:1, dst:reg5, callee:reg6, this_value:reg5
- [ 68] StrictlyEquals arith_feedback:0, dst:reg5, lhs:reg5, rhs:C~0
- [ 71] Return value:reg5
-
-
-Foo$129c9607
+ [ 3] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:1, is_catch_environment:false
+ [ f] CreateVariable `Foo`, is_immutable:true, is_global:false, is_strict:true
+ [ 1a] SetLexicalEnvironment environment:reg4
+ [ 1c] NewClass dst:reg5, class_environment:reg6, class_blueprint_index:0, element_keys_are_in_array:false, element_keys:[element_keys:String("method")]
+ [ 2c] Mov dst:C~0, src:reg5
+ [ 2f] CallConstruct value_feedback:0, call_feedback:0, dst:reg5, callee:C~0
+ [ 39] GetById value_feedback:1, dst:reg6, base:reg5, `method`
+ [ 45] Call value_feedback:2, call_feedback:1, dst:reg5, callee:reg6, this_value:reg5
+ [ 50] StrictlyEquals arith_feedback:0, dst:reg5, lhs:reg5, rhs:C~0
+ [ 56] Return value:reg5
+
+
+Foo$e166dc90
Registers: 5
Blocks: 1
Constants:
@@ -48,7 +48,7 @@ block0:
[ 1] End value:Undefined
-method$f8c83e48 class-environment.js:4:13
+method$48f47d59 class-environment.js:4:13
Registers: 6
Blocks: 1
diff --git a/Tests/LibJS/Bytecode/expected/class-lhs-name-no-createvariable.txt b/Tests/LibJS/Bytecode/expected/class-lhs-name-no-createvariable.txt
index b1d00cde4c4..c74251bc9d4 100644
--- a/Tests/LibJS/Bytecode/expected/class-lhs-name-no-createvariable.txt
+++ b/Tests/LibJS/Bytecode/expected/class-lhs-name-no-createvariable.txt
@@ -1,4 +1,4 @@
-$caddfdca class-lhs-name-no-createvariable.js:1:5
+$6dfa6cfc class-lhs-name-no-createvariable.js:1:5
Registers: 8
Blocks: 1
Constants:
@@ -8,9 +8,9 @@ $caddfdca class-lhs-name-no-createvariable.js:1:5
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:0, is_catch_environment:false
- [ 17] SetLexicalEnvironment environment:reg4
- [ 1a] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0 (x), element_keys:[element_keys:String("method")]
- [ 31] SetGlobal `x`, src:reg6
- [ 38] End value:reg5
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:0, is_catch_environment:false
+ [ 12] SetLexicalEnvironment environment:reg4
+ [ 14] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0 (x), element_keys_are_in_array:false, element_keys:[element_keys:String("method")]
+ [ 24] SetGlobal `x`, src:reg6
+ [ 2b] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/class-literal-fields.txt b/Tests/LibJS/Bytecode/expected/class-literal-fields.txt
index cea705d89ca..bb457b4891e 100644
--- a/Tests/LibJS/Bytecode/expected/class-literal-fields.txt
+++ b/Tests/LibJS/Bytecode/expected/class-literal-fields.txt
@@ -1,4 +1,4 @@
-$bf75aecd class-literal-fields.js:12:5
+$793cd069 class-literal-fields.js:12:5
Registers: 14
Blocks: 1
Constants:
@@ -7,28 +7,28 @@ $bf75aecd class-literal-fields.js:12:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `test`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:Undefined
- [ 20] DynamicInitializeLexicalBinding `a`, src:reg6
- [ 27] GetGlobal value_feedback:2, dst:reg6, `console`
- [ 30] GetById value_feedback:3, dst:reg7, base:reg6, `log`
- [ 3d] GetGlobal value_feedback:4, dst:reg8, `a`
- [ 46] GetById value_feedback:5, dst:reg8, base:reg8, `x`
- [ 53] GetGlobal value_feedback:6, dst:reg9, `a`
- [ 5c] GetById value_feedback:7, dst:reg9, base:reg9, `y`
- [ 69] GetGlobal value_feedback:8, dst:reg10, `a`
- [ 72] GetById value_feedback:9, dst:reg10, base:reg10, `z`
- [ 7f] GetGlobal value_feedback:10, dst:reg11, `a`
- [ 88] GetById value_feedback:11, dst:reg11, base:reg11, `w`
- [ 95] GetGlobal value_feedback:12, dst:reg12, `a`
- [ 9e] GetById value_feedback:13, dst:reg12, base:reg12, `s`
- [ ab] GetGlobal value_feedback:14, dst:reg13, `a`
- [ b4] GetById value_feedback:15, dst:reg13, base:reg13, `computed`
- [ c1] Call value_feedback:16, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8, reg9, reg10, reg11, reg12, reg13]
- [ de] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `test`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:Undefined
+ [ 18] DynamicInitializeLexicalBinding `a`, src:reg6
+ [ 1f] GetGlobal value_feedback:2, dst:reg6, `console`
+ [ 28] GetById value_feedback:3, dst:reg7, base:reg6, `log`
+ [ 34] GetGlobal value_feedback:4, dst:reg8, `a`
+ [ 3d] GetById value_feedback:5, dst:reg8, base:reg8, `x`
+ [ 49] GetGlobal value_feedback:6, dst:reg9, `a`
+ [ 52] GetById value_feedback:7, dst:reg9, base:reg9, `y`
+ [ 5e] GetGlobal value_feedback:8, dst:reg10, `a`
+ [ 67] GetById value_feedback:9, dst:reg10, base:reg10, `z`
+ [ 73] GetGlobal value_feedback:10, dst:reg11, `a`
+ [ 7c] GetById value_feedback:11, dst:reg11, base:reg11, `w`
+ [ 88] GetGlobal value_feedback:12, dst:reg12, `a`
+ [ 91] GetById value_feedback:13, dst:reg12, base:reg12, `s`
+ [ 9d] GetGlobal value_feedback:14, dst:reg13, `a`
+ [ a6] GetById value_feedback:15, dst:reg13, base:reg13, `computed`
+ [ b2] Call value_feedback:16, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8, reg9, reg10, reg11, reg12, reg13]
+ [ c3] End value:reg5
-test$928103c6 class-literal-fields.js:2:5
+test$16a6ed5e class-literal-fields.js:2:5
Registers: 7
Blocks: 1
Locals: A~0
@@ -43,17 +43,17 @@ test$928103c6 class-literal-fields.js:2:5
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:1, is_catch_environment:false
- [ 12] CreateVariable `A`, is_immutable:true, is_global:false, is_strict:true
- [ 1c] SetLexicalEnvironment environment:reg4
- [ 1f] NewClass dst:reg5, class_environment:reg6, class_blueprint_index:0, element_keys:[element_keys:String("x"), element_keys:String("y"), element_keys:String("z"), element_keys:String("w"), element_keys:String("s"), element_keys:String("computed")]
- [ 40] Mov dst:A~0, src:reg5
- [ 45] ThrowIfTDZ src:A~0
- [ 48] CallConstruct value_feedback:0, call_feedback:0, dst:reg5, callee:A~0
- [ 57] Return value:reg5
+ [ 3] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:1, is_catch_environment:false
+ [ f] CreateVariable `A`, is_immutable:true, is_global:false, is_strict:true
+ [ 1a] SetLexicalEnvironment environment:reg4
+ [ 1c] NewClass dst:reg5, class_environment:reg6, class_blueprint_index:0, element_keys_are_in_array:false, element_keys:[element_keys:String("x"), element_keys:String("y"), element_keys:String("z"), element_keys:String("w"), element_keys:String("s"), element_keys:String("computed")]
+ [ 31] Mov dst:A~0, src:reg5
+ [ 34] ThrowIfTDZ src:A~0
+ [ 36] CallConstruct value_feedback:0, call_feedback:0, dst:reg5, callee:A~0
+ [ 40] Return value:reg5
-A$2cf29520
+A$5e284e97
Registers: 5
Blocks: 1
Constants:
@@ -64,7 +64,7 @@ block0:
[ 1] End value:Undefined
-field$922997cd class-literal-fields.js:8:22
+field$a1a4da9a class-literal-fields.js:8:22
Registers: 5
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/computed-compound-assign-register-reuse.txt b/Tests/LibJS/Bytecode/expected/computed-compound-assign-register-reuse.txt
index 801a3808983..96f3231d47d 100644
--- a/Tests/LibJS/Bytecode/expected/computed-compound-assign-register-reuse.txt
+++ b/Tests/LibJS/Bytecode/expected/computed-compound-assign-register-reuse.txt
@@ -1,4 +1,4 @@
-$69c3e288 computed-compound-assign-register-reuse.js:9:1
+$7c031665 computed-compound-assign-register-reuse.js:9:1
Registers: 9
Blocks: 1
Constants:
@@ -7,14 +7,14 @@ $69c3e288 computed-compound-assign-register-reuse.js:9:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `subVector`
- [ f] NewPrimitiveArray dst:reg7, elements:[1, 2]
- [ 26] NewPrimitiveArray dst:reg8, elements:[3, 4]
- [ 3d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7, reg8]
- [ 52] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `subVector`
+ [ d] NewPrimitiveArray dst:reg7, elements:[1, 2]
+ [ 23] NewPrimitiveArray dst:reg8, elements:[3, 4]
+ [ 39] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7, reg8]
+ [ 46] End value:reg5
-subVector$0b08684c computed-compound-assign-register-reuse.js:5:13
+subVector$3f0212d3 computed-compound-assign-register-reuse.js:5:13
Registers: 8
Blocks: 1
Constants:
@@ -25,11 +25,11 @@ subVector$0b08684c computed-compound-assign-register-reuse.js:5:13
block0:
[ 0] Enter
[ 1] GetByValue value_feedback:0, keyed_feedback:0, dst:reg5, base:arg0, property:Int32(0)
- [ 10] GetByValue value_feedback:1, keyed_feedback:1, dst:reg6, base:arg1, property:Int32(0)
- [ 1f] Sub arith_feedback:0, dst:reg7, lhs:reg5, rhs:reg6
- [ 28] PutByValue keyed_feedback:2, base:arg0, property:Int32(0), src:reg7, kind:Normal
- [ 39] GetByValue value_feedback:2, keyed_feedback:3, dst:reg5, base:arg0, property:Int32(1)
- [ 48] GetByValue value_feedback:3, keyed_feedback:4, dst:reg6, base:arg1, property:Int32(1)
- [ 57] Sub arith_feedback:1, dst:reg7, lhs:reg5, rhs:reg6
- [ 60] PutByValue keyed_feedback:5, base:arg0, property:Int32(1), src:reg7, kind:Normal
- [ 71] End value:Undefined
+ [ d] GetByValue value_feedback:1, keyed_feedback:1, dst:reg6, base:arg1, property:Int32(0)
+ [ 19] Sub arith_feedback:0, dst:reg7, lhs:reg5, rhs:reg6
+ [ 1f] PutByValue keyed_feedback:2, base:arg0, property:Int32(0), src:reg7, kind:Normal
+ [ 2d] GetByValue value_feedback:2, keyed_feedback:3, dst:reg5, base:arg0, property:Int32(1)
+ [ 39] GetByValue value_feedback:3, keyed_feedback:4, dst:reg6, base:arg1, property:Int32(1)
+ [ 45] Sub arith_feedback:1, dst:reg7, lhs:reg5, rhs:reg6
+ [ 4b] PutByValue keyed_feedback:5, base:arg0, property:Int32(1), src:reg7, kind:Normal
+ [ 59] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/computed-member-access.txt b/Tests/LibJS/Bytecode/expected/computed-member-access.txt
index b019cd96d1e..2f2335733ea 100644
--- a/Tests/LibJS/Bytecode/expected/computed-member-access.txt
+++ b/Tests/LibJS/Bytecode/expected/computed-member-access.txt
@@ -1,4 +1,4 @@
-$1db12149 computed-member-access.js:12:1
+$d77842e5 computed-member-access.js:12:1
Registers: 8
Blocks: 1
Constants:
@@ -8,16 +8,16 @@ $1db12149 computed-member-access.js:12:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `computed_read`
- [ f] NewPrimitiveArray dst:reg7, elements:[1]
- [ 1e] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 31] GetGlobal value_feedback:2, dst:reg6, `computed_read_expression`
- [ 3a] NewPrimitiveArray dst:reg7, elements:[1]
- [ 49] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7, Int32(0)]
- [ 5e] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `computed_read`
+ [ d] NewPrimitiveArray dst:reg7, elements:[1]
+ [ 1b] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 27] GetGlobal value_feedback:2, dst:reg6, `computed_read_expression`
+ [ 30] NewPrimitiveArray dst:reg7, elements:[1]
+ [ 3e] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7, Int32(0)]
+ [ 4b] End value:reg5
-computed_read$3b93c7b2 computed-member-access.js:5:5
+computed_read$fae2cb6e computed-member-access.js:5:5
Registers: 6
Blocks: 1
Constants:
@@ -26,14 +26,14 @@ computed_read$3b93c7b2 computed-member-access.js:5:5
block0:
[ 0] Enter
[ 1] GetByValue value_feedback:0, keyed_feedback:0, dst:reg5, base:arg0, property:Int32(0)
- [ 10] Return value:reg5
+ [ d] Return value:reg5
-computed_read_expression$b79c72d3 computed-member-access.js:9:5
+computed_read_expression$7c7358af computed-member-access.js:9:5
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] GetByValue value_feedback:0, keyed_feedback:0, dst:reg5, base:arg0, property:arg1
- [ 10] Return value:reg5
+ [ d] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/computed-member-compound-assign.txt b/Tests/LibJS/Bytecode/expected/computed-member-compound-assign.txt
index e40150b2167..1965909e2e1 100644
--- a/Tests/LibJS/Bytecode/expected/computed-member-compound-assign.txt
+++ b/Tests/LibJS/Bytecode/expected/computed-member-compound-assign.txt
@@ -1,4 +1,4 @@
-$816edbf8 computed-member-compound-assign.js:15:1
+$2bbabac7 computed-member-compound-assign.js:15:1
Registers: 8
Blocks: 1
Constants:
@@ -9,18 +9,18 @@ $816edbf8 computed-member-compound-assign.js:15:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `compound_computed`
- [ f] NewObject dst:reg7
- [ 14] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7, String("x")]
- [ 29] GetGlobal value_feedback:2, dst:reg6, `compound_then_assign`
- [ 32] NewObject dst:reg7
- [ 37] InitObjectLiteralProperty object:reg7, `x`, src:Int32(1), shape_cache_index:0, property_slot:0
- [ 46] CacheObjectShape object:reg7
- [ 4b] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7, String("x")]
- [ 60] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `compound_computed`
+ [ d] NewObject dst:reg7
+ [ 11] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7, String("x")]
+ [ 1e] GetGlobal value_feedback:2, dst:reg6, `compound_then_assign`
+ [ 27] NewObject dst:reg7
+ [ 2b] InitObjectLiteralProperty object:reg7, `x`, src:Int32(1), shape_cache_index:0, property_slot:0
+ [ 39] CacheObjectShape object:reg7
+ [ 3d] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7, String("x")]
+ [ 4a] End value:reg5
-compound_computed$556e0684 computed-member-compound-assign.js:7:14
+compound_computed$98e2f3d8 computed-member-compound-assign.js:7:14
Registers: 8
Blocks: 1
Constants:
@@ -29,14 +29,14 @@ compound_computed$556e0684 computed-member-compound-assign.js:7:14
block0:
[ 0] Enter
[ 1] ThrowIfNullish src:arg0
- [ 4] ToPrimitiveWithStringHint dst:reg5, value:arg1
- [ 9] GetByValue value_feedback:0, keyed_feedback:0, dst:reg6, base:arg0, property:reg5
- [ 18] AddRhsInt32 arith_feedback:0, dst:reg7, lhs:reg6, rhs:1
- [ 23] PutByValue keyed_feedback:1, base:arg0, property:reg5, src:reg7, kind:Normal
- [ 34] End value:Undefined
+ [ 3] ToPrimitiveWithStringHint dst:reg5, value:arg1
+ [ 6] GetByValue value_feedback:0, keyed_feedback:0, dst:reg6, base:arg0, property:reg5
+ [ 12] AddRhsInt32 arith_feedback:0, dst:reg7, lhs:reg6, rhs:1
+ [ 1b] PutByValue keyed_feedback:1, base:arg0, property:reg5, src:reg7, kind:Normal
+ [ 29] End value:Undefined
-compound_then_assign$b9bd507c computed-member-compound-assign.js:11:13
+compound_then_assign$0cad809d computed-member-compound-assign.js:11:13
Registers: 8
Blocks: 1
Constants:
@@ -45,9 +45,9 @@ compound_then_assign$b9bd507c computed-member-compound-assign.js:11:13
block0:
[ 0] Enter
[ 1] ThrowIfNullish src:arg0
- [ 4] ToPrimitiveWithStringHint dst:reg5, value:arg1
- [ 9] GetByValue value_feedback:0, keyed_feedback:0, dst:reg6, base:arg0, property:reg5
- [ 18] AddRhsInt32 arith_feedback:0, dst:reg7, lhs:reg6, rhs:0
- [ 23] PutByValue keyed_feedback:1, base:arg0, property:reg5, src:reg7, kind:Normal
- [ 34] PutByValue keyed_feedback:2, base:arg0, property:arg1, src:arg1, kind:Normal
- [ 45] End value:Undefined
+ [ 3] ToPrimitiveWithStringHint dst:reg5, value:arg1
+ [ 6] GetByValue value_feedback:0, keyed_feedback:0, dst:reg6, base:arg0, property:reg5
+ [ 12] AddRhsInt32 arith_feedback:0, dst:reg7, lhs:reg6, rhs:0
+ [ 1b] PutByValue keyed_feedback:1, base:arg0, property:reg5, src:reg7, kind:Normal
+ [ 29] PutByValue keyed_feedback:2, base:arg0, property:arg1, src:arg1, kind:Normal
+ [ 37] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/computed-string-object-literal.txt b/Tests/LibJS/Bytecode/expected/computed-string-object-literal.txt
index 8ba0403e395..d14d4530d72 100644
--- a/Tests/LibJS/Bytecode/expected/computed-string-object-literal.txt
+++ b/Tests/LibJS/Bytecode/expected/computed-string-object-literal.txt
@@ -1,4 +1,4 @@
-$98198e62 computed-string-object-literal.js:15:1
+$7be6f9d8 computed-string-object-literal.js:15:1
Registers: 7
Blocks: 1
Constants:
@@ -8,16 +8,16 @@ $98198e62 computed-string-object-literal.js:15:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `simple_computed`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] GetGlobal value_feedback:2, dst:reg6, `mixed`
- [ 29] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
- [ 3a] GetGlobal value_feedback:4, dst:reg6, `dynamic`
- [ 43] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined, arguments:[String("x")]
- [ 56] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `simple_computed`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] GetGlobal value_feedback:2, dst:reg6, `mixed`
+ [ 21] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
+ [ 2c] GetGlobal value_feedback:4, dst:reg6, `dynamic`
+ [ 35] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined, arguments:[String("x")]
+ [ 41] End value:reg5
-simple_computed$5ee7ec06 computed-string-object-literal.js:6:5
+simple_computed$efc5275b computed-string-object-literal.js:6:5
Registers: 6
Blocks: 1
Constants:
@@ -26,11 +26,11 @@ simple_computed$5ee7ec06 computed-string-object-literal.js:6:5
block0:
[ 0] Enter
[ 1] NewObject dst:reg5
- [ 6] PutById base:reg5, `x`, src:Int32(1), kind:Own
- [ 15] Return value:reg5
+ [ 5] PutById base:reg5, `x`, src:Int32(1), kind:Own
+ [ 13] Return value:reg5
-mixed$ba546433 computed-string-object-literal.js:9:5
+mixed$fb056077 computed-string-object-literal.js:9:5
Registers: 6
Blocks: 1
Constants:
@@ -40,12 +40,12 @@ mixed$ba546433 computed-string-object-literal.js:9:5
block0:
[ 0] Enter
[ 1] NewObject dst:reg5
- [ 6] PutById base:reg5, `a`, src:Int32(1), kind:Own
- [ 15] PutById base:reg5, `b`, src:Int32(2), kind:Own
- [ 24] Return value:reg5
+ [ 5] PutById base:reg5, `a`, src:Int32(1), kind:Own
+ [ 13] PutById base:reg5, `b`, src:Int32(2), kind:Own
+ [ 21] Return value:reg5
-dynamic$1a5c1f4e computed-string-object-literal.js:12:5
+dynamic$897ee3f9 computed-string-object-literal.js:12:5
Registers: 7
Blocks: 1
Constants:
@@ -54,6 +54,6 @@ dynamic$1a5c1f4e computed-string-object-literal.js:12:5
block0:
[ 0] Enter
[ 1] NewObject dst:reg5
- [ 6] ToPrimitiveWithStringHint dst:reg6, value:arg0
- [ b] PutByValue keyed_feedback:0, base:reg5, property:reg6, src:Int32(1), kind:Own
- [ 1c] Return value:reg5
+ [ 5] ToPrimitiveWithStringHint dst:reg6, value:arg0
+ [ 8] PutByValue keyed_feedback:0, base:reg5, property:reg6, src:Int32(1), kind:Own
+ [ 16] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/computed-string-to-ById.txt b/Tests/LibJS/Bytecode/expected/computed-string-to-ById.txt
index b273de1fae8..25dc7388f33 100644
--- a/Tests/LibJS/Bytecode/expected/computed-string-to-ById.txt
+++ b/Tests/LibJS/Bytecode/expected/computed-string-to-ById.txt
@@ -1,4 +1,4 @@
-$6d8f8f34 computed-string-to-ById.js:17:1
+$15a2a6dd computed-string-to-ById.js:17:1
Registers: 8
Blocks: 1
Constants:
@@ -7,32 +7,32 @@ $6d8f8f34 computed-string-to-ById.js:17:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `get_string_prop`
- [ f] NewObject dst:reg7
- [ 14] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 27] GetGlobal value_feedback:2, dst:reg6, `set_string_prop`
- [ 30] NewObject dst:reg7
- [ 35] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 48] GetGlobal value_feedback:4, dst:reg6, `get_index_prop`
- [ 51] NewArray dst:reg7
- [ 58] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 6b] GetGlobal value_feedback:6, dst:reg6, `get_length_prop`
- [ 74] NewArray dst:reg7
- [ 7b] Call value_feedback:7, call_feedback:3, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 8e] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `get_string_prop`
+ [ d] NewObject dst:reg7
+ [ 11] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 1d] GetGlobal value_feedback:2, dst:reg6, `set_string_prop`
+ [ 26] NewObject dst:reg7
+ [ 2a] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 36] GetGlobal value_feedback:4, dst:reg6, `get_index_prop`
+ [ 3f] NewArray dst:reg7
+ [ 42] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 4e] GetGlobal value_feedback:6, dst:reg6, `get_length_prop`
+ [ 57] NewArray dst:reg7
+ [ 5a] Call value_feedback:7, call_feedback:3, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 66] End value:reg5
-get_string_prop$026204fa computed-string-to-ById.js:5:5
+get_string_prop$1e949984 computed-string-to-ById.js:5:5
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] GetById value_feedback:0, dst:reg5, base:arg0, `hello`
- [ e] Return value:reg5
+ [ d] Return value:reg5
-set_string_prop$5ad1af44 computed-string-to-ById.js:8:16
+set_string_prop$fb2a2d66 computed-string-to-ById.js:8:16
Registers: 5
Blocks: 1
Constants:
@@ -42,10 +42,10 @@ set_string_prop$5ad1af44 computed-string-to-ById.js:8:16
block0:
[ 0] Enter
[ 1] PutById base:arg0, `hello`, src:Int32(42), kind:Normal
- [ 10] End value:Undefined
+ [ f] End value:Undefined
-get_index_prop$4f99d41d computed-string-to-ById.js:11:5
+get_index_prop$904ad061 computed-string-to-ById.js:11:5
Registers: 6
Blocks: 1
Constants:
@@ -54,14 +54,14 @@ get_index_prop$4f99d41d computed-string-to-ById.js:11:5
block0:
[ 0] Enter
[ 1] GetByValue value_feedback:0, keyed_feedback:0, dst:reg5, base:arg0, property:String("0")
- [ 10] Return value:reg5
+ [ d] Return value:reg5
-get_length_prop$2b89f3c0 computed-string-to-ById.js:14:5
+get_length_prop$e0e596cf computed-string-to-ById.js:14:5
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] GetLength value_feedback:0, keyed_feedback:0, dst:reg5, base:arg0
- [ e] Return value:reg5
+ [ c] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/computed-update-register-order.txt b/Tests/LibJS/Bytecode/expected/computed-update-register-order.txt
index 2c9fbc32a3b..6b2123d56e7 100644
--- a/Tests/LibJS/Bytecode/expected/computed-update-register-order.txt
+++ b/Tests/LibJS/Bytecode/expected/computed-update-register-order.txt
@@ -1,4 +1,4 @@
-$541bcc10 computed-update-register-order.js:8:1
+$665affed computed-update-register-order.js:8:1
Registers: 8
Blocks: 1
Constants:
@@ -7,13 +7,13 @@ $541bcc10 computed-update-register-order.js:8:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `test`
- [ f] NewPrimitiveArray dst:reg7, elements:[1, 2, 3, 4]
- [ 36] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 49] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `test`
+ [ d] NewPrimitiveArray dst:reg7, elements:[1, 2, 3, 4]
+ [ 33] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 3f] End value:reg5
-test$c1092f70 computed-update-register-order.js:5:9
+test$adad9800 computed-update-register-order.js:5:9
Registers: 7
Blocks: 1
Constants:
@@ -23,14 +23,14 @@ test$c1092f70 computed-update-register-order.js:5:9
block0:
[ 0] Enter
[ 1] GetByValue value_feedback:0, keyed_feedback:0, dst:reg5, base:arg0, property:Int32(3)
- [ 10] PostfixIncrement arith_feedback:0, dst:reg6, src:reg5
- [ 17] PutByValue keyed_feedback:1, base:arg0, property:Int32(3), src:reg5, kind:Normal
- [ 28] GetGlobal value_feedback:1, dst:reg5, `foo`
- [ 31] Call value_feedback:2, call_feedback:0, dst:reg5, callee:reg5, this_value:Undefined, arguments:[arg0]
- [ 44] End value:Undefined
+ [ d] PostfixIncrement arith_feedback:0, dst:reg6, src:reg5
+ [ 12] PutByValue keyed_feedback:1, base:arg0, property:Int32(3), src:reg5, kind:Normal
+ [ 20] GetGlobal value_feedback:1, dst:reg5, `foo`
+ [ 29] Call value_feedback:2, call_feedback:0, dst:reg5, callee:reg5, this_value:Undefined, arguments:[arg0]
+ [ 35] End value:Undefined
-foo$d14f3b00 computed-update-register-order.js:2:5
+foo$0284f477 computed-update-register-order.js:2:5
Registers: 5
Blocks: 1
diff --git a/Tests/LibJS/Bytecode/expected/condition-dead-code-elim.txt b/Tests/LibJS/Bytecode/expected/condition-dead-code-elim.txt
index 5fa1228a7dd..61fd2c6a0fe 100644
--- a/Tests/LibJS/Bytecode/expected/condition-dead-code-elim.txt
+++ b/Tests/LibJS/Bytecode/expected/condition-dead-code-elim.txt
@@ -1,4 +1,4 @@
-$66eb57bb condition-dead-code-elim.js:141:1
+$54cedf5a condition-dead-code-elim.js:141:1
Registers: 7
Blocks: 1
Constants:
@@ -8,32 +8,32 @@ $66eb57bb condition-dead-code-elim.js:141:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `ternary_true`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] GetGlobal value_feedback:2, dst:reg6, `ternary_truthy`
- [ 29] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
- [ 3a] GetGlobal value_feedback:4, dst:reg6, `ternary_false`
- [ 43] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined
- [ 54] GetGlobal value_feedback:6, dst:reg6, `ternary_falsey`
- [ 5d] Call value_feedback:7, call_feedback:3, dst:reg5, callee:reg6, this_value:Undefined
- [ 6e] GetGlobal value_feedback:8, dst:reg6, `while_falsey`
- [ 77] Call value_feedback:9, call_feedback:4, dst:reg5, callee:reg6, this_value:Undefined
- [ 88] GetGlobal value_feedback:10, dst:reg6, `do_while_falsey`
- [ 91] Call value_feedback:11, call_feedback:5, dst:reg5, callee:reg6, this_value:Undefined
- [ a2] GetGlobal value_feedback:12, dst:reg6, `if_falsely`
- [ ab] Call value_feedback:13, call_feedback:6, dst:reg5, callee:reg6, this_value:Undefined
- [ bc] GetGlobal value_feedback:14, dst:reg6, `if_truthy`
- [ c5] Call value_feedback:15, call_feedback:7, dst:reg5, callee:reg6, this_value:Undefined
- [ d6] GetGlobal value_feedback:16, dst:reg6, `if_exhausted`
- [ df] Call value_feedback:17, call_feedback:8, dst:reg5, callee:reg6, this_value:Undefined
- [ f0] GetGlobal value_feedback:18, dst:reg6, `for_false`
- [ f9] Call value_feedback:19, call_feedback:9, dst:reg5, callee:reg6, this_value:Undefined
- [ 10a] GetGlobal value_feedback:20, dst:reg6, `for_true`
- [ 113] Call value_feedback:21, call_feedback:10, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Bool(true)]
- [ 126] End value:reg5
-
-
-ternary_true$ec595a11 condition-dead-code-elim.js:9:5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `ternary_true`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] GetGlobal value_feedback:2, dst:reg6, `ternary_truthy`
+ [ 21] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
+ [ 2c] GetGlobal value_feedback:4, dst:reg6, `ternary_false`
+ [ 35] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined
+ [ 40] GetGlobal value_feedback:6, dst:reg6, `ternary_falsey`
+ [ 49] Call value_feedback:7, call_feedback:3, dst:reg5, callee:reg6, this_value:Undefined
+ [ 54] GetGlobal value_feedback:8, dst:reg6, `while_falsey`
+ [ 5d] Call value_feedback:9, call_feedback:4, dst:reg5, callee:reg6, this_value:Undefined
+ [ 68] GetGlobal value_feedback:10, dst:reg6, `do_while_falsey`
+ [ 71] Call value_feedback:11, call_feedback:5, dst:reg5, callee:reg6, this_value:Undefined
+ [ 7c] GetGlobal value_feedback:12, dst:reg6, `if_falsely`
+ [ 85] Call value_feedback:13, call_feedback:6, dst:reg5, callee:reg6, this_value:Undefined
+ [ 90] GetGlobal value_feedback:14, dst:reg6, `if_truthy`
+ [ 99] Call value_feedback:15, call_feedback:7, dst:reg5, callee:reg6, this_value:Undefined
+ [ a4] GetGlobal value_feedback:16, dst:reg6, `if_exhausted`
+ [ ad] Call value_feedback:17, call_feedback:8, dst:reg5, callee:reg6, this_value:Undefined
+ [ b8] GetGlobal value_feedback:18, dst:reg6, `for_false`
+ [ c1] Call value_feedback:19, call_feedback:9, dst:reg5, callee:reg6, this_value:Undefined
+ [ cc] GetGlobal value_feedback:20, dst:reg6, `for_true`
+ [ d5] Call value_feedback:21, call_feedback:10, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Bool(true)]
+ [ e1] End value:reg5
+
+
+ternary_true$dcde1744 condition-dead-code-elim.js:9:5
Registers: 7
Blocks: 2
Constants:
@@ -42,13 +42,13 @@ ternary_true$ec595a11 condition-dead-code-elim.js:9:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Int32(1)
- [ 6] Jump target:block1
+ [ 4] Jump target:block1
block1:
- [ b] Return value:reg5
+ [ 9] Return value:reg5
-ternary_truthy$2c9eb4e4 condition-dead-code-elim.js:12:5
+ternary_truthy$3c19f7b1 condition-dead-code-elim.js:12:5
Registers: 7
Blocks: 2
Constants:
@@ -57,13 +57,13 @@ ternary_truthy$2c9eb4e4 condition-dead-code-elim.js:12:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Int32(1)
- [ 6] Jump target:block1
+ [ 4] Jump target:block1
block1:
- [ b] Return value:reg5
+ [ 9] Return value:reg5
-ternary_false$601cd433 condition-dead-code-elim.js:15:5
+ternary_false$31ab0bcc condition-dead-code-elim.js:15:5
Registers: 7
Blocks: 1
Constants:
@@ -72,10 +72,10 @@ ternary_false$601cd433 condition-dead-code-elim.js:15:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Int32(1)
- [ 6] Return value:reg5
+ [ 4] Return value:reg5
-ternary_falsey$9730aa2f condition-dead-code-elim.js:18:5
+ternary_falsey$e498f830 condition-dead-code-elim.js:18:5
Registers: 7
Blocks: 1
Constants:
@@ -84,10 +84,10 @@ ternary_falsey$9730aa2f condition-dead-code-elim.js:18:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Int32(1)
- [ 6] Return value:reg5
+ [ 4] Return value:reg5
-while_falsey$c78994d8 condition-dead-code-elim.js:22:17
+while_falsey$9653db61 condition-dead-code-elim.js:22:17
Registers: 6
Blocks: 1
Constants:
@@ -97,10 +97,10 @@ block0:
[ 0] Enter
[ 1] GetGlobal value_feedback:6, dst:reg5, `alive`
[ a] Call value_feedback:7, call_feedback:3, dst:reg5, callee:reg5, this_value:Undefined
- [ 1b] End value:Undefined
+ [ 15] End value:Undefined
-alive$1dd79b81 condition-dead-code-elim.js:2:5
+alive$aeb4d6d6 condition-dead-code-elim.js:2:5
Registers: 5
Blocks: 1
Constants:
@@ -111,7 +111,7 @@ block0:
[ 1] Return value:String("alive")
-do_while_falsey$55b44f65 condition-dead-code-elim.js:37:9
+do_while_falsey$e9557bca condition-dead-code-elim.js:37:9
Registers: 6
Blocks: 1
Constants:
@@ -121,16 +121,16 @@ block0:
[ 0] Enter
[ 1] GetGlobal value_feedback:0, dst:reg5, `alive`
[ a] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg5, this_value:Undefined
- [ 1b] GetGlobal value_feedback:2, dst:reg5, `alive`
- [ 24] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg5, this_value:Undefined
- [ 35] GetGlobal value_feedback:4, dst:reg5, `alive`
- [ 3e] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg5, this_value:Undefined
- [ 4f] GetGlobal value_feedback:6, dst:reg5, `alive`
- [ 58] Call value_feedback:7, call_feedback:3, dst:reg5, callee:reg5, this_value:Undefined
- [ 69] End value:Undefined
+ [ 15] GetGlobal value_feedback:2, dst:reg5, `alive`
+ [ 1e] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg5, this_value:Undefined
+ [ 29] GetGlobal value_feedback:4, dst:reg5, `alive`
+ [ 32] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg5, this_value:Undefined
+ [ 3d] GetGlobal value_feedback:6, dst:reg5, `alive`
+ [ 46] Call value_feedback:7, call_feedback:3, dst:reg5, callee:reg5, this_value:Undefined
+ [ 51] End value:Undefined
-if_falsely$9124577e condition-dead-code-elim.js:51:14
+if_falsely$5fee9e07 condition-dead-code-elim.js:51:14
Registers: 6
Blocks: 1
Constants:
@@ -140,10 +140,10 @@ block0:
[ 0] Enter
[ 1] GetGlobal value_feedback:6, dst:reg5, `alive`
[ a] Call value_feedback:7, call_feedback:3, dst:reg5, callee:reg5, this_value:Undefined
- [ 1b] End value:Undefined
+ [ 15] End value:Undefined
-if_truthy$aa588c13 condition-dead-code-elim.js:66:9
+if_truthy$de52369a condition-dead-code-elim.js:66:9
Registers: 6
Blocks: 4
Constants:
@@ -153,25 +153,25 @@ block0:
[ 0] Enter
[ 1] GetGlobal value_feedback:0, dst:reg5, `alive`
[ a] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg5, this_value:Undefined
- [ 1b] Jump target:block1
+ [ 15] Jump target:block1
block1:
- [ 20] GetGlobal value_feedback:4, dst:reg5, `alive`
- [ 29] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg5, this_value:Undefined
- [ 3a] Jump target:block2
+ [ 1a] GetGlobal value_feedback:4, dst:reg5, `alive`
+ [ 23] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg5, this_value:Undefined
+ [ 2e] Jump target:block2
block2:
- [ 3f] GetGlobal value_feedback:8, dst:reg5, `alive`
- [ 48] Call value_feedback:9, call_feedback:4, dst:reg5, callee:reg5, this_value:Undefined
- [ 59] Jump target:block3
+ [ 33] GetGlobal value_feedback:8, dst:reg5, `alive`
+ [ 3c] Call value_feedback:9, call_feedback:4, dst:reg5, callee:reg5, this_value:Undefined
+ [ 47] Jump target:block3
block3:
- [ 5e] GetGlobal value_feedback:12, dst:reg5, `alive`
- [ 67] Call value_feedback:13, call_feedback:6, dst:reg5, callee:reg5, this_value:Undefined
- [ 78] End value:Undefined
+ [ 4c] GetGlobal value_feedback:12, dst:reg5, `alive`
+ [ 55] Call value_feedback:13, call_feedback:6, dst:reg5, callee:reg5, this_value:Undefined
+ [ 60] End value:Undefined
-if_exhausted$8cecbdce condition-dead-code-elim.js:85:14
+if_exhausted$3f846fcd condition-dead-code-elim.js:85:14
Registers: 6
Blocks: 2
Constants:
@@ -181,17 +181,17 @@ block0:
[ 0] Enter
[ 1] GetGlobal value_feedback:4, dst:reg5, `alive`
[ a] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg5, this_value:Undefined
- [ 1b] GetGlobal value_feedback:6, dst:reg5, `alive`
- [ 24] Call value_feedback:7, call_feedback:3, dst:reg5, callee:reg5, this_value:Undefined
- [ 35] Jump target:block1
+ [ 15] GetGlobal value_feedback:6, dst:reg5, `alive`
+ [ 1e] Call value_feedback:7, call_feedback:3, dst:reg5, callee:reg5, this_value:Undefined
+ [ 29] Jump target:block1
block1:
- [ 3a] GetGlobal value_feedback:12, dst:reg5, `alive`
- [ 43] Call value_feedback:13, call_feedback:6, dst:reg5, callee:reg5, this_value:Undefined
- [ 54] End value:Undefined
+ [ 2e] GetGlobal value_feedback:12, dst:reg5, `alive`
+ [ 37] Call value_feedback:13, call_feedback:6, dst:reg5, callee:reg5, this_value:Undefined
+ [ 42] End value:Undefined
-for_false$583ba01c condition-dead-code-elim.js:109:9
+for_false$ca2255d7 condition-dead-code-elim.js:109:9
Registers: 6
Blocks: 9
Locals: x~0
@@ -207,35 +207,35 @@ block1:
[ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg5, this_value:Undefined
block2:
- [ 20] Jump target:block4
+ [ 1a] Jump target:block4
block3:
- [ 25] GetGlobal value_feedback:2, dst:reg5, `dead`
- [ 2e] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg5, this_value:Undefined
+ [ 1f] GetGlobal value_feedback:2, dst:reg5, `dead`
+ [ 28] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg5, this_value:Undefined
block4:
- [ 3f] Jump target:block6
+ [ 33] Jump target:block6
block5:
- [ 44] GetGlobal value_feedback:4, dst:reg5, `dead`
- [ 4d] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg5, this_value:Undefined
+ [ 38] GetGlobal value_feedback:4, dst:reg5, `dead`
+ [ 41] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg5, this_value:Undefined
block6:
- [ 5e] GetGlobal value_feedback:6, dst:reg5, `call_this`
- [ 67] Call value_feedback:7, call_feedback:3, dst:x~0, callee:reg5, this_value:Undefined
- [ 78] Jump target:block8
+ [ 4c] GetGlobal value_feedback:6, dst:reg5, `call_this`
+ [ 55] Call value_feedback:7, call_feedback:3, dst:x~0, callee:reg5, this_value:Undefined
+ [ 60] Jump target:block8
block7:
- [ 7d] GetGlobal value_feedback:8, dst:reg5, `dead`
- [ 86] Call value_feedback:9, call_feedback:4, dst:reg5, callee:reg5, this_value:Undefined
+ [ 65] GetGlobal value_feedback:8, dst:reg5, `dead`
+ [ 6e] Call value_feedback:9, call_feedback:4, dst:reg5, callee:reg5, this_value:Undefined
block8:
- [ 97] GetGlobal value_feedback:10, dst:reg5, `alive`
- [ a0] Call value_feedback:11, call_feedback:5, dst:reg5, callee:reg5, this_value:Undefined
- [ b1] End value:Undefined
+ [ 79] GetGlobal value_feedback:10, dst:reg5, `alive`
+ [ 82] Call value_feedback:11, call_feedback:5, dst:reg5, callee:reg5, this_value:Undefined
+ [ 8d] End value:Undefined
-call_this$3c2e0416 condition-dead-code-elim.js:105:5
+call_this$ab50c8c1 condition-dead-code-elim.js:105:5
Registers: 5
Blocks: 1
Constants:
@@ -246,7 +246,7 @@ block0:
[ 1] Return value:Int32(1)
-for_true$bf37a908 condition-dead-code-elim.js:128:9
+for_true$f331538f condition-dead-code-elim.js:128:9
Registers: 6
Blocks: 9
Constants:
@@ -259,29 +259,29 @@ block0:
block1:
[ 6] GetGlobal value_feedback:0, dst:reg5, `alive`
[ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg5, this_value:Undefined
- [ 20] JumpFalse condition:arg0, target:block3
+ [ 1a] JumpFalse condition:arg0, target:block3
block2:
- [ 27] Jump target:block4
+ [ 20] Jump target:block4
block3:
- [ 2c] JumpLoop target:block1
+ [ 25] JumpLoop target:block1
block4:
- [ 31] Jump target:block7
+ [ 2a] Jump target:block7
block5:
- [ 36] GetGlobal value_feedback:2, dst:reg5, `alive`
- [ 3f] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg5, this_value:Undefined
- [ 50] JumpFalse condition:arg0, target:block7
+ [ 2f] GetGlobal value_feedback:2, dst:reg5, `alive`
+ [ 38] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg5, this_value:Undefined
+ [ 43] JumpFalse condition:arg0, target:block7
block6:
- [ 57] Jump target:block8
+ [ 49] Jump target:block8
block7:
- [ 5c] JumpLoop target:block5
+ [ 4e] JumpLoop target:block5
block8:
- [ 61] GetGlobal value_feedback:4, dst:reg5, `alive`
- [ 6a] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg5, this_value:Undefined
- [ 7b] End value:Undefined
+ [ 53] GetGlobal value_feedback:4, dst:reg5, `alive`
+ [ 5c] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg5, this_value:Undefined
+ [ 67] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/conditional-register-order.txt b/Tests/LibJS/Bytecode/expected/conditional-register-order.txt
index e81507f227c..cbc74225ca8 100644
--- a/Tests/LibJS/Bytecode/expected/conditional-register-order.txt
+++ b/Tests/LibJS/Bytecode/expected/conditional-register-order.txt
@@ -1,4 +1,4 @@
-$2cb5e223 conditional-register-order.js:4:1
+$559fc86a conditional-register-order.js:4:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $2cb5e223 conditional-register-order.js:4:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `foo`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `foo`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-foo$367e9efe conditional-register-order.js:2:5
+foo$d4132c10 conditional-register-order.js:2:5
Registers: 6
Blocks: 4
Constants:
@@ -24,11 +24,11 @@ block0:
[ 1] JumpFalse condition:arg0, target:block2
block1:
- [ 8] Mov dst:reg5, src:Int32(1)
- [ d] Jump target:block3
+ [ 7] Mov dst:reg5, src:Int32(1)
+ [ a] Jump target:block3
block2:
- [ 12] Mov dst:reg5, src:Int32(2)
+ [ f] Mov dst:reg5, src:Int32(2)
block3:
- [ 17] Return value:reg5
+ [ 12] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/const-assignment-no-extra-tdz.txt b/Tests/LibJS/Bytecode/expected/const-assignment-no-extra-tdz.txt
index 3d2c06ff27a..d7deb0c03ee 100644
--- a/Tests/LibJS/Bytecode/expected/const-assignment-no-extra-tdz.txt
+++ b/Tests/LibJS/Bytecode/expected/const-assignment-no-extra-tdz.txt
@@ -1,4 +1,4 @@
-$f3d94707 const-assignment-no-extra-tdz.js:5:1
+$61547e35 const-assignment-no-extra-tdz.js:5:1
Registers: 7
Blocks: 4
Locals: e~0
@@ -9,28 +9,28 @@ $f3d94707 const-assignment-no-extra-tdz.js:5:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg5, src:Undefined
+ [ 4] Mov dst:reg5, src:Undefined
block1:
- [ b] GetGlobal value_feedback:0, dst:reg6, `f`
- [ 14] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 25] Jump target:block3
+ [ 7] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ 10] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 1b] Jump target:block3
block2:
- [ 2a] Catch value_feedback:2, dst:reg6
- [ 2f] Mov dst:reg5, src:Undefined
- [ 34] Mov dst:e~0, src:<Empty>
- [ 39] Mov dst:e~0, src:reg6
- [ 3e] Jump target:block3
+ [ 20] Catch value_feedback:2, dst:reg6
+ [ 24] Mov dst:reg5, src:Undefined
+ [ 27] Mov dst:e~0, src:<Empty>
+ [ 2a] Mov dst:e~0, src:reg6
+ [ 2d] Jump target:block3
block3:
- [ 43] End value:reg5
+ [ 32] End value:reg5
Exception handlers:
- [ b .. 2a] => handler block2
+ [ 7 .. 20] => handler block2
-f$222d3f08 const-assignment-no-extra-tdz.js:2:11
+f$31a881d5 const-assignment-no-extra-tdz.js:2:11
Registers: 5
Blocks: 1
Locals: x~0
@@ -41,5 +41,5 @@ f$222d3f08 const-assignment-no-extra-tdz.js:2:11
block0:
[ 0] Enter
[ 1] Mov dst:x~0, src:Int32(1)
- [ 6] ThrowConstAssignment
- [ 7] End value:Undefined
+ [ 4] ThrowConstAssignment
+ [ 5] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/const-fold-exponentiation.txt b/Tests/LibJS/Bytecode/expected/const-fold-exponentiation.txt
index 915aa7fdf1b..e1c31c8fc73 100644
--- a/Tests/LibJS/Bytecode/expected/const-fold-exponentiation.txt
+++ b/Tests/LibJS/Bytecode/expected/const-fold-exponentiation.txt
@@ -1,4 +1,4 @@
-$9c4b6e76 const-fold-exponentiation.js:1:7
+$0b6e3321 const-fold-exponentiation.js:1:7
Registers: 6
Blocks: 1
Constants:
@@ -9,8 +9,8 @@ $9c4b6e76 const-fold-exponentiation.js:1:7
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] DynamicInitializeLexicalBinding `a`, src:Double(nan)
- [ d] DynamicInitializeLexicalBinding `b`, src:Double(nan)
- [ 14] DynamicInitializeLexicalBinding `c`, src:Double(nan)
- [ 1b] DynamicInitializeLexicalBinding `d`, src:Int32(1024)
- [ 22] End value:reg5
+ [ 4] DynamicInitializeLexicalBinding `a`, src:Double(nan)
+ [ b] DynamicInitializeLexicalBinding `b`, src:Double(nan)
+ [ 12] DynamicInitializeLexicalBinding `c`, src:Double(nan)
+ [ 19] DynamicInitializeLexicalBinding `d`, src:Int32(1024)
+ [ 20] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/const-fold-template-literals.txt b/Tests/LibJS/Bytecode/expected/const-fold-template-literals.txt
index 02b8cbb9491..7871425f5ca 100644
--- a/Tests/LibJS/Bytecode/expected/const-fold-template-literals.txt
+++ b/Tests/LibJS/Bytecode/expected/const-fold-template-literals.txt
@@ -1,4 +1,4 @@
-$0059aa9b const-fold-template-literals.js:20:7
+$bfcb69d3 const-fold-template-literals.js:20:7
Registers: 7
Blocks: 1
Constants:
@@ -13,37 +13,37 @@ $0059aa9b const-fold-template-literals.js:20:7
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] DynamicInitializeLexicalBinding `a`, src:String("abcxyz")
- [ d] DynamicInitializeLexicalBinding `b`, src:String("abcxyz")
- [ 14] DynamicInitializeLexicalBinding `c`, src:String("abcxyz")
- [ 1b] DynamicInitializeLexicalBinding `d`, src:String("abcxyz")
- [ 22] DynamicInitializeLexicalBinding `e`, src:String("abcxyz")
- [ 29] DynamicInitializeLexicalBinding `f`, src:String("abcxyz")
- [ 30] Mov dst:reg6, src:String("abc")
- [ 35] ConcatString dst:reg6, src:String("xyz")
- [ 3a] DynamicInitializeLexicalBinding `g`, src:reg6
- [ 41] GetGlobal value_feedback:0, dst:reg6, `prefix`
- [ 4a] Call value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:Undefined, arguments:[String("abc")]
- [ 5d] DynamicInitializeLexicalBinding `_prefix`, src:reg6
- [ 64] GetGlobal value_feedback:2, dst:reg6, `suffix`
- [ 6d] Call value_feedback:3, call_feedback:1, dst:reg6, callee:reg6, this_value:Undefined, arguments:[String("abc")]
- [ 80] DynamicInitializeLexicalBinding `_suffix`, src:reg6
- [ 87] GetGlobal value_feedback:4, dst:reg6, `tostring`
- [ 90] Call value_feedback:5, call_feedback:2, dst:reg6, callee:reg6, this_value:Undefined, arguments:[String("abc")]
- [ a3] DynamicInitializeLexicalBinding `_tostring`, src:reg6
- [ aa] GetGlobal value_feedback:6, dst:reg6, `multi`
- [ b3] Call value_feedback:7, call_feedback:3, dst:reg6, callee:reg6, this_value:Undefined, arguments:[Int32(1), Int32(2), Int32(3)]
- [ ca] DynamicInitializeLexicalBinding `_multi`, src:reg6
- [ d1] GetGlobal value_feedback:8, dst:reg6, `literal`
- [ da] Call value_feedback:9, call_feedback:4, dst:reg6, callee:reg6, this_value:Undefined
- [ eb] DynamicInitializeLexicalBinding `_literal`, src:reg6
- [ f2] GetGlobal value_feedback:10, dst:reg6, `empty`
- [ fb] Call value_feedback:11, call_feedback:5, dst:reg6, callee:reg6, this_value:Undefined
- [ 10c] DynamicInitializeLexicalBinding `_empty`, src:reg6
- [ 113] End value:reg5
-
-
-prefix$0cfc751c const-fold-template-literals.js:2:5
+ [ 4] DynamicInitializeLexicalBinding `a`, src:String("abcxyz")
+ [ b] DynamicInitializeLexicalBinding `b`, src:String("abcxyz")
+ [ 12] DynamicInitializeLexicalBinding `c`, src:String("abcxyz")
+ [ 19] DynamicInitializeLexicalBinding `d`, src:String("abcxyz")
+ [ 20] DynamicInitializeLexicalBinding `e`, src:String("abcxyz")
+ [ 27] DynamicInitializeLexicalBinding `f`, src:String("abcxyz")
+ [ 2e] Mov dst:reg6, src:String("abc")
+ [ 31] ConcatString dst:reg6, src:String("xyz")
+ [ 34] DynamicInitializeLexicalBinding `g`, src:reg6
+ [ 3b] GetGlobal value_feedback:0, dst:reg6, `prefix`
+ [ 44] Call value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:Undefined, arguments:[String("abc")]
+ [ 50] DynamicInitializeLexicalBinding `_prefix`, src:reg6
+ [ 57] GetGlobal value_feedback:2, dst:reg6, `suffix`
+ [ 60] Call value_feedback:3, call_feedback:1, dst:reg6, callee:reg6, this_value:Undefined, arguments:[String("abc")]
+ [ 6c] DynamicInitializeLexicalBinding `_suffix`, src:reg6
+ [ 73] GetGlobal value_feedback:4, dst:reg6, `tostring`
+ [ 7c] Call value_feedback:5, call_feedback:2, dst:reg6, callee:reg6, this_value:Undefined, arguments:[String("abc")]
+ [ 88] DynamicInitializeLexicalBinding `_tostring`, src:reg6
+ [ 8f] GetGlobal value_feedback:6, dst:reg6, `multi`
+ [ 98] Call value_feedback:7, call_feedback:3, dst:reg6, callee:reg6, this_value:Undefined, arguments:[Int32(1), Int32(2), Int32(3)]
+ [ a6] DynamicInitializeLexicalBinding `_multi`, src:reg6
+ [ ad] GetGlobal value_feedback:8, dst:reg6, `literal`
+ [ b6] Call value_feedback:9, call_feedback:4, dst:reg6, callee:reg6, this_value:Undefined
+ [ c1] DynamicInitializeLexicalBinding `_literal`, src:reg6
+ [ c8] GetGlobal value_feedback:10, dst:reg6, `empty`
+ [ d1] Call value_feedback:11, call_feedback:5, dst:reg6, callee:reg6, this_value:Undefined
+ [ dc] DynamicInitializeLexicalBinding `_empty`, src:reg6
+ [ e3] End value:reg5
+
+
+prefix$bcd0360b const-fold-template-literals.js:2:5
Registers: 6
Blocks: 1
Constants:
@@ -52,11 +52,11 @@ prefix$0cfc751c const-fold-template-literals.js:2:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:String("prefix-")
- [ 6] ConcatString dst:reg5, src:arg0
- [ b] Return value:reg5
+ [ 4] ConcatString dst:reg5, src:arg0
+ [ 7] Return value:reg5
-suffix$4f0afc24 const-fold-template-literals.js:5:5
+suffix$fedebd13 const-fold-template-literals.js:5:5
Registers: 6
Blocks: 1
Constants:
@@ -65,33 +65,33 @@ suffix$4f0afc24 const-fold-template-literals.js:5:5
block0:
[ 0] Enter
[ 1] ToString dst:reg5, value:arg0
- [ 6] ConcatString dst:reg5, src:String("-suffix")
- [ b] Return value:reg5
+ [ 4] ConcatString dst:reg5, src:String("-suffix")
+ [ 7] Return value:reg5
-tostring$0d045be7 const-fold-template-literals.js:8:5
+tostring$5d309af8 const-fold-template-literals.js:8:5
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] ToString dst:reg5, value:arg0
- [ 6] Return value:reg5
+ [ 4] Return value:reg5
-multi$30f0e859 const-fold-template-literals.js:11:5
+multi$43301c36 const-fold-template-literals.js:11:5
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] ToString dst:reg5, value:arg0
- [ 6] ConcatString dst:reg5, src:arg1
- [ b] ConcatString dst:reg5, src:arg2
- [ 10] Return value:reg5
+ [ 4] ConcatString dst:reg5, src:arg1
+ [ 7] ConcatString dst:reg5, src:arg2
+ [ a] Return value:reg5
-literal$5376c299 const-fold-template-literals.js:14:5
+literal$e453fdee const-fold-template-literals.js:14:5
Registers: 6
Blocks: 1
Constants:
@@ -102,7 +102,7 @@ block0:
[ 1] Return value:String("hello world")
-empty$8941beb8 const-fold-template-literals.js:17:5
+empty$ba77782f const-fold-template-literals.js:17:5
Registers: 6
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/constant-fold-large-string-to-number.txt b/Tests/LibJS/Bytecode/expected/constant-fold-large-string-to-number.txt
index 7da3f22e90e..a3b34fa9eec 100644
--- a/Tests/LibJS/Bytecode/expected/constant-fold-large-string-to-number.txt
+++ b/Tests/LibJS/Bytecode/expected/constant-fold-large-string-to-number.txt
@@ -1,4 +1,4 @@
-$ec987474 constant-fold-large-string-to-number.js:1:5
+$9c6c3563 constant-fold-large-string-to-number.js:1:5
Registers: 6
Blocks: 1
Constants:
@@ -8,8 +8,8 @@ $ec987474 constant-fold-large-string-to-number.js:1:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] SetGlobal `a`, src:Double(18446744073709552000)
- [ d] SetGlobal `b`, src:Double(18446744073709552000)
- [ 14] SetGlobal `c`, src:Double(18446744073709552000)
- [ 1b] SetGlobal `d`, src:Double(18446744073709552000)
- [ 22] End value:reg5
+ [ 4] SetGlobal `a`, src:Double(18446744073709552000)
+ [ b] SetGlobal `b`, src:Double(18446744073709552000)
+ [ 12] SetGlobal `c`, src:Double(18446744073709552000)
+ [ 19] SetGlobal `d`, src:Double(18446744073709552000)
+ [ 20] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/constant-fold-string-to-number.txt b/Tests/LibJS/Bytecode/expected/constant-fold-string-to-number.txt
index 30d72af95c1..2c78e1624d0 100644
--- a/Tests/LibJS/Bytecode/expected/constant-fold-string-to-number.txt
+++ b/Tests/LibJS/Bytecode/expected/constant-fold-string-to-number.txt
@@ -1,4 +1,4 @@
-$ec987474 constant-fold-string-to-number.js:1:5
+$9c6c3563 constant-fold-string-to-number.js:1:5
Registers: 6
Blocks: 1
Constants:
@@ -11,8 +11,8 @@ $ec987474 constant-fold-string-to-number.js:1:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] SetGlobal `a`, src:Int32(12345)
- [ d] SetGlobal `b`, src:Int32(123450)
- [ 14] SetGlobal `c`, src:Int32(-42)
- [ 1b] SetGlobal `d`, src:Int32(-6)
- [ 22] End value:reg5
+ [ 4] SetGlobal `a`, src:Int32(12345)
+ [ b] SetGlobal `b`, src:Int32(123450)
+ [ 12] SetGlobal `c`, src:Int32(-42)
+ [ 19] SetGlobal `d`, src:Int32(-6)
+ [ 20] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/debugger-statement.txt b/Tests/LibJS/Bytecode/expected/debugger-statement.txt
index 5a74c40dce0..f21b32d514b 100644
--- a/Tests/LibJS/Bytecode/expected/debugger-statement.txt
+++ b/Tests/LibJS/Bytecode/expected/debugger-statement.txt
@@ -1,4 +1,4 @@
-$931dc641 debugger-statement.js:6:1
+$bc07ac88 debugger-statement.js:6:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $931dc641 debugger-statement.js:6:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `run`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `run`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-run$3abe0df6 debugger-statement.js:2:5
+run$8aea4d07 debugger-statement.js:2:5
Registers: 5
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/default-param-self-reference.txt b/Tests/LibJS/Bytecode/expected/default-param-self-reference.txt
index 84772bd958a..af2dc4f140f 100644
--- a/Tests/LibJS/Bytecode/expected/default-param-self-reference.txt
+++ b/Tests/LibJS/Bytecode/expected/default-param-self-reference.txt
@@ -1,4 +1,4 @@
-$40f708e3 default-param-self-reference.js:2:1
+$5a65ac5d default-param-self-reference.js:2:1
Registers: 7
Blocks: 1
Constants:
@@ -8,12 +8,12 @@ $40f708e3 default-param-self-reference.js:2:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
- [ 22] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
+ [ 19] End value:reg5
-f$993325d1 default-param-self-reference.js:1:12
+f$89b7e304 default-param-self-reference.js:1:12
Registers: 5
Blocks: 3
Constants:
@@ -25,8 +25,8 @@ block0:
[ 1] JumpUndefined condition:arg0, true_target:block1, false_target:block2
block1:
- [ c] Mov dst:arg0, src:<Empty>
- [ 11] ThrowIfTDZ src:arg0
+ [ b] Mov dst:arg0, src:<Empty>
+ [ e] ThrowIfTDZ src:arg0
block2:
- [ 14] End value:Undefined
+ [ 10] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/delete-expression-register.txt b/Tests/LibJS/Bytecode/expected/delete-expression-register.txt
index 89b119202c9..66dd7eaab5b 100644
--- a/Tests/LibJS/Bytecode/expected/delete-expression-register.txt
+++ b/Tests/LibJS/Bytecode/expected/delete-expression-register.txt
@@ -1,4 +1,4 @@
-$742740a7 delete-expression-register.js:6:1
+$0c33eb99 delete-expression-register.js:6:1
Registers: 7
Blocks: 1
Constants:
@@ -8,12 +8,12 @@ $742740a7 delete-expression-register.js:6:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
- [ 22] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
+ [ 19] End value:reg5
-f$3370d63f delete-expression-register.js:2:9
+f$d1056351 delete-expression-register.js:2:9
Registers: 7
Blocks: 3
Locals: arguments~0, x~1
@@ -25,14 +25,14 @@ f$3370d63f delete-expression-register.js:2:9
block0:
[ 0] Enter
[ 1] CreateArguments dst:arguments~0, is_immutable:false, creates_parameter_bindings:false
- [ a] Mov dst:x~1, src:Undefined
- [ f] Mov dst:x~1, src:Bool(false)
- [ 14] Mov dst:reg5, src:x~1
- [ 19] JumpTrue condition:reg5, target:block2
+ [ 9] Mov dst:x~1, src:Undefined
+ [ c] Mov dst:x~1, src:Bool(false)
+ [ f] Mov dst:reg5, src:x~1
+ [ 12] JumpTrue condition:reg5, target:block2
block1:
- [ 20] DeleteByValue dst:reg5, base:arguments~0, property:Int32(0)
+ [ 18] DeleteByValue dst:reg5, base:arguments~0, property:Int32(0)
block2:
- [ 27] Mov dst:x~1, src:reg5
- [ 2c] Return value:x~1
+ [ 1c] Mov dst:x~1, src:reg5
+ [ 1f] Return value:x~1
diff --git a/Tests/LibJS/Bytecode/expected/delete-super-eval-order.txt b/Tests/LibJS/Bytecode/expected/delete-super-eval-order.txt
index 8858997bc1f..bf7dcb3efe9 100644
--- a/Tests/LibJS/Bytecode/expected/delete-super-eval-order.txt
+++ b/Tests/LibJS/Bytecode/expected/delete-super-eval-order.txt
@@ -1,4 +1,4 @@
-$ef5400d9 delete-super-eval-order.js:4:1
+$ffeba739 delete-super-eval-order.js:4:1
Registers: 8
Blocks: 4
Constants:
@@ -9,35 +9,35 @@ $ef5400d9 delete-super-eval-order.js:4:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `A`, is_immutable:true, is_global:false, is_strict:true
- [ 21] SetLexicalEnvironment environment:reg4
- [ 24] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys:[element_keys:String("m")]
- [ 3b] DynamicInitializeLexicalBinding `A`, src:reg6
- [ 42] Mov dst:reg5, src:Undefined
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `A`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] SetLexicalEnvironment environment:reg4
+ [ 1f] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false, element_keys:[element_keys:String("m")]
+ [ 2f] DynamicInitializeLexicalBinding `A`, src:reg6
+ [ 36] Mov dst:reg5, src:Undefined
block1:
- [ 47] GetGlobal value_feedback:0, dst:reg6, `A`
- [ 50] CallConstruct value_feedback:1, call_feedback:0, dst:reg6, callee:reg6
- [ 5f] GetById value_feedback:2, dst:reg7, base:reg6, `m`
- [ 6c] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[String("x")]
- [ 7f] Jump target:block3
+ [ 39] GetGlobal value_feedback:0, dst:reg6, `A`
+ [ 42] CallConstruct value_feedback:1, call_feedback:0, dst:reg6, callee:reg6
+ [ 4c] GetById value_feedback:2, dst:reg7, base:reg6, `m`
+ [ 58] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[String("x")]
+ [ 64] Jump target:block3
block2:
- [ 84] Catch value_feedback:4, dst:reg6
- [ 89] SetLexicalEnvironment environment:reg4
- [ 8c] Mov dst:reg5, src:Undefined
- [ 91] Jump target:block3
+ [ 69] Catch value_feedback:4, dst:reg6
+ [ 6d] SetLexicalEnvironment environment:reg4
+ [ 6f] Mov dst:reg5, src:Undefined
+ [ 72] Jump target:block3
block3:
- [ 96] End value:reg5
+ [ 77] End value:reg5
Exception handlers:
- [ 47 .. 84] => handler block2
+ [ 39 .. 69] => handler block2
-A$2cf29520
+A$5e284e97
Registers: 5
Blocks: 1
Constants:
@@ -48,7 +48,7 @@ block0:
[ 1] End value:Undefined
-m$084cd9da delete-super-eval-order.js:6:9
+m$a8a557fc delete-super-eval-order.js:6:9
Registers: 6
Blocks: 1
@@ -56,5 +56,5 @@ block0:
[ 0] Enter
[ 1] ResolveThisBinding
[ 2] ResolveSuperBase dst:reg5
- [ 5] NewReferenceError dst:reg5, Can't delete a property on 'super'
- [ a] Throw src:reg5
+ [ 4] NewReferenceError dst:reg5, Can't delete a property on 'super'
+ [ 9] Throw src:reg5
diff --git a/Tests/LibJS/Bytecode/expected/delete-super-property.txt b/Tests/LibJS/Bytecode/expected/delete-super-property.txt
index 0453f41e250..91a8606f6dd 100644
--- a/Tests/LibJS/Bytecode/expected/delete-super-property.txt
+++ b/Tests/LibJS/Bytecode/expected/delete-super-property.txt
@@ -1,4 +1,4 @@
-$0ac2424a delete-super-property.js:1:1
+$e643da90 delete-super-property.js:1:1
Registers: 8
Blocks: 7
Locals: e~0, e~1
@@ -11,56 +11,56 @@ $0ac2424a delete-super-property.js:1:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `A`, is_immutable:true, is_global:false, is_strict:true
- [ 21] SetLexicalEnvironment environment:reg4
- [ 24] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys:[element_keys:String("foo"), element_keys:String("baz")]
- [ 3d] DynamicInitializeLexicalBinding `A`, src:reg6
- [ 44] Mov dst:reg5, src:Undefined
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `A`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] SetLexicalEnvironment environment:reg4
+ [ 1f] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false, element_keys:[element_keys:String("foo"), element_keys:String("baz")]
+ [ 30] DynamicInitializeLexicalBinding `A`, src:reg6
+ [ 37] Mov dst:reg5, src:Undefined
block1:
- [ 49] GetGlobal value_feedback:0, dst:reg6, `A`
- [ 52] CallConstruct value_feedback:1, call_feedback:0, dst:reg6, callee:reg6
- [ 61] GetById value_feedback:2, dst:reg7, base:reg6, `foo`
- [ 6e] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
- [ 7f] Jump target:block3
+ [ 3a] GetGlobal value_feedback:0, dst:reg6, `A`
+ [ 43] CallConstruct value_feedback:1, call_feedback:0, dst:reg6, callee:reg6
+ [ 4d] GetById value_feedback:2, dst:reg7, base:reg6, `foo`
+ [ 59] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
+ [ 64] Jump target:block3
block2:
- [ 84] Catch value_feedback:4, dst:reg6
- [ 89] SetLexicalEnvironment environment:reg4
- [ 8c] Mov dst:reg5, src:Undefined
- [ 91] Mov dst:e~0, src:<Empty>
- [ 96] Mov dst:e~0, src:reg6
- [ 9b] Jump target:block3
+ [ 69] Catch value_feedback:4, dst:reg6
+ [ 6d] SetLexicalEnvironment environment:reg4
+ [ 6f] Mov dst:reg5, src:Undefined
+ [ 72] Mov dst:e~0, src:<Empty>
+ [ 75] Mov dst:e~0, src:reg6
+ [ 78] Jump target:block3
block3:
- [ a0] Mov dst:reg5, src:Undefined
+ [ 7d] Mov dst:reg5, src:Undefined
block4:
- [ a5] GetGlobal value_feedback:5, dst:reg6, `A`
- [ ae] CallConstruct value_feedback:6, call_feedback:2, dst:reg6, callee:reg6
- [ bd] GetById value_feedback:7, dst:reg7, base:reg6, `baz`
- [ ca] Call value_feedback:8, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6
- [ db] Jump target:block6
+ [ 80] GetGlobal value_feedback:5, dst:reg6, `A`
+ [ 89] CallConstruct value_feedback:6, call_feedback:2, dst:reg6, callee:reg6
+ [ 93] GetById value_feedback:7, dst:reg7, base:reg6, `baz`
+ [ 9f] Call value_feedback:8, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6
+ [ aa] Jump target:block6
block5:
- [ e0] Catch value_feedback:9, dst:reg6
- [ e5] SetLexicalEnvironment environment:reg4
- [ e8] Mov dst:reg5, src:Undefined
- [ ed] Mov dst:e~1, src:<Empty>
- [ f2] Mov dst:e~1, src:reg6
- [ f7] Jump target:block6
+ [ af] Catch value_feedback:9, dst:reg6
+ [ b3] SetLexicalEnvironment environment:reg4
+ [ b5] Mov dst:reg5, src:Undefined
+ [ b8] Mov dst:e~1, src:<Empty>
+ [ bb] Mov dst:e~1, src:reg6
+ [ be] Jump target:block6
block6:
- [ fc] End value:reg5
+ [ c3] End value:reg5
Exception handlers:
- [ 49 .. 84] => handler block2
- [ a5 .. e0] => handler block5
+ [ 3a .. 69] => handler block2
+ [ 80 .. af] => handler block5
-A$2cf29520
+A$5e284e97
Registers: 5
Blocks: 1
Constants:
@@ -71,7 +71,7 @@ block0:
[ 1] End value:Undefined
-foo$dddec684 delete-super-property.js:3:9
+foo$3d864862 delete-super-property.js:3:9
Registers: 6
Blocks: 1
@@ -79,11 +79,11 @@ block0:
[ 0] Enter
[ 1] ResolveThisBinding
[ 2] ResolveSuperBase dst:reg5
- [ 5] NewReferenceError dst:reg5, Can't delete a property on 'super'
- [ a] Throw src:reg5
+ [ 4] NewReferenceError dst:reg5, Can't delete a property on 'super'
+ [ 9] Throw src:reg5
-baz$fcb1f086 delete-super-property.js:6:9
+baz$1ba87620 delete-super-property.js:6:9
Registers: 6
Blocks: 1
@@ -91,5 +91,5 @@ block0:
[ 0] Enter
[ 1] ResolveThisBinding
[ 2] ResolveSuperBase dst:reg5
- [ 5] NewReferenceError dst:reg5, Can't delete a property on 'super'
- [ a] Throw src:reg5
+ [ 4] NewReferenceError dst:reg5, Can't delete a property on 'super'
+ [ 9] Throw src:reg5
diff --git a/Tests/LibJS/Bytecode/expected/destructure-array-rest.txt b/Tests/LibJS/Bytecode/expected/destructure-array-rest.txt
index 36d9b69e1c9..a52e33b4c83 100644
--- a/Tests/LibJS/Bytecode/expected/destructure-array-rest.txt
+++ b/Tests/LibJS/Bytecode/expected/destructure-array-rest.txt
@@ -1,4 +1,4 @@
-$5e28f45e destructure-array-rest.js:9:1
+$24a767b7 destructure-array-rest.js:9:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $5e28f45e destructure-array-rest.js:9:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-f$dc11e290 destructure-array-rest.js:6:5
+f$cf5a90d3 destructure-array-rest.js:6:5
Registers: 12
Blocks: 14
Locals: a~0, b~1
@@ -24,54 +24,54 @@ f$dc11e290 destructure-array-rest.js:6:5
block0:
[ 0] Enter
[ 1] Mov dst:a~0, src:<Empty>
- [ 6] Mov dst:b~1, src:<Empty>
- [ b] NewPrimitiveArray dst:reg5, elements:[1, 2, 3]
- [ 2a] Mov dst:reg6, src:Bool(false)
- [ 2f] GetIterator dst_iterator_object:reg7, dst_iterator_next:reg8, dst_iterator_done:reg9, iterable:reg5, fast_array_mode_allowed:true
- [ 3f] IteratorNextUnpack dst_value:reg10, dst_done:reg6, iterator_object:reg7, iterator_next:reg8, iterator_done:reg9
+ [ 4] Mov dst:b~1, src:<Empty>
+ [ 7] NewPrimitiveArray dst:reg5, elements:[1, 2, 3]
+ [ 25] Mov dst:reg6, src:Bool(false)
+ [ 28] GetIterator dst_iterator_object:reg7, dst_iterator_next:reg8, dst_iterator_done:reg9, iterable:reg5, fast_array_mode_allowed:true
+ [ 34] IteratorNextUnpack dst_value:reg10, dst_done:reg6, iterator_object:reg7, iterator_next:reg8, iterator_done:reg9
block1:
- [ 4a] JumpFalse condition:reg6, target:block3
+ [ 3a] JumpFalse condition:reg6, target:block3
block2:
- [ 51] Mov dst:reg10, src:Undefined
+ [ 40] Mov dst:reg10, src:Undefined
block3:
- [ 56] Mov dst:a~0, src:reg10
- [ 5b] JumpTrue condition:reg6, target:block6
+ [ 43] Mov dst:a~0, src:reg10
+ [ 46] JumpTrue condition:reg6, target:block6
block4:
- [ 62] IteratorToArray dst:reg10, iterator_object:reg7, iterator_next_method:reg8, iterator_done_property:reg9
+ [ 4c] IteratorToArray dst:reg10, iterator_object:reg7, iterator_next_method:reg8, iterator_done_property:reg9
block5:
- [ 6b] Jump target:block7
+ [ 51] Jump target:block7
block6:
- [ 70] NewArray dst:reg10
+ [ 56] NewArray dst:reg10
block7:
- [ 77] Mov dst:b~1, src:reg10
+ [ 59] Mov dst:b~1, src:reg10
block8:
- [ 7c] JumpTrue condition:reg9, target:block13
+ [ 5c] JumpTrue condition:reg9, target:block13
block9:
- [ 83] IteratorClose iterator_object:reg7, iterator_next:reg8, iterator_done:reg9, completion_value:Undefined
- [ 92] Jump target:block13
+ [ 62] IteratorClose iterator_object:reg7, iterator_next:reg8, iterator_done:reg9, completion_value:Undefined
+ [ 6d] Jump target:block13
block10:
- [ 97] Catch value_feedback:0, dst:reg11
- [ 9c] JumpTrue condition:reg9, target:block12
+ [ 72] Catch value_feedback:0, dst:reg11
+ [ 76] JumpTrue condition:reg9, target:block12
block11:
- [ a3] IteratorClose iterator_object:reg7, iterator_next:reg8, iterator_done:reg9, completion_value:reg11
+ [ 7c] IteratorClose iterator_object:reg7, iterator_next:reg8, iterator_done:reg9, completion_value:reg11
block12:
- [ b2] Throw src:reg11
+ [ 87] Throw src:reg11
block13:
- [ b5] Return value:b~1
+ [ 89] Return value:b~1
Exception handlers:
- [ 4a .. 62] => handler block10
- [ 6b .. 7c] => handler block10
+ [ 3a .. 4c] => handler block10
+ [ 51 .. 5c] => handler block10
diff --git a/Tests/LibJS/Bytecode/expected/destructuring-assignment-in-logical-and.txt b/Tests/LibJS/Bytecode/expected/destructuring-assignment-in-logical-and.txt
index e593f4dd606..e44f713d7a1 100644
--- a/Tests/LibJS/Bytecode/expected/destructuring-assignment-in-logical-and.txt
+++ b/Tests/LibJS/Bytecode/expected/destructuring-assignment-in-logical-and.txt
@@ -1,4 +1,4 @@
-$b444ae56 destructuring-assignment-in-logical-and.js:5:1
+$dd2e949d destructuring-assignment-in-logical-and.js:5:1
Registers: 7
Blocks: 1
Constants:
@@ -9,12 +9,12 @@ $b444ae56 destructuring-assignment-in-logical-and.js:5:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null, Int32(0)]
- [ 24] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null, Int32(0)]
+ [ 1a] End value:reg5
-f$4c544fcf destructuring-assignment-in-logical-and.js:2:9
+f$cdb64857 destructuring-assignment-in-logical-and.js:2:9
Registers: 13
Blocks: 16
Locals: a~0, b~1
@@ -25,61 +25,61 @@ f$4c544fcf destructuring-assignment-in-logical-and.js:2:9
block0:
[ 0] Enter
[ 1] Mov dst:a~0, src:Undefined
- [ 6] Mov dst:b~1, src:Undefined
- [ b] Mov dst:reg5, src:arg0
- [ 10] JumpFalse condition:reg5, target:block15
+ [ 4] Mov dst:b~1, src:Undefined
+ [ 7] Mov dst:reg5, src:arg0
+ [ a] JumpFalse condition:reg5, target:block15
block1:
- [ 17] Call value_feedback:0, call_feedback:0, dst:reg7, callee:arg0, this_value:Undefined, arguments:[arg1]
- [ 2a] Mov dst:reg8, src:Bool(false)
- [ 2f] GetIterator dst_iterator_object:reg9, dst_iterator_next:reg10, dst_iterator_done:reg11, iterable:reg7, fast_array_mode_allowed:true
- [ 3f] IteratorNextUnpack dst_value:reg12, dst_done:reg8, iterator_object:reg9, iterator_next:reg10, iterator_done:reg11
+ [ 10] Call value_feedback:0, call_feedback:0, dst:reg7, callee:arg0, this_value:Undefined, arguments:[arg1]
+ [ 1c] Mov dst:reg8, src:Bool(false)
+ [ 1f] GetIterator dst_iterator_object:reg9, dst_iterator_next:reg10, dst_iterator_done:reg11, iterable:reg7, fast_array_mode_allowed:true
+ [ 2b] IteratorNextUnpack dst_value:reg12, dst_done:reg8, iterator_object:reg9, iterator_next:reg10, iterator_done:reg11
block2:
- [ 4a] JumpFalse condition:reg8, target:block4
+ [ 31] JumpFalse condition:reg8, target:block4
block3:
- [ 51] Mov dst:reg12, src:Undefined
+ [ 37] Mov dst:reg12, src:Undefined
block4:
- [ 56] Mov dst:a~0, src:reg12
- [ 5b] JumpTrue condition:reg8, target:block7
+ [ 3a] Mov dst:a~0, src:reg12
+ [ 3d] JumpTrue condition:reg8, target:block7
block5:
- [ 62] IteratorNextUnpack dst_value:reg12, dst_done:reg8, iterator_object:reg9, iterator_next:reg10, iterator_done:reg11
+ [ 43] IteratorNextUnpack dst_value:reg12, dst_done:reg8, iterator_object:reg9, iterator_next:reg10, iterator_done:reg11
block6:
- [ 6d] JumpFalse condition:reg8, target:block8
+ [ 49] JumpFalse condition:reg8, target:block8
block7:
- [ 74] Mov dst:reg12, src:Undefined
+ [ 4f] Mov dst:reg12, src:Undefined
block8:
- [ 79] Mov dst:b~1, src:reg12
+ [ 52] Mov dst:b~1, src:reg12
block9:
- [ 7e] JumpTrue condition:reg11, target:block14
+ [ 55] JumpTrue condition:reg11, target:block14
block10:
- [ 85] IteratorClose iterator_object:reg9, iterator_next:reg10, iterator_done:reg11, completion_value:Undefined
- [ 94] Jump target:block14
+ [ 5b] IteratorClose iterator_object:reg9, iterator_next:reg10, iterator_done:reg11, completion_value:Undefined
+ [ 66] Jump target:block14
block11:
- [ 99] Catch value_feedback:1, dst:reg12
- [ 9e] JumpTrue condition:reg11, target:block13
+ [ 6b] Catch value_feedback:1, dst:reg12
+ [ 6f] JumpTrue condition:reg11, target:block13
block12:
- [ a5] IteratorClose iterator_object:reg9, iterator_next:reg10, iterator_done:reg11, completion_value:reg12
+ [ 75] IteratorClose iterator_object:reg9, iterator_next:reg10, iterator_done:reg11, completion_value:reg12
block13:
- [ b4] Throw src:reg12
+ [ 80] Throw src:reg12
block14:
- [ b7] Mov dst:reg5, src:reg7
+ [ 82] Mov dst:reg5, src:reg7
block15:
- [ bc] End value:Undefined
+ [ 85] End value:Undefined
Exception handlers:
- [ 4a .. 62] => handler block11
- [ 6d .. 7e] => handler block11
+ [ 31 .. 43] => handler block11
+ [ 49 .. 55] => handler block11
diff --git a/Tests/LibJS/Bytecode/expected/destructuring-assignment.txt b/Tests/LibJS/Bytecode/expected/destructuring-assignment.txt
index e7f0832817d..2b6a17504ef 100644
--- a/Tests/LibJS/Bytecode/expected/destructuring-assignment.txt
+++ b/Tests/LibJS/Bytecode/expected/destructuring-assignment.txt
@@ -1,4 +1,4 @@
-$34bdadaf destructuring-assignment.js:28:1
+$a11c814a destructuring-assignment.js:28:1
Registers: 7
Blocks: 1
Constants:
@@ -7,16 +7,16 @@ $34bdadaf destructuring-assignment.js:28:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `array_destructuring_with_class_default`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] GetGlobal value_feedback:2, dst:reg6, `object_destructuring_with_function_default`
- [ 29] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
- [ 3a] GetGlobal value_feedback:4, dst:reg6, `setter_parameter_resolution`
- [ 43] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined
- [ 54] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `array_destructuring_with_class_default`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] GetGlobal value_feedback:2, dst:reg6, `object_destructuring_with_function_default`
+ [ 21] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
+ [ 2c] GetGlobal value_feedback:4, dst:reg6, `setter_parameter_resolution`
+ [ 35] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined
+ [ 40] End value:reg5
-array_destructuring_with_class_default$2acf1de4 destructuring-assignment.js:5:9
+array_destructuring_with_class_default$29279067 destructuring-assignment.js:5:9
Registers: 14
Blocks: 12
Locals: x~0
@@ -27,57 +27,57 @@ array_destructuring_with_class_default$2acf1de4 destructuring-assignment.js:5:9
block0:
[ 0] Enter
[ 1] Mov dst:x~0, src:Undefined
- [ 6] GetLexicalEnvironment dst:reg4
- [ 9] NewArray dst:reg6, elements:[Undefined]
- [ 12] Mov dst:reg7, src:Bool(false)
- [ 17] GetIterator dst_iterator_object:reg8, dst_iterator_next:reg9, dst_iterator_done:reg10, iterable:reg6, fast_array_mode_allowed:true
- [ 27] IteratorNextUnpack dst_value:reg11, dst_done:reg7, iterator_object:reg8, iterator_next:reg9, iterator_done:reg10
+ [ 4] GetLexicalEnvironment dst:reg4
+ [ 6] NewArray dst:reg6, elements:[Undefined]
+ [ a] Mov dst:reg7, src:Bool(false)
+ [ d] GetIterator dst_iterator_object:reg8, dst_iterator_next:reg9, dst_iterator_done:reg10, iterable:reg6, fast_array_mode_allowed:true
+ [ 19] IteratorNextUnpack dst_value:reg11, dst_done:reg7, iterator_object:reg8, iterator_next:reg9, iterator_done:reg10
block1:
- [ 32] JumpFalse condition:reg7, target:block3
+ [ 1f] JumpFalse condition:reg7, target:block3
block2:
- [ 39] Mov dst:reg11, src:Undefined
+ [ 25] Mov dst:reg11, src:Undefined
block3:
- [ 3e] JumpUndefined condition:reg11, true_target:block4, false_target:block5
+ [ 28] JumpUndefined condition:reg11, true_target:block4, false_target:block5
block4:
- [ 49] CreateLexicalEnvironment dst:reg13, parent:reg4, capacity:1, is_catch_environment:false
- [ 57] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
- [ 61] SetLexicalEnvironment environment:reg4
- [ 64] NewClass dst:reg12, class_environment:reg13, class_blueprint_index:0
- [ 79] Mov dst:reg11, src:reg12
+ [ 32] CreateLexicalEnvironment dst:reg13, parent:reg4, capacity:1, is_catch_environment:false
+ [ 3e] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
+ [ 49] SetLexicalEnvironment environment:reg4
+ [ 4b] NewClass dst:reg12, class_environment:reg13, class_blueprint_index:0, element_keys_are_in_array:false
+ [ 5a] Mov dst:reg11, src:reg12
block5:
- [ 7e] Mov dst:x~0, src:reg11
+ [ 5d] Mov dst:x~0, src:reg11
block6:
- [ 83] JumpTrue condition:reg10, target:block11
+ [ 60] JumpTrue condition:reg10, target:block11
block7:
- [ 8a] IteratorClose iterator_object:reg8, iterator_next:reg9, iterator_done:reg10, completion_value:Undefined
- [ 99] Jump target:block11
+ [ 66] IteratorClose iterator_object:reg8, iterator_next:reg9, iterator_done:reg10, completion_value:Undefined
+ [ 71] Jump target:block11
block8:
- [ 9e] Catch value_feedback:0, dst:reg11
- [ a3] SetLexicalEnvironment environment:reg4
- [ a6] JumpTrue condition:reg10, target:block10
+ [ 76] Catch value_feedback:0, dst:reg11
+ [ 7a] SetLexicalEnvironment environment:reg4
+ [ 7c] JumpTrue condition:reg10, target:block10
block9:
- [ ad] IteratorClose iterator_object:reg8, iterator_next:reg9, iterator_done:reg10, completion_value:reg11
+ [ 82] IteratorClose iterator_object:reg8, iterator_next:reg9, iterator_done:reg10, completion_value:reg11
block10:
- [ bc] Throw src:reg11
+ [ 8d] Throw src:reg11
block11:
- [ bf] Return value:x~0
+ [ 8f] Return value:x~0
Exception handlers:
- [ 32 .. 83] => handler block8
+ [ 1f .. 60] => handler block8
-object_destructuring_with_function_default$2bf9aba6 destructuring-assignment.js:11:9
+object_destructuring_with_function_default$6caaa7ea destructuring-assignment.js:11:9
Registers: 9
Blocks: 3
Locals: x~0
@@ -87,21 +87,21 @@ object_destructuring_with_function_default$2bf9aba6 destructuring-assignment.js:
block0:
[ 0] Enter
[ 1] Mov dst:x~0, src:Undefined
- [ 6] NewObject dst:reg5
- [ b] Mov dst:reg6, src:reg5
- [ 10] ThrowIfNullish src:reg6
- [ 13] GetById value_feedback:0, dst:reg7, base:reg6, `x`
- [ 20] JumpUndefined condition:reg7, true_target:block1, false_target:block2
+ [ 4] NewObject dst:reg5
+ [ 8] Mov dst:reg6, src:reg5
+ [ b] ThrowIfNullish src:reg6
+ [ d] GetById value_feedback:0, dst:reg7, base:reg6, `x`
+ [ 19] JumpUndefined condition:reg7, true_target:block1, false_target:block2
block1:
- [ 2b] NewFunction dst:reg7, shared_function_data_index:0 (x)
+ [ 23] NewFunction dst:reg7, shared_function_data_index:0 (x)
block2:
- [ 36] Mov dst:x~0, src:reg7
- [ 3b] Return value:x~0
+ [ 2d] Mov dst:x~0, src:reg7
+ [ 30] Return value:x~0
-setter_parameter_resolution$d8f727af destructuring-assignment.js:17:9
+setter_parameter_resolution$8e52cabe destructuring-assignment.js:17:9
Registers: 13
Blocks: 12
Constants:
@@ -111,55 +111,55 @@ setter_parameter_resolution$d8f727af destructuring-assignment.js:17:9
block0:
[ 0] Enter
[ 1] CreateVariable `setValue`, is_immutable:false, is_global:false, is_strict:false
- [ b] InitializeVariableBinding `setValue`, src:Undefined
- [ 18] NewPrimitiveArray dst:reg6, elements:[23]
+ [ c] InitializeVariableBinding `setValue`, src:Undefined
+ [ 19] NewPrimitiveArray dst:reg6, elements:[23]
[ 27] Mov dst:reg7, src:Bool(false)
- [ 2c] GetIterator dst_iterator_object:reg8, dst_iterator_next:reg9, dst_iterator_done:reg10, iterable:reg6, fast_array_mode_allowed:true
+ [ 2a] GetIterator dst_iterator_object:reg8, dst_iterator_next:reg9, dst_iterator_done:reg10, iterable:reg6, fast_array_mode_allowed:true
block1:
- [ 3c] NewObject dst:reg11
- [ 41] NewFunction dst:reg12, shared_function_data_index:0 (set y), home_object:reg11
- [ 4c] PutById base:reg11, `y`, src:reg12, kind:Setter
+ [ 36] NewObject dst:reg11
+ [ 3a] NewFunction dst:reg12, shared_function_data_index:0 (set y), home_object:reg11
+ [ 44] PutById base:reg11, `y`, src:reg12, kind:Setter
block2:
- [ 5b] IteratorNextUnpack dst_value:reg12, dst_done:reg7, iterator_object:reg8, iterator_next:reg9, iterator_done:reg10
+ [ 52] IteratorNextUnpack dst_value:reg12, dst_done:reg7, iterator_object:reg8, iterator_next:reg9, iterator_done:reg10
block3:
- [ 66] JumpFalse condition:reg7, target:block5
+ [ 58] JumpFalse condition:reg7, target:block5
block4:
- [ 6d] Mov dst:reg12, src:Undefined
+ [ 5e] Mov dst:reg12, src:Undefined
block5:
- [ 72] PutById base:reg11, `y`, src:reg12, kind:Normal
+ [ 61] PutById base:reg11, `y`, src:reg12, kind:Normal
block6:
- [ 81] JumpTrue condition:reg10, target:block11
+ [ 6f] JumpTrue condition:reg10, target:block11
block7:
- [ 88] IteratorClose iterator_object:reg8, iterator_next:reg9, iterator_done:reg10, completion_value:Undefined
- [ 97] Jump target:block11
+ [ 75] IteratorClose iterator_object:reg8, iterator_next:reg9, iterator_done:reg10, completion_value:Undefined
+ [ 80] Jump target:block11
block8:
- [ 9c] Catch value_feedback:0, dst:reg11
- [ a1] JumpTrue condition:reg10, target:block10
+ [ 85] Catch value_feedback:0, dst:reg11
+ [ 89] JumpTrue condition:reg10, target:block10
block9:
- [ a8] IteratorClose iterator_object:reg8, iterator_next:reg9, iterator_done:reg10, completion_value:reg11
+ [ 8f] IteratorClose iterator_object:reg8, iterator_next:reg9, iterator_done:reg10, completion_value:reg11
block10:
- [ b7] Throw src:reg11
+ [ 9a] Throw src:reg11
block11:
- [ ba] GetInitializedBinding value_feedback:1, dst:reg5, `setValue`
- [ c9] Return value:reg5
+ [ 9c] GetInitializedBinding value_feedback:1, dst:reg5, `setValue`
+ [ ab] Return value:reg5
Exception handlers:
- [ 3c .. 5b] => handler block8
- [ 66 .. 81] => handler block8
+ [ 36 .. 52] => handler block8
+ [ 58 .. 6f] => handler block8
-set y$252d01a8 destructuring-assignment.js:21:26
+set y$755940b9 destructuring-assignment.js:21:26
Registers: 5
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/destructuring-let-compound-assign.txt b/Tests/LibJS/Bytecode/expected/destructuring-let-compound-assign.txt
index 9ed77f8b2b2..09b83ae1acd 100644
--- a/Tests/LibJS/Bytecode/expected/destructuring-let-compound-assign.txt
+++ b/Tests/LibJS/Bytecode/expected/destructuring-let-compound-assign.txt
@@ -1,4 +1,4 @@
-$d07742e0 destructuring-let-compound-assign.js:5:1
+$64186f45 destructuring-let-compound-assign.js:5:1
Registers: 9
Blocks: 1
Constants:
@@ -7,14 +7,14 @@ $d07742e0 destructuring-let-compound-assign.js:5:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] NewObject dst:reg7
- [ 14] NewObject dst:reg8
- [ 19] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7, reg8]
- [ 2e] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] NewObject dst:reg7
+ [ 11] NewObject dst:reg8
+ [ 15] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7, reg8]
+ [ 22] End value:reg5
-f$7246d521 destructuring-let-compound-assign.js:2:5
+f$0fdb6233 destructuring-let-compound-assign.js:2:5
Registers: 7
Blocks: 1
Locals: a~0
@@ -26,10 +26,10 @@ f$7246d521 destructuring-let-compound-assign.js:2:5
block0:
[ 0] Enter
[ 1] Mov dst:a~0, src:<Empty>
- [ 6] ThrowIfNullish src:arg0
- [ 9] Mov dst:reg5, src:arg0
- [ e] GetById value_feedback:0, dst:a~0, base:reg5, `patchFlag`
- [ 1b] GetById value_feedback:1, dst:reg5, base:arg1, `patchFlag`
- [ 28] BitwiseAnd arith_feedback:0, dst:reg5, lhs:Int32(16), rhs:reg5
- [ 31] BitwiseOr arith_feedback:1, dst:a~0, lhs:a~0, rhs:reg5
- [ 3a] End value:Undefined
+ [ 4] ThrowIfNullish src:arg0
+ [ 6] Mov dst:reg5, src:arg0
+ [ 9] GetById value_feedback:0, dst:a~0, base:reg5, `patchFlag`
+ [ 15] GetById value_feedback:1, dst:reg5, base:arg1, `patchFlag`
+ [ 21] BitwiseAnd arith_feedback:0, dst:reg5, lhs:Int32(16), rhs:reg5
+ [ 27] BitwiseOr arith_feedback:1, dst:a~0, lhs:a~0, rhs:reg5
+ [ 2d] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/destructuring-no-base-identifier.txt b/Tests/LibJS/Bytecode/expected/destructuring-no-base-identifier.txt
index a8f06b0d62a..d920dae04bf 100644
--- a/Tests/LibJS/Bytecode/expected/destructuring-no-base-identifier.txt
+++ b/Tests/LibJS/Bytecode/expected/destructuring-no-base-identifier.txt
@@ -1,4 +1,4 @@
-$f33cba27 destructuring-no-base-identifier.js:1:5
+$4d5c59e5 destructuring-no-base-identifier.js:1:5
Registers: 14
Blocks: 12
Constants:
@@ -8,48 +8,48 @@ $f33cba27 destructuring-no-base-identifier.js:1:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] NewObject dst:reg6
- [ b] SetGlobal `x`, src:reg6
- [ 12] NewPrimitiveArray dst:reg7, elements:[42]
- [ 21] Mov dst:reg8, src:Bool(false)
- [ 26] GetIterator dst_iterator_object:reg9, dst_iterator_next:reg10, dst_iterator_done:reg11, iterable:reg7, fast_array_mode_allowed:true
+ [ 4] NewObject dst:reg6
+ [ 8] SetGlobal `x`, src:reg6
+ [ f] NewPrimitiveArray dst:reg7, elements:[42]
+ [ 1d] Mov dst:reg8, src:Bool(false)
+ [ 20] GetIterator dst_iterator_object:reg9, dst_iterator_next:reg10, dst_iterator_done:reg11, iterable:reg7, fast_array_mode_allowed:true
block1:
- [ 36] GetGlobal value_feedback:0, dst:reg12, `x`
+ [ 2c] GetGlobal value_feedback:0, dst:reg12, `x`
block2:
- [ 3f] IteratorNextUnpack dst_value:reg13, dst_done:reg8, iterator_object:reg9, iterator_next:reg10, iterator_done:reg11
+ [ 35] IteratorNextUnpack dst_value:reg13, dst_done:reg8, iterator_object:reg9, iterator_next:reg10, iterator_done:reg11
block3:
- [ 4a] JumpFalse condition:reg8, target:block5
+ [ 3b] JumpFalse condition:reg8, target:block5
block4:
- [ 51] Mov dst:reg13, src:Undefined
+ [ 41] Mov dst:reg13, src:Undefined
block5:
- [ 56] PutById base:reg12, `y`, src:reg13, kind:Normal
+ [ 44] PutById base:reg12, `y`, src:reg13, kind:Normal
block6:
- [ 65] JumpTrue condition:reg11, target:block11
+ [ 52] JumpTrue condition:reg11, target:block11
block7:
- [ 6c] IteratorClose iterator_object:reg9, iterator_next:reg10, iterator_done:reg11, completion_value:Undefined
- [ 7b] Jump target:block11
+ [ 58] IteratorClose iterator_object:reg9, iterator_next:reg10, iterator_done:reg11, completion_value:Undefined
+ [ 63] Jump target:block11
block8:
- [ 80] Catch value_feedback:1, dst:reg12
- [ 85] JumpTrue condition:reg11, target:block10
+ [ 68] Catch value_feedback:1, dst:reg12
+ [ 6c] JumpTrue condition:reg11, target:block10
block9:
- [ 8c] IteratorClose iterator_object:reg9, iterator_next:reg10, iterator_done:reg11, completion_value:reg12
+ [ 72] IteratorClose iterator_object:reg9, iterator_next:reg10, iterator_done:reg11, completion_value:reg12
block10:
- [ 9b] Throw src:reg12
+ [ 7d] Throw src:reg12
block11:
- [ 9e] Mov dst:reg5, src:reg7
- [ a3] End value:reg5
+ [ 7f] Mov dst:reg5, src:reg7
+ [ 82] End value:reg5
Exception handlers:
- [ 36 .. 3f] => handler block8
- [ 4a .. 65] => handler block8
+ [ 2c .. 35] => handler block8
+ [ 3b .. 52] => handler block8
diff --git a/Tests/LibJS/Bytecode/expected/destructuring-param-no-param-expressions.txt b/Tests/LibJS/Bytecode/expected/destructuring-param-no-param-expressions.txt
index 11d34b50502..2a0a54ba9eb 100644
--- a/Tests/LibJS/Bytecode/expected/destructuring-param-no-param-expressions.txt
+++ b/Tests/LibJS/Bytecode/expected/destructuring-param-no-param-expressions.txt
@@ -1,4 +1,4 @@
-$61807403 destructuring-param-no-param-expressions.js:10:1
+$b8dc22b1 destructuring-param-no-param-expressions.js:10:1
Registers: 8
Blocks: 1
Constants:
@@ -9,16 +9,16 @@ $61807403 destructuring-param-no-param-expressions.js:10:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] NewObject dst:reg7
- [ 14] InitObjectLiteralProperty object:reg7, `captured`, src:Int32(1), shape_cache_index:0, property_slot:0
- [ 23] InitObjectLiteralProperty object:reg7, `local`, src:Int32(2), shape_cache_index:0, property_slot:1
- [ 32] CacheObjectShape object:reg7
- [ 37] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 4a] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] NewObject dst:reg7
+ [ 11] InitObjectLiteralProperty object:reg7, `captured`, src:Int32(1), shape_cache_index:0, property_slot:0
+ [ 1f] InitObjectLiteralProperty object:reg7, `local`, src:Int32(2), shape_cache_index:0, property_slot:1
+ [ 2d] CacheObjectShape object:reg7
+ [ 31] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 3d] End value:reg5
-f$48e06689 destructuring-param-no-param-expressions.js:6:12
+f$67d6ec23 destructuring-param-no-param-expressions.js:6:12
Registers: 7
Blocks: 1
Locals: local~0
@@ -26,10 +26,10 @@ f$48e06689 destructuring-param-no-param-expressions.js:6:12
block0:
[ 0] Enter
[ 1] CreateVariable `captured`, is_immutable:false, is_global:false, is_strict:false
- [ b] ThrowIfNullish src:arg0
+ [ c] ThrowIfNullish src:arg0
[ e] Mov dst:reg5, src:arg0
- [ 13] GetById value_feedback:0, dst:reg6, base:reg5, `captured`
- [ 20] InitializeLexicalBinding `captured`, src:reg6
- [ 2d] GetById value_feedback:1, dst:local~0, base:reg5, `local`
- [ 3a] NewFunction dst:reg5, shared_function_data_index:0
- [ 45] Return value:reg5
+ [ 11] GetById value_feedback:0, dst:reg6, base:reg5, `captured`
+ [ 1d] InitializeLexicalBinding `captured`, src:reg6
+ [ 2a] GetById value_feedback:1, dst:local~0, base:reg5, `local`
+ [ 36] NewFunction dst:reg5, shared_function_data_index:0
+ [ 40] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/do-while-register-allocation.txt b/Tests/LibJS/Bytecode/expected/do-while-register-allocation.txt
index 89fa42b678c..09f4651cac2 100644
--- a/Tests/LibJS/Bytecode/expected/do-while-register-allocation.txt
+++ b/Tests/LibJS/Bytecode/expected/do-while-register-allocation.txt
@@ -1,4 +1,4 @@
-$765f17b8 do-while-register-allocation.js:15:1
+$3cdd8b11 do-while-register-allocation.js:15:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $765f17b8 do-while-register-allocation.js:15:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `test`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `test`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-test$a0d52969 do-while-register-allocation.js:8:9
+test$d4ced3f0 do-while-register-allocation.js:8:9
Registers: 7
Blocks: 3
Locals: i~0
@@ -23,22 +23,22 @@ test$a0d52969 do-while-register-allocation.js:8:9
block0:
[ 0] Enter
[ 1] Mov dst:i~0, src:Undefined
- [ 6] Mov dst:i~0, src:Int32(0)
- [ b] GetGlobal value_feedback:0, dst:reg5, `foo`
- [ 14] NewArray dst:reg6
- [ 1b] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg5, this_value:Undefined, arguments:[reg6]
+ [ 4] Mov dst:i~0, src:Int32(0)
+ [ 7] GetGlobal value_feedback:0, dst:reg5, `foo`
+ [ 10] NewArray dst:reg6
+ [ 13] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg5, this_value:Undefined, arguments:[reg6]
block1:
- [ 2e] GetGlobal value_feedback:2, dst:reg5, `bar`
- [ 37] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg5, this_value:Undefined, arguments:[i~0]
- [ 4a] Increment arith_feedback:0, dst:i~0
- [ 4f] JumpLessThanLoopRhsInt32 arith_feedback:1, lhs:i~0, rhs:7, true_target:block1, false_target:block2
+ [ 1f] GetGlobal value_feedback:2, dst:reg5, `bar`
+ [ 28] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg5, this_value:Undefined, arguments:[i~0]
+ [ 34] Increment arith_feedback:0, dst:i~0
+ [ 38] JumpLessThanLoopRhsInt32 arith_feedback:1, lhs:i~0, rhs:7, true_target:block1, false_target:block2
block2:
- [ 60] End value:Undefined
+ [ 48] End value:Undefined
-foo$d14f3b00 do-while-register-allocation.js:2:5
+foo$0284f477 do-while-register-allocation.js:2:5
Registers: 5
Blocks: 1
@@ -47,7 +47,7 @@ block0:
[ 1] Return value:arg0
-bar$0ca47568 do-while-register-allocation.js:5:5
+bar$3dda2edf do-while-register-allocation.js:5:5
Registers: 5
Blocks: 1
diff --git a/Tests/LibJS/Bytecode/expected/double-constant-deduplication.txt b/Tests/LibJS/Bytecode/expected/double-constant-deduplication.txt
index 0e6b05301d8..e98f4529c7a 100644
--- a/Tests/LibJS/Bytecode/expected/double-constant-deduplication.txt
+++ b/Tests/LibJS/Bytecode/expected/double-constant-deduplication.txt
@@ -1,4 +1,4 @@
-$174b246f double-constant-deduplication.js:8:1
+$3d7119a6 double-constant-deduplication.js:8:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $174b246f double-constant-deduplication.js:8:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `foo`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `foo`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-foo$1dead13d double-constant-deduplication.js:2:9
+foo$08e7ac50 double-constant-deduplication.js:2:9
Registers: 6
Blocks: 1
Locals: a~0, b~1, c~2
@@ -22,8 +22,8 @@ foo$1dead13d double-constant-deduplication.js:2:9
block0:
[ 0] Enter
[ 1] Mov dst:a~0, src:Double(0.5)
- [ 6] Mov dst:b~1, src:Double(0.5)
- [ b] Mov dst:c~2, src:Double(0.5)
- [ 10] Add arith_feedback:0, dst:reg5, lhs:a~0, rhs:b~1
- [ 19] Add arith_feedback:1, dst:reg5, lhs:reg5, rhs:c~2
- [ 22] Return value:reg5
+ [ 4] Mov dst:b~1, src:Double(0.5)
+ [ 7] Mov dst:c~2, src:Double(0.5)
+ [ a] Add arith_feedback:0, dst:reg5, lhs:a~0, rhs:b~1
+ [ 10] Add arith_feedback:1, dst:reg5, lhs:reg5, rhs:c~2
+ [ 16] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/enclosing-function-bindings-with-eval-or-with.txt b/Tests/LibJS/Bytecode/expected/enclosing-function-bindings-with-eval-or-with.txt
index 6375f5e50f8..cded0a97fae 100644
--- a/Tests/LibJS/Bytecode/expected/enclosing-function-bindings-with-eval-or-with.txt
+++ b/Tests/LibJS/Bytecode/expected/enclosing-function-bindings-with-eval-or-with.txt
@@ -1,4 +1,4 @@
-$765f17b8 enclosing-function-bindings-with-eval-or-with.js:15:1
+$3cdd8b11 enclosing-function-bindings-with-eval-or-with.js:15:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $765f17b8 enclosing-function-bindings-with-eval-or-with.js:15:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `outer`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `outer`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-outer$0d949486 enclosing-function-bindings-with-eval-or-with.js:2:9
+outer$ab292198 enclosing-function-bindings-with-eval-or-with.js:2:9
Registers: 11
Blocks: 1
Constants:
@@ -22,27 +22,27 @@ outer$0d949486 enclosing-function-bindings-with-eval-or-with.js:2:9
block0:
[ 0] Enter
[ 1] CreateVariable `a`, is_immutable:false, is_global:false, is_strict:false
- [ b] CreateVariable `evaluates`, is_immutable:false, is_global:false, is_strict:false
- [ 15] InitializeVariableBinding `evaluates`, src:Undefined
- [ 22] NewFunction dst:reg5, shared_function_data_index:0
- [ 2d] SetVariableBinding `evaluates`, src:reg5
- [ 3a] CreateVariable `withObject`, is_immutable:false, is_global:false, is_strict:false
- [ 44] InitializeVariableBinding `withObject`, src:Undefined
- [ 51] NewFunction dst:reg6, shared_function_data_index:1
- [ 5c] SetVariableBinding `withObject`, src:reg6
- [ 69] InitializeLexicalBinding `a`, src:Int32(1)
- [ 76] GetCalleeAndThisFromEnvironment value_feedback:0, callee:reg7, this_value:reg8, `evaluates`
+ [ c] CreateVariable `evaluates`, is_immutable:false, is_global:false, is_strict:false
+ [ 17] InitializeVariableBinding `evaluates`, src:Undefined
+ [ 24] NewFunction dst:reg5, shared_function_data_index:0
+ [ 2e] SetVariableBinding `evaluates`, src:reg5
+ [ 3b] CreateVariable `withObject`, is_immutable:false, is_global:false, is_strict:false
+ [ 46] InitializeVariableBinding `withObject`, src:Undefined
+ [ 53] NewFunction dst:reg6, shared_function_data_index:1
+ [ 5d] SetVariableBinding `withObject`, src:reg6
+ [ 6a] InitializeLexicalBinding `a`, src:Int32(1)
+ [ 77] GetCalleeAndThisFromEnvironment value_feedback:0, callee:reg7, this_value:reg8, `evaluates`
[ 87] Call value_feedback:1, call_feedback:0, dst:reg7, callee:reg7, this_value:reg8
- [ 98] Call value_feedback:2, call_feedback:1, dst:reg7, callee:reg7, this_value:Undefined
- [ a9] GetCalleeAndThisFromEnvironment value_feedback:3, callee:reg8, this_value:reg9, `withObject`
- [ ba] NewObject dst:reg10
- [ bf] Call value_feedback:4, call_feedback:2, dst:reg8, callee:reg8, this_value:reg9, arguments:[reg10]
- [ d2] Call value_feedback:5, call_feedback:3, dst:reg8, callee:reg8, this_value:Undefined
- [ e3] NewArray dst:reg9, elements:[reg7, reg8]
- [ ee] Return value:reg9
+ [ 92] Call value_feedback:2, call_feedback:1, dst:reg7, callee:reg7, this_value:Undefined
+ [ 9d] GetCalleeAndThisFromEnvironment value_feedback:3, callee:reg8, this_value:reg9, `withObject`
+ [ ad] NewObject dst:reg10
+ [ b1] Call value_feedback:4, call_feedback:2, dst:reg8, callee:reg8, this_value:reg9, arguments:[reg10]
+ [ bd] Call value_feedback:5, call_feedback:3, dst:reg8, callee:reg8, this_value:Undefined
+ [ c8] NewArray dst:reg9, elements:[reg7, reg8]
+ [ cd] Return value:reg9
-evaluates$9f9cb1da enclosing-function-bindings-with-eval-or-with.js:4:13
+evaluates$ac540397 enclosing-function-bindings-with-eval-or-with.js:4:13
Registers: 7
Blocks: 1
Constants:
@@ -51,13 +51,13 @@ evaluates$9f9cb1da enclosing-function-bindings-with-eval-or-with.js:4:13
block0:
[ 0] Enter
[ 1] CreateArguments is_immutable:false, creates_parameter_bindings:false
- [ a] DynamicGetCalleeAndThisFromEnvironment value_feedback:0, callee:reg5, this_value:reg6, `eval`
- [ 15] CallDirectEval value_feedback:1, call_feedback:0, dst:reg5, callee:reg5, this_value:reg6, arguments:[String("")]
- [ 28] NewFunction dst:reg5, shared_function_data_index:0
- [ 33] Return value:reg5
+ [ 9] DynamicGetCalleeAndThisFromEnvironment value_feedback:0, callee:reg5, this_value:reg6, `eval`
+ [ 13] CallDirectEval value_feedback:1, call_feedback:0, dst:reg5, callee:reg5, this_value:reg6, arguments:[String("")]
+ [ 1f] NewFunction dst:reg5, shared_function_data_index:0
+ [ 29] Return value:reg5
-eval$66f502e2
+eval$d8dbb89d
Registers: 6
Blocks: 1
Constants:
@@ -66,10 +66,10 @@ eval$66f502e2
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] End value:reg5
+ [ 4] End value:reg5
-$a8d357ad enclosing-function-bindings-with-eval-or-with.js:5:16
+$58a7189c enclosing-function-bindings-with-eval-or-with.js:5:16
Registers: 6
Blocks: 1
@@ -79,20 +79,20 @@ block0:
[ a] Return value:reg5
-withObject$2fa2cdf9 enclosing-function-bindings-with-eval-or-with.js:8:9
+withObject$8f4a4fd7 enclosing-function-bindings-with-eval-or-with.js:8:9
Registers: 7
Blocks: 1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] EnterObjectEnvironment dst:reg5, object:arg0
- [ 9] NewFunction dst:reg6, shared_function_data_index:0
- [ 14] SetLexicalEnvironment environment:reg4
- [ 17] Return value:reg6
+ [ 3] EnterObjectEnvironment dst:reg5, object:arg0
+ [ 6] NewFunction dst:reg6, shared_function_data_index:0
+ [ 10] SetLexicalEnvironment environment:reg4
+ [ 12] Return value:reg6
-$1b1f2c65 enclosing-function-bindings-with-eval-or-with.js:9:20
+$caf2ed54 enclosing-function-bindings-with-eval-or-with.js:9:20
Registers: 6
Blocks: 1
diff --git a/Tests/LibJS/Bytecode/expected/enclosing-function-bindings.txt b/Tests/LibJS/Bytecode/expected/enclosing-function-bindings.txt
index a83ddc4e4c5..3987d719691 100644
--- a/Tests/LibJS/Bytecode/expected/enclosing-function-bindings.txt
+++ b/Tests/LibJS/Bytecode/expected/enclosing-function-bindings.txt
@@ -1,4 +1,4 @@
-$c630f163 enclosing-function-bindings.js:1:1
+$e26385ed enclosing-function-bindings.js:1:1
Registers: 7
Blocks: 1
Constants:
@@ -9,14 +9,14 @@ $c630f163 enclosing-function-bindings.js:1:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg5, src:String("use strict")
- [ b] GetGlobal value_feedback:0, dst:reg6, `outer`
- [ 14] Call value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
- [ 27] Call value_feedback:2, call_feedback:1, dst:reg6, callee:reg6, this_value:Undefined
- [ 38] Call value_feedback:3, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined
- [ 49] GetGlobal value_feedback:4, dst:reg6, `blockFunctions`
- [ 52] Call value_feedback:5, call_feedback:3, dst:reg5, callee:reg6, this_value:Undefined
- [ 63] End value:reg5
+ [ 4] Mov dst:reg5, src:String("use strict")
+ [ 7] GetGlobal value_feedback:0, dst:reg6, `outer`
+ [ 10] Call value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
+ [ 1c] Call value_feedback:2, call_feedback:1, dst:reg6, callee:reg6, this_value:Undefined
+ [ 27] Call value_feedback:3, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined
+ [ 32] GetGlobal value_feedback:4, dst:reg6, `blockFunctions`
+ [ 3b] Call value_feedback:5, call_feedback:3, dst:reg5, callee:reg6, this_value:Undefined
+ [ 46] End value:reg5
outer$66437b0a enclosing-function-bindings.js:4:9
@@ -28,29 +28,29 @@ outer$66437b0a enclosing-function-bindings.js:4:9
block0:
[ 0] Enter
[ 1] CreateVariable `a`, is_immutable:false, is_global:false, is_strict:false
- [ b] InitializeLexicalBinding `a`, src:arg0
- [ 18] CreateVariable `b`, is_immutable:false, is_global:false, is_strict:false
- [ 22] CreateVariable `callee`, is_immutable:false, is_global:false, is_strict:false
- [ 2c] InitializeVariableBinding `callee`, src:Undefined
- [ 39] NewFunction dst:reg5, shared_function_data_index:0
- [ 44] SetVariableBinding `callee`, src:reg5
- [ 51] GetBinding value_feedback:0, dst:reg5, `a`
- [ 60] InitializeLexicalBinding `b`, src:reg5
- [ 6d] NewFunction dst:reg6, shared_function_data_index:1
- [ 78] Return value:reg6
-
-
-$304ea28e enclosing-function-bindings.js:8:12
+ [ c] InitializeLexicalBinding `a`, src:arg0
+ [ 19] CreateVariable `b`, is_immutable:false, is_global:false, is_strict:false
+ [ 24] CreateVariable `callee`, is_immutable:false, is_global:false, is_strict:false
+ [ 2f] InitializeVariableBinding `callee`, src:Undefined
+ [ 3c] NewFunction dst:reg5, shared_function_data_index:0
+ [ 46] SetVariableBinding `callee`, src:reg5
+ [ 53] GetBinding value_feedback:0, dst:reg5, `a`
+ [ 62] InitializeLexicalBinding `b`, src:reg5
+ [ 6f] NewFunction dst:reg6, shared_function_data_index:1
+ [ 79] Return value:reg6
+
+
+$8ff6246c enclosing-function-bindings.js:8:12
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] NewFunction dst:reg5, shared_function_data_index:0
- [ c] Return value:reg5
+ [ b] Return value:reg5
-inner$a5765226 enclosing-function-bindings.js:10:15
+inner$b7b58603 enclosing-function-bindings.js:10:15
Registers: 8
Blocks: 1
@@ -60,12 +60,12 @@ block0:
[ 10] SetLexicalBinding `a`, src:reg5
[ 1d] TypeofBinding dst:reg5, `a`
[ 2a] GetCalleeAndThisFromEnvironment value_feedback:1, callee:reg6, this_value:reg7, `callee`
- [ 3b] Call value_feedback:2, call_feedback:0, dst:reg6, callee:reg6, this_value:reg7
- [ 4c] Add arith_feedback:0, dst:reg5, lhs:reg5, rhs:reg6
- [ 55] Return value:reg5
+ [ 3a] Call value_feedback:2, call_feedback:0, dst:reg6, callee:reg6, this_value:reg7
+ [ 45] Add arith_feedback:0, dst:reg5, lhs:reg5, rhs:reg6
+ [ 4b] Return value:reg5
-callee$315bf70b enclosing-function-bindings.js:6:9
+callee$e12fb7fa enclosing-function-bindings.js:6:9
Registers: 6
Blocks: 1
@@ -75,7 +75,7 @@ block0:
[ 10] Return value:reg5
-blockFunctions$2ef4cd61 enclosing-function-bindings.js:16:9
+blockFunctions$4134013e enclosing-function-bindings.js:16:9
Registers: 7
Blocks: 1
Locals: first~0
@@ -86,19 +86,19 @@ blockFunctions$2ef4cd61 enclosing-function-bindings.js:16:9
block0:
[ 0] Enter
[ 1] CreateVariable `c`, is_immutable:false, is_global:false, is_strict:false
- [ b] GetLexicalEnvironment dst:reg4
+ [ c] GetLexicalEnvironment dst:reg4
[ e] InitializeLexicalBinding `c`, src:Int32(1)
[ 1b] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
- [ 29] CreateVariable `second`, is_immutable:false, is_global:false, is_strict:false
- [ 33] NewFunction dst:first~0, shared_function_data_index:0
- [ 3e] NewFunction dst:reg6, shared_function_data_index:1
- [ 49] InitializeLexicalBinding `second`, src:reg6
- [ 56] Call value_feedback:0, call_feedback:0, dst:reg6, callee:first~0, this_value:Undefined
- [ 67] SetLexicalEnvironment environment:reg4
- [ 6a] Return value:reg6
+ [ 27] CreateVariable `second`, is_immutable:false, is_global:false, is_strict:false
+ [ 32] NewFunction dst:first~0, shared_function_data_index:0
+ [ 3c] NewFunction dst:reg6, shared_function_data_index:1
+ [ 46] InitializeLexicalBinding `second`, src:reg6
+ [ 53] Call value_feedback:0, call_feedback:0, dst:reg6, callee:first~0, this_value:Undefined
+ [ 5e] SetLexicalEnvironment environment:reg4
+ [ 60] Return value:reg6
-first$3b5410e0 enclosing-function-bindings.js:19:13
+first$fd6705ac enclosing-function-bindings.js:19:13
Registers: 7
Blocks: 1
@@ -107,4 +107,4 @@ block0:
[ 1] GetBinding value_feedback:0, dst:reg5, `c`
[ 10] TypeofBinding dst:reg6, `second`
[ 1d] Add arith_feedback:0, dst:reg5, lhs:reg5, rhs:reg6
- [ 26] Return value:reg5
+ [ 23] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/eval-prevents-locals.txt b/Tests/LibJS/Bytecode/expected/eval-prevents-locals.txt
index 938805f54a5..5f4423df0f0 100644
--- a/Tests/LibJS/Bytecode/expected/eval-prevents-locals.txt
+++ b/Tests/LibJS/Bytecode/expected/eval-prevents-locals.txt
@@ -1,4 +1,4 @@
-$2604690f eval-prevents-locals.js:22:1
+$32bbbacc eval-prevents-locals.js:22:1
Registers: 7
Blocks: 1
Constants:
@@ -7,14 +7,14 @@ $2604690f eval-prevents-locals.js:22:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `with_eval`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] GetGlobal value_feedback:2, dst:reg6, `outer_eval`
- [ 29] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
- [ 3a] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `with_eval`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] GetGlobal value_feedback:2, dst:reg6, `outer_eval`
+ [ 21] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
+ [ 2c] End value:reg5
-with_eval$7e2f3ab3 eval-prevents-locals.js:6:9
+with_eval$c72c0a27 eval-prevents-locals.js:6:9
Registers: 8
Blocks: 1
Constants:
@@ -24,17 +24,17 @@ with_eval$7e2f3ab3 eval-prevents-locals.js:6:9
block0:
[ 0] Enter
[ 1] CreateArguments is_immutable:false, creates_parameter_bindings:false
- [ a] GetLexicalEnvironment dst:reg4
- [ d] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
- [ 1b] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
- [ 25] InitializeLexicalBinding `x`, src:Int32(1)
- [ 32] DynamicGetCalleeAndThisFromEnvironment value_feedback:0, callee:reg6, this_value:reg7, `eval`
- [ 3d] CallDirectEval value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:reg7, arguments:[String("")]
- [ 50] GetBinding value_feedback:2, dst:reg6, `x`
- [ 5f] Return value:reg6
+ [ 9] GetLexicalEnvironment dst:reg4
+ [ b] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
+ [ 17] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
+ [ 22] InitializeLexicalBinding `x`, src:Int32(1)
+ [ 2f] DynamicGetCalleeAndThisFromEnvironment value_feedback:0, callee:reg6, this_value:reg7, `eval`
+ [ 39] CallDirectEval value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:reg7, arguments:[String("")]
+ [ 45] GetBinding value_feedback:2, dst:reg6, `x`
+ [ 54] Return value:reg6
-eval$66f502e2
+eval$d8dbb89d
Registers: 6
Blocks: 1
Constants:
@@ -43,10 +43,10 @@ eval$66f502e2
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] End value:reg5
+ [ 4] End value:reg5
-outer_eval$f2da6faf eval-prevents-locals.js:14:9
+outer_eval$9ecddbfb eval-prevents-locals.js:14:9
Registers: 9
Blocks: 1
Constants:
@@ -56,20 +56,20 @@ outer_eval$f2da6faf eval-prevents-locals.js:14:9
block0:
[ 0] Enter
[ 1] CreateArguments is_immutable:false, creates_parameter_bindings:false
- [ a] GetLexicalEnvironment dst:reg4
- [ d] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
- [ 1b] CreateVariable `inner`, is_immutable:false, is_global:false, is_strict:false
- [ 25] InitializeVariableBinding `inner`, src:Undefined
- [ 32] NewFunction dst:reg6, shared_function_data_index:0
- [ 3d] SetVariableBinding `inner`, src:reg6
- [ 4a] DynamicGetCalleeAndThisFromEnvironment value_feedback:0, callee:reg6, this_value:reg7, `eval`
- [ 55] CallDirectEval value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:reg7, arguments:[String("")]
- [ 68] GetCalleeAndThisFromEnvironment value_feedback:2, callee:reg7, this_value:reg8, `inner`
- [ 79] Call value_feedback:3, call_feedback:1, dst:reg7, callee:reg7, this_value:reg8
- [ 8a] Return value:reg7
-
-
-eval$66f502e2
+ [ 9] GetLexicalEnvironment dst:reg4
+ [ b] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
+ [ 17] CreateVariable `inner`, is_immutable:false, is_global:false, is_strict:false
+ [ 22] InitializeVariableBinding `inner`, src:Undefined
+ [ 2f] NewFunction dst:reg6, shared_function_data_index:0
+ [ 39] SetVariableBinding `inner`, src:reg6
+ [ 46] DynamicGetCalleeAndThisFromEnvironment value_feedback:0, callee:reg6, this_value:reg7, `eval`
+ [ 50] CallDirectEval value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:reg7, arguments:[String("")]
+ [ 5c] GetCalleeAndThisFromEnvironment value_feedback:2, callee:reg7, this_value:reg8, `inner`
+ [ 6c] Call value_feedback:3, call_feedback:1, dst:reg7, callee:reg7, this_value:reg8
+ [ 77] Return value:reg7
+
+
+eval$d8dbb89d
Registers: 6
Blocks: 1
Constants:
@@ -78,10 +78,10 @@ eval$66f502e2
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] End value:reg5
+ [ 4] End value:reg5
-inner$db8563bf eval-prevents-locals.js:16:13
+inner$28edb1c0 eval-prevents-locals.js:16:13
Registers: 5
Blocks: 1
Locals: y~0
@@ -91,4 +91,4 @@ inner$db8563bf eval-prevents-locals.js:16:13
block0:
[ 0] Enter
[ 1] Mov dst:y~0, src:Int32(2)
- [ 6] Return value:y~0
+ [ 4] Return value:y~0
diff --git a/Tests/LibJS/Bytecode/expected/eval-same-function.txt b/Tests/LibJS/Bytecode/expected/eval-same-function.txt
index e0ff94a72dc..7a152cd3d1f 100644
--- a/Tests/LibJS/Bytecode/expected/eval-same-function.txt
+++ b/Tests/LibJS/Bytecode/expected/eval-same-function.txt
@@ -1,4 +1,4 @@
-$7db3088d eval-same-function.js:10:1
+$a3d8fdc4 eval-same-function.js:10:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $7db3088d eval-same-function.js:10:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `foo`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `foo`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-foo$da22f319 eval-same-function.js:6:9
+foo$ed7e8a89 eval-same-function.js:6:9
Registers: 7
Blocks: 1
Constants:
@@ -22,14 +22,14 @@ foo$da22f319 eval-same-function.js:6:9
block0:
[ 0] Enter
[ 1] CreateArguments is_immutable:false, creates_parameter_bindings:false
- [ a] DynamicGetCalleeAndThisFromEnvironment value_feedback:0, callee:reg5, this_value:reg6, `eval`
- [ 15] CallDirectEval value_feedback:1, call_feedback:0, dst:reg5, callee:reg5, this_value:reg6, arguments:[String("var x = 1")]
- [ 28] DynamicGetBinding value_feedback:2, dst:reg5, `Number`
- [ 31] CallConstruct value_feedback:3, call_feedback:1, dst:reg5, callee:reg5, arguments:[Int32(42)]
- [ 42] Return value:reg5
+ [ 9] DynamicGetCalleeAndThisFromEnvironment value_feedback:0, callee:reg5, this_value:reg6, `eval`
+ [ 13] CallDirectEval value_feedback:1, call_feedback:0, dst:reg5, callee:reg5, this_value:reg6, arguments:[String("var x = 1")]
+ [ 1f] DynamicGetBinding value_feedback:2, dst:reg5, `Number`
+ [ 28] CallConstruct value_feedback:3, call_feedback:1, dst:reg5, callee:reg5, arguments:[Int32(42)]
+ [ 33] Return value:reg5
-eval$3ef26dea line 1, column 5
+eval$7fa36a2e line 1, column 5
Registers: 7
Blocks: 1
Constants:
@@ -39,6 +39,6 @@ eval$3ef26dea line 1, column 5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] ResolveBinding dst:reg6, `x`
- [ b] SetResolvedBinding environment:reg6, `x`, src:Int32(1)
- [ 12] End value:reg5
+ [ 4] ResolveBinding dst:reg6, `x`
+ [ 9] SetResolvedBinding environment:reg6, `x`, src:Int32(1)
+ [ f] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/eval-scope-optimization.txt b/Tests/LibJS/Bytecode/expected/eval-scope-optimization.txt
index ac501fb1264..c6a13f039a9 100644
--- a/Tests/LibJS/Bytecode/expected/eval-scope-optimization.txt
+++ b/Tests/LibJS/Bytecode/expected/eval-scope-optimization.txt
@@ -1,4 +1,4 @@
-$c91963ab eval-scope-optimization.js:12:1
+$ef3f58e2 eval-scope-optimization.js:12:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $c91963ab eval-scope-optimization.js:12:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `outer`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `outer`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-outer$875b7472 eval-scope-optimization.js:6:5
+outer$b8912de9 eval-scope-optimization.js:6:5
Registers: 7
Blocks: 1
Constants:
@@ -22,9 +22,9 @@ outer$875b7472 eval-scope-optimization.js:6:5
block0:
[ 0] Enter
[ 1] CreateVariable `inner`, is_immutable:false, is_global:false, is_strict:false
- [ b] InitializeVariableBinding `inner`, src:Undefined
- [ 18] NewFunction dst:reg5, shared_function_data_index:0
+ [ c] InitializeVariableBinding `inner`, src:Undefined
+ [ 19] NewFunction dst:reg5, shared_function_data_index:0
[ 23] SetVariableBinding `inner`, src:reg5
[ 30] GetGlobal value_feedback:0, dst:reg6, `Number`
[ 39] CallConstruct value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, arguments:[Int32(42)]
- [ 4a] Return value:reg6
+ [ 44] Return value:reg6
diff --git a/Tests/LibJS/Bytecode/expected/expression-identifier-number-format.txt b/Tests/LibJS/Bytecode/expected/expression-identifier-number-format.txt
index 580d06f1464..35e278ad8d7 100644
--- a/Tests/LibJS/Bytecode/expected/expression-identifier-number-format.txt
+++ b/Tests/LibJS/Bytecode/expected/expression-identifier-number-format.txt
@@ -1,4 +1,4 @@
-$f7a838b4 expression-identifier-number-format.js:1:5
+$ef5c6584 expression-identifier-number-format.js:1:5
Registers: 8
Blocks: 1
Constants:
@@ -9,14 +9,14 @@ $f7a838b4 expression-identifier-number-format.js:1:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] NewObject dst:reg6
- [ b] SetGlobal `x`, src:reg6
- [ 12] GetGlobal value_feedback:0, dst:reg6, `x`
- [ 1b] NewObject dst:reg7
- [ 20] PutByValue keyed_feedback:0, base:reg6, property:Double(1.1e-32), src:reg7, kind:Normal
- [ 31] Mov dst:reg5, src:reg7
- [ 36] GetGlobal value_feedback:1, dst:reg6, `x`
- [ 3f] GetByValue value_feedback:2, keyed_feedback:1, dst:reg6, base:reg6, property:Double(1.1e-32)
- [ 4e] PutById base:reg6, `foo`, src:Int32(42), kind:Normal
- [ 5d] Mov dst:reg5, src:Int32(42)
- [ 62] End value:reg5
+ [ 4] NewObject dst:reg6
+ [ 8] SetGlobal `x`, src:reg6
+ [ f] GetGlobal value_feedback:0, dst:reg6, `x`
+ [ 18] NewObject dst:reg7
+ [ 1c] PutByValue keyed_feedback:0, base:reg6, property:Double(1.1e-32), src:reg7, kind:Normal
+ [ 2a] Mov dst:reg5, src:reg7
+ [ 2d] GetGlobal value_feedback:1, dst:reg6, `x`
+ [ 36] GetByValue value_feedback:2, keyed_feedback:1, dst:reg6, base:reg6, property:Double(1.1e-32)
+ [ 42] PutById base:reg6, `foo`, src:Int32(42), kind:Normal
+ [ 50] Mov dst:reg5, src:Int32(42)
+ [ 53] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/for-in-block-order.txt b/Tests/LibJS/Bytecode/expected/for-in-block-order.txt
index a6094f0a900..718c63d5f91 100644
--- a/Tests/LibJS/Bytecode/expected/for-in-block-order.txt
+++ b/Tests/LibJS/Bytecode/expected/for-in-block-order.txt
@@ -1,4 +1,4 @@
-$4521e9ab for-in-block-order.js:5:1
+$2d5ad3ae for-in-block-order.js:5:1
Registers: 8
Blocks: 1
Constants:
@@ -7,13 +7,13 @@ $4521e9ab for-in-block-order.js:5:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `foo`
- [ f] NewObject dst:reg7
- [ 14] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 27] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `foo`
+ [ d] NewObject dst:reg7
+ [ 11] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 1d] End value:reg5
-foo$8f61d69a for-in-block-order.js:2:14
+foo$6c8afc5d for-in-block-order.js:2:14
Registers: 11
Blocks: 5
Locals: k~0
@@ -24,20 +24,20 @@ foo$8f61d69a for-in-block-order.js:2:14
block0:
[ 0] Enter
[ 1] Mov dst:k~0, src:Undefined
- [ 6] Mov dst:reg5, src:arg0
- [ b] JumpNullish condition:reg5, true_target:block4, false_target:block1
+ [ 4] Mov dst:reg5, src:arg0
+ [ 7] JumpNullish condition:reg5, true_target:block4, false_target:block1
block1:
- [ 16] GetObjectPropertyIterator dst_keys:reg7, dst_receiver:reg6, object:reg5
- [ 21] Mov dst:reg8, src:Int32(0)
+ [ 11] GetObjectPropertyIterator dst_keys:reg7, dst_receiver:reg6, object:reg5
+ [ 19] Mov dst:reg8, src:Int32(0)
block2:
- [ 26] ObjectPropertyIteratorNext dst_value:reg9, dst_done:reg10, receiver:reg6, keys:reg7, cursor:reg8
- [ 31] JumpTrue condition:reg10, target:block4
+ [ 1c] ObjectPropertyIteratorNext dst_value:reg9, dst_done:reg10, receiver:reg6, keys:reg7, cursor:reg8
+ [ 22] JumpTrue condition:reg10, target:block4
block3:
- [ 38] Mov dst:k~0, src:reg9
- [ 3d] JumpLoop target:block2
+ [ 28] Mov dst:k~0, src:reg9
+ [ 2b] JumpLoop target:block2
block4:
- [ 42] End value:Undefined
+ [ 30] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/for-in-lexical-scope.txt b/Tests/LibJS/Bytecode/expected/for-in-lexical-scope.txt
index 12716d62c45..1614b8f52e9 100644
--- a/Tests/LibJS/Bytecode/expected/for-in-lexical-scope.txt
+++ b/Tests/LibJS/Bytecode/expected/for-in-lexical-scope.txt
@@ -1,4 +1,4 @@
-$90d14739 for-in-lexical-scope.js:1:5
+$cbfa615d for-in-lexical-scope.js:1:5
Registers: 13
Blocks: 5
Locals: probeDecl~0
@@ -9,33 +9,33 @@ $90d14739 for-in-lexical-scope.js:1:5
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
- [ 21] NewObject dst:reg8
- [ 26] InitObjectLiteralProperty object:reg8, `i`, src:Int32(0), shape_cache_index:0, property_slot:0
- [ 35] CacheObjectShape object:reg8
- [ 3a] Mov dst:reg6, src:reg8
- [ 3f] SetLexicalEnvironment environment:reg4
- [ 42] Mov dst:reg5, src:Undefined
- [ 47] JumpNullish condition:reg6, true_target:block4, false_target:block1
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
+ [ 1d] NewObject dst:reg8
+ [ 21] InitObjectLiteralProperty object:reg8, `i`, src:Int32(0), shape_cache_index:0, property_slot:0
+ [ 2f] CacheObjectShape object:reg8
+ [ 33] Mov dst:reg6, src:reg8
+ [ 36] SetLexicalEnvironment environment:reg4
+ [ 38] Mov dst:reg5, src:Undefined
+ [ 3b] JumpNullish condition:reg6, true_target:block4, false_target:block1
block1:
- [ 52] GetObjectPropertyIterator dst_keys:reg8, dst_receiver:reg7, object:reg6
- [ 5d] Mov dst:reg9, src:Int32(0)
+ [ 45] GetObjectPropertyIterator dst_keys:reg8, dst_receiver:reg7, object:reg6
+ [ 4d] Mov dst:reg9, src:Int32(0)
block2:
- [ 62] ObjectPropertyIteratorNext dst_value:reg10, dst_done:reg11, receiver:reg7, keys:reg8, cursor:reg9
- [ 6d] JumpTrue condition:reg11, target:block4
+ [ 50] ObjectPropertyIteratorNext dst_value:reg10, dst_done:reg11, receiver:reg7, keys:reg8, cursor:reg9
+ [ 56] JumpTrue condition:reg11, target:block4
block3:
- [ 74] CreateLexicalEnvironment dst:reg12, parent:reg4, capacity:1, is_catch_environment:false
- [ 82] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
- [ 8c] InitializeLexicalBinding `x`, src:reg10
- [ 99] NewFunction dst:probeDecl~0, shared_function_data_index:0
- [ a4] SetVariableBindingOfBlockFunction `probeDecl`, src:probeDecl~0, program_environment_depth:1
- [ ad] SetLexicalEnvironment environment:reg4
- [ b0] JumpLoop target:block2
+ [ 5c] CreateLexicalEnvironment dst:reg12, parent:reg4, capacity:1, is_catch_environment:false
+ [ 68] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
+ [ 73] InitializeLexicalBinding `x`, src:reg10
+ [ 80] NewFunction dst:probeDecl~0, shared_function_data_index:0
+ [ 8a] SetVariableBindingOfBlockFunction `probeDecl`, src:probeDecl~0, program_environment_depth:1
+ [ 93] SetLexicalEnvironment environment:reg4
+ [ 95] JumpLoop target:block2
block4:
- [ b5] End value:reg5
+ [ 9a] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/for-in-nullish-completion.txt b/Tests/LibJS/Bytecode/expected/for-in-nullish-completion.txt
index 410da82cc4c..8a68693db58 100644
--- a/Tests/LibJS/Bytecode/expected/for-in-nullish-completion.txt
+++ b/Tests/LibJS/Bytecode/expected/for-in-nullish-completion.txt
@@ -1,4 +1,4 @@
-$7901cc91 for-in-nullish-completion.js:4:1
+$fb8028ac for-in-nullish-completion.js:4:1
Registers: 12
Blocks: 5
Constants:
@@ -10,22 +10,22 @@ $7901cc91 for-in-nullish-completion.js:4:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg5, src:Int32(1)
- [ b] Mov dst:reg6, src:Null
- [ 10] Mov dst:reg5, src:Undefined
- [ 15] JumpNullish condition:reg6, true_target:block4, false_target:block1
+ [ 4] Mov dst:reg5, src:Int32(1)
+ [ 7] Mov dst:reg6, src:Null
+ [ a] Mov dst:reg5, src:Undefined
+ [ d] JumpNullish condition:reg6, true_target:block4, false_target:block1
block1:
- [ 20] GetObjectPropertyIterator dst_keys:reg8, dst_receiver:reg7, object:reg6
- [ 2b] Mov dst:reg9, src:Int32(0)
+ [ 17] GetObjectPropertyIterator dst_keys:reg8, dst_receiver:reg7, object:reg6
+ [ 1f] Mov dst:reg9, src:Int32(0)
block2:
- [ 30] ObjectPropertyIteratorNext dst_value:reg10, dst_done:reg11, receiver:reg7, keys:reg8, cursor:reg9
- [ 3b] JumpTrue condition:reg11, target:block4
+ [ 22] ObjectPropertyIteratorNext dst_value:reg10, dst_done:reg11, receiver:reg7, keys:reg8, cursor:reg9
+ [ 28] JumpTrue condition:reg11, target:block4
block3:
- [ 42] SetGlobal `a`, src:reg10
- [ 49] JumpLoop target:block2
+ [ 2e] SetGlobal `a`, src:reg10
+ [ 35] JumpLoop target:block2
block4:
- [ 4e] End value:reg5
+ [ 3a] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/for-in-object-property-iterator-next.txt b/Tests/LibJS/Bytecode/expected/for-in-object-property-iterator-next.txt
index fdb5d460805..21feb6fe170 100644
--- a/Tests/LibJS/Bytecode/expected/for-in-object-property-iterator-next.txt
+++ b/Tests/LibJS/Bytecode/expected/for-in-object-property-iterator-next.txt
@@ -1,4 +1,4 @@
-$828d9477 for-in-object-property-iterator-next.js:8:1
+$e4f90765 for-in-object-property-iterator-next.js:8:1
Registers: 8
Blocks: 1
Constants:
@@ -12,16 +12,16 @@ $828d9477 for-in-object-property-iterator-next.js:8:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `collect`
- [ f] NewObject dst:reg7
- [ 14] PutByValue keyed_feedback:0, base:reg7, property:Int32(2), src:String("two"), kind:Own
- [ 25] PutById base:reg7, `foo`, src:String("foo"), kind:Own
- [ 34] PutByValue keyed_feedback:1, base:reg7, property:Int32(7), src:String("seven"), kind:Own
- [ 45] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 58] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `collect`
+ [ d] NewObject dst:reg7
+ [ 11] PutByValue keyed_feedback:0, base:reg7, property:Int32(2), src:String("two"), kind:Own
+ [ 1f] PutById base:reg7, `foo`, src:String("foo"), kind:Own
+ [ 2d] PutByValue keyed_feedback:1, base:reg7, property:Int32(7), src:String("seven"), kind:Own
+ [ 3b] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 47] End value:reg5
-collect$d4a20a2f for-in-object-property-iterator-next.js:2:18
+collect$7eede8fe for-in-object-property-iterator-next.js:2:18
Registers: 12
Blocks: 5
Locals: keys~0, key~1
@@ -32,23 +32,23 @@ collect$d4a20a2f for-in-object-property-iterator-next.js:2:18
block0:
[ 0] Enter
[ 1] NewArray dst:keys~0
- [ 8] Mov dst:key~1, src:<Empty>
- [ d] Mov dst:reg5, src:arg0
- [ 12] JumpNullish condition:reg5, true_target:block4, false_target:block1
+ [ 4] Mov dst:key~1, src:<Empty>
+ [ 7] Mov dst:reg5, src:arg0
+ [ a] JumpNullish condition:reg5, true_target:block4, false_target:block1
block1:
- [ 1d] GetObjectPropertyIterator dst_keys:reg7, dst_receiver:reg6, object:reg5
- [ 28] Mov dst:reg8, src:Int32(0)
+ [ 14] GetObjectPropertyIterator dst_keys:reg7, dst_receiver:reg6, object:reg5
+ [ 1c] Mov dst:reg8, src:Int32(0)
block2:
- [ 2d] ObjectPropertyIteratorNext dst_value:reg9, dst_done:reg10, receiver:reg6, keys:reg7, cursor:reg8
- [ 38] JumpTrue condition:reg10, target:block4
+ [ 1f] ObjectPropertyIteratorNext dst_value:reg9, dst_done:reg10, receiver:reg6, keys:reg7, cursor:reg8
+ [ 25] JumpTrue condition:reg10, target:block4
block3:
- [ 3f] Mov dst:key~1, src:reg9
- [ 44] GetById value_feedback:0, dst:reg11, base:keys~0, `push`
- [ 51] Call value_feedback:1, call_feedback:0, dst:reg11, callee:reg11, this_value:keys~0, arguments:[key~1]
- [ 64] JumpLoop target:block2
+ [ 2b] Mov dst:key~1, src:reg9
+ [ 2e] GetById value_feedback:0, dst:reg11, base:keys~0, `push`
+ [ 3a] Call value_feedback:1, call_feedback:0, dst:reg11, callee:reg11, this_value:keys~0, arguments:[key~1]
+ [ 46] JumpLoop target:block2
block4:
- [ 69] Return value:keys~0
+ [ 4b] Return value:keys~0
diff --git a/Tests/LibJS/Bytecode/expected/for-in-of-lhs-patterns.txt b/Tests/LibJS/Bytecode/expected/for-in-of-lhs-patterns.txt
index e30272ab3b2..62f52ca753b 100644
--- a/Tests/LibJS/Bytecode/expected/for-in-of-lhs-patterns.txt
+++ b/Tests/LibJS/Bytecode/expected/for-in-of-lhs-patterns.txt
@@ -1,4 +1,4 @@
-$7ccbae8c
+$ab3d76f3
Registers: 6
Blocks: 1
Constants:
@@ -7,4 +7,4 @@ $7ccbae8c
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] End value:reg5
+ [ 4] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/for-in-register-lifetime.txt b/Tests/LibJS/Bytecode/expected/for-in-register-lifetime.txt
index bcb4cad6f5e..5eb1eac1d72 100644
--- a/Tests/LibJS/Bytecode/expected/for-in-register-lifetime.txt
+++ b/Tests/LibJS/Bytecode/expected/for-in-register-lifetime.txt
@@ -1,4 +1,4 @@
-$fe4c7e67 for-in-register-lifetime.js:1:5
+$083fdf14 for-in-register-lifetime.js:1:5
Registers: 16
Blocks: 5
Constants:
@@ -12,37 +12,37 @@ $fe4c7e67 for-in-register-lifetime.js:1:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] SetGlobal `result`, src:String("")
- [ d] NewObject dst:reg6
- [ 12] InitObjectLiteralProperty object:reg6, `a`, src:Int32(1), shape_cache_index:0, property_slot:0
- [ 21] InitObjectLiteralProperty object:reg6, `b`, src:Int32(2), shape_cache_index:0, property_slot:1
- [ 30] InitObjectLiteralProperty object:reg6, `c`, src:Int32(3), shape_cache_index:0, property_slot:2
- [ 3f] CacheObjectShape object:reg6
- [ 44] SetGlobal `obj`, src:reg6
- [ 4b] GetGlobal value_feedback:0, dst:reg6, `obj`
- [ 54] Mov dst:reg5, src:Undefined
- [ 59] JumpNullish condition:reg6, true_target:block4, false_target:block1
+ [ 4] SetGlobal `result`, src:String("")
+ [ b] NewObject dst:reg6
+ [ f] InitObjectLiteralProperty object:reg6, `a`, src:Int32(1), shape_cache_index:0, property_slot:0
+ [ 1d] InitObjectLiteralProperty object:reg6, `b`, src:Int32(2), shape_cache_index:0, property_slot:1
+ [ 2b] InitObjectLiteralProperty object:reg6, `c`, src:Int32(3), shape_cache_index:0, property_slot:2
+ [ 39] CacheObjectShape object:reg6
+ [ 3d] SetGlobal `obj`, src:reg6
+ [ 44] GetGlobal value_feedback:0, dst:reg6, `obj`
+ [ 4d] Mov dst:reg5, src:Undefined
+ [ 50] JumpNullish condition:reg6, true_target:block4, false_target:block1
block1:
- [ 64] GetObjectPropertyIterator dst_keys:reg8, dst_receiver:reg7, object:reg6
- [ 6f] Mov dst:reg9, src:Int32(0)
+ [ 5a] GetObjectPropertyIterator dst_keys:reg8, dst_receiver:reg7, object:reg6
+ [ 62] Mov dst:reg9, src:Int32(0)
block2:
- [ 74] ObjectPropertyIteratorNext dst_value:reg10, dst_done:reg11, receiver:reg7, keys:reg8, cursor:reg9
- [ 7f] JumpTrue condition:reg11, target:block4
+ [ 65] ObjectPropertyIteratorNext dst_value:reg10, dst_done:reg11, receiver:reg7, keys:reg8, cursor:reg9
+ [ 6b] JumpTrue condition:reg11, target:block4
block3:
- [ 86] SetGlobal `k`, src:reg10
- [ 8d] GetGlobal value_feedback:1, dst:reg12, `result`
- [ 96] GetGlobal value_feedback:2, dst:reg13, `k`
- [ 9f] GetGlobal value_feedback:3, dst:reg14, `obj`
- [ a8] GetGlobal value_feedback:4, dst:reg15, `k`
- [ b1] GetByValue value_feedback:5, keyed_feedback:0, dst:reg14, base:reg14, property:reg15
- [ c0] Add arith_feedback:0, dst:reg13, lhs:reg13, rhs:reg14
- [ c9] Add arith_feedback:1, dst:reg14, lhs:reg12, rhs:reg13
- [ d2] SetGlobal `result`, src:reg14
- [ d9] Mov dst:reg5, src:reg14
- [ de] JumpLoop target:block2
+ [ 71] SetGlobal `k`, src:reg10
+ [ 78] GetGlobal value_feedback:1, dst:reg12, `result`
+ [ 81] GetGlobal value_feedback:2, dst:reg13, `k`
+ [ 8a] GetGlobal value_feedback:3, dst:reg14, `obj`
+ [ 93] GetGlobal value_feedback:4, dst:reg15, `k`
+ [ 9c] GetByValue value_feedback:5, keyed_feedback:0, dst:reg14, base:reg14, property:reg15
+ [ a8] Add arith_feedback:0, dst:reg13, lhs:reg13, rhs:reg14
+ [ ae] Add arith_feedback:1, dst:reg14, lhs:reg12, rhs:reg13
+ [ b4] SetGlobal `result`, src:reg14
+ [ bb] Mov dst:reg5, src:reg14
+ [ be] JumpLoop target:block2
block4:
- [ e3] End value:reg5
+ [ c3] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/for-in-var-function-lhs-name.txt b/Tests/LibJS/Bytecode/expected/for-in-var-function-lhs-name.txt
index 6089a8ffc43..520effff214 100644
--- a/Tests/LibJS/Bytecode/expected/for-in-var-function-lhs-name.txt
+++ b/Tests/LibJS/Bytecode/expected/for-in-var-function-lhs-name.txt
@@ -1,4 +1,4 @@
-$d9fb9630 for-in-var-function-lhs-name.js:7:1
+$a33dfa99 for-in-var-function-lhs-name.js:7:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $d9fb9630 for-in-var-function-lhs-name.js:7:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `fn`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `fn`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-fn$c29bed82 for-in-var-function-lhs-name.js:4:14
+fn$563d19e7 for-in-var-function-lhs-name.js:4:14
Registers: 11
Blocks: 5
Locals: f~0
@@ -23,22 +23,22 @@ fn$c29bed82 for-in-var-function-lhs-name.js:4:14
block0:
[ 0] Enter
[ 1] Mov dst:f~0, src:Undefined
- [ 6] NewFunction dst:f~0, shared_function_data_index:0 (f)
- [ 11] NewObject dst:reg6
- [ 16] Mov dst:reg5, src:reg6
- [ 1b] JumpNullish condition:reg5, true_target:block4, false_target:block1
+ [ 4] NewFunction dst:f~0, shared_function_data_index:0 (f)
+ [ e] NewObject dst:reg6
+ [ 12] Mov dst:reg5, src:reg6
+ [ 15] JumpNullish condition:reg5, true_target:block4, false_target:block1
block1:
- [ 26] GetObjectPropertyIterator dst_keys:reg7, dst_receiver:reg6, object:reg5
- [ 31] Mov dst:reg8, src:Int32(0)
+ [ 1f] GetObjectPropertyIterator dst_keys:reg7, dst_receiver:reg6, object:reg5
+ [ 27] Mov dst:reg8, src:Int32(0)
block2:
- [ 36] ObjectPropertyIteratorNext dst_value:reg9, dst_done:reg10, receiver:reg6, keys:reg7, cursor:reg8
- [ 41] JumpTrue condition:reg10, target:block4
+ [ 2a] ObjectPropertyIteratorNext dst_value:reg9, dst_done:reg10, receiver:reg6, keys:reg7, cursor:reg8
+ [ 30] JumpTrue condition:reg10, target:block4
block3:
- [ 48] Mov dst:f~0, src:reg9
- [ 4d] JumpLoop target:block2
+ [ 36] Mov dst:f~0, src:reg9
+ [ 39] JumpLoop target:block2
block4:
- [ 52] End value:Undefined
+ [ 3e] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/for-loop-break-after-if-continue.txt b/Tests/LibJS/Bytecode/expected/for-loop-break-after-if-continue.txt
index 7f3db9eaf13..02621077dd7 100644
--- a/Tests/LibJS/Bytecode/expected/for-loop-break-after-if-continue.txt
+++ b/Tests/LibJS/Bytecode/expected/for-loop-break-after-if-continue.txt
@@ -1,4 +1,4 @@
-$24385a5a for-loop-break-after-if-continue.js:11:1
+$3ae30cc4 for-loop-break-after-if-continue.js:11:1
Registers: 7
Blocks: 1
Constants:
@@ -8,12 +8,12 @@ $24385a5a for-loop-break-after-if-continue.js:11:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `bok`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Bool(false)]
- [ 22] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `bok`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Bool(false)]
+ [ 19] End value:reg5
-bok$d4c51ae2 for-loop-break-after-if-continue.js:5:14
+bok$346c9cc0 for-loop-break-after-if-continue.js:5:14
Registers: 5
Blocks: 6
Constants:
@@ -26,13 +26,13 @@ block1:
[ 1] JumpFalse condition:arg0, target:block3
block2:
- [ 8] Jump target:block4
+ [ 7] Jump target:block4
block3:
- [ d] Jump target:block5
+ [ c] Jump target:block5
block4:
- [ 12] JumpLoop target:block1
+ [ 11] JumpLoop target:block1
block5:
- [ 17] End value:Undefined
+ [ 16] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/for-loop-scoping.txt b/Tests/LibJS/Bytecode/expected/for-loop-scoping.txt
index 3ca99a79a1a..2f71b4969b8 100644
--- a/Tests/LibJS/Bytecode/expected/for-loop-scoping.txt
+++ b/Tests/LibJS/Bytecode/expected/for-loop-scoping.txt
@@ -1,4 +1,4 @@
-$541bcc10 for-loop-scoping.js:8:1
+$93253ad7 for-loop-scoping.js:8:1
Registers: 9
Blocks: 1
Constants:
@@ -7,15 +7,15 @@ $541bcc10 for-loop-scoping.js:8:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `console`
- [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1c] GetGlobal value_feedback:2, dst:reg8, `forLetClosure`
- [ 25] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
- [ 36] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 49] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ d] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 19] GetGlobal value_feedback:2, dst:reg8, `forLetClosure`
+ [ 22] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
+ [ 2d] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 39] End value:reg5
-forLetClosure$bbfba3e2 for-loop-scoping.js:2:15
+forLetClosure$846d6769 for-loop-scoping.js:2:15
Registers: 8
Blocks: 4
Locals: fns~0
@@ -25,43 +25,43 @@ forLetClosure$bbfba3e2 for-loop-scoping.js:2:15
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] NewArray dst:fns~0
- [ b] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
- [ 19] CreateVariable `i`, is_immutable:false, is_global:false, is_strict:false
- [ 23] InitializeLexicalBinding `i`, src:Int32(0)
- [ 30] GetBinding value_feedback:0, dst:reg6, `i`
- [ 3f] SetLexicalEnvironment environment:reg4
- [ 42] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
- [ 50] CreateVariable `i`, is_immutable:false, is_global:false, is_strict:false
- [ 5a] InitializeLexicalBinding `i`, src:reg6
- [ 67] Jump target:block2
+ [ 3] NewArray dst:fns~0
+ [ 6] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `i`, is_immutable:false, is_global:false, is_strict:false
+ [ 1d] InitializeLexicalBinding `i`, src:Int32(0)
+ [ 2a] GetBinding value_feedback:0, dst:reg6, `i`
+ [ 39] SetLexicalEnvironment environment:reg4
+ [ 3b] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
+ [ 47] CreateVariable `i`, is_immutable:false, is_global:false, is_strict:false
+ [ 52] InitializeLexicalBinding `i`, src:reg6
+ [ 5f] Jump target:block2
block1:
- [ 6c] GetById value_feedback:1, dst:reg6, base:fns~0, `push`
- [ 79] NewFunction dst:reg7, shared_function_data_index:0
- [ 84] Call value_feedback:2, call_feedback:0, dst:reg6, callee:reg6, this_value:fns~0, arguments:[reg7]
- [ 97] GetBinding value_feedback:3, dst:reg6, `i`
- [ a6] SetLexicalEnvironment environment:reg4
- [ a9] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
- [ b7] CreateVariable `i`, is_immutable:false, is_global:false, is_strict:false
- [ c1] InitializeLexicalBinding `i`, src:reg6
- [ ce] GetBinding value_feedback:4, dst:reg6, `i`
- [ dd] PostfixIncrement arith_feedback:0, dst:reg7, src:reg6
- [ e4] SetLexicalBinding `i`, src:reg6
+ [ 64] GetById value_feedback:1, dst:reg6, base:fns~0, `push`
+ [ 70] NewFunction dst:reg7, shared_function_data_index:0
+ [ 7a] Call value_feedback:2, call_feedback:0, dst:reg6, callee:reg6, this_value:fns~0, arguments:[reg7]
+ [ 86] GetBinding value_feedback:3, dst:reg6, `i`
+ [ 95] SetLexicalEnvironment environment:reg4
+ [ 97] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
+ [ a3] CreateVariable `i`, is_immutable:false, is_global:false, is_strict:false
+ [ ae] InitializeLexicalBinding `i`, src:reg6
+ [ bb] GetBinding value_feedback:4, dst:reg6, `i`
+ [ ca] PostfixIncrement arith_feedback:0, dst:reg7, src:reg6
+ [ cf] SetLexicalBinding `i`, src:reg6
block2:
- [ f1] GetBinding value_feedback:5, dst:reg6, `i`
- [ 100] JumpLessThanLoopRhsInt32 arith_feedback:1, lhs:reg6, rhs:3, true_target:block1, false_target:block3
+ [ dc] GetBinding value_feedback:5, dst:reg6, `i`
+ [ eb] JumpLessThanLoopRhsInt32 arith_feedback:1, lhs:reg6, rhs:3, true_target:block1, false_target:block3
block3:
- [ 111] SetLexicalEnvironment environment:reg4
- [ 114] GetById value_feedback:6, dst:reg5, base:fns~0, `map`
- [ 121] NewFunction dst:reg6, shared_function_data_index:1
- [ 12c] Call value_feedback:7, call_feedback:1, dst:reg5, callee:reg5, this_value:fns~0, arguments:[reg6]
- [ 13f] Return value:reg5
+ [ fb] SetLexicalEnvironment environment:reg4
+ [ fd] GetById value_feedback:6, dst:reg5, base:fns~0, `map`
+ [ 109] NewFunction dst:reg6, shared_function_data_index:1
+ [ 113] Call value_feedback:7, call_feedback:1, dst:reg5, callee:reg5, this_value:fns~0, arguments:[reg6]
+ [ 11f] Return value:reg5
-map$e4911cb8 BuiltinFile:275:11
+map$d48ab001 BuiltinFile:275:11
Registers: 6
Blocks: 8
Locals: object~0, length~1, array~2, k~3, kValue~4, mappedValue~5
@@ -73,45 +73,45 @@ map$e4911cb8 BuiltinFile:275:11
block0:
[ 0] Enter
[ 1] ToObject dst:reg5, value:this
- [ 6] Mov dst:object~0, src:reg5
- [ b] GetLength value_feedback:0, keyed_feedback:0, dst:reg5, base:object~0
- [ 18] ToLength dst:reg5, value:reg5
- [ 1d] Mov dst:length~1, src:reg5
- [ 22] IsCallable dst:reg5, value:arg0
- [ 27] Not dst:reg5, src:reg5
- [ 2c] JumpFalse condition:reg5, target:block2
+ [ 4] Mov dst:object~0, src:reg5
+ [ 7] GetLength value_feedback:0, keyed_feedback:0, dst:reg5, base:object~0
+ [ 12] ToLength dst:reg5, value:reg5
+ [ 15] Mov dst:length~1, src:reg5
+ [ 18] IsCallable dst:reg5, value:arg0
+ [ 1b] Not dst:reg5, src:reg5
+ [ 1e] JumpFalse condition:reg5, target:block2
block1:
- [ 33] ThrowNotAFunction src:arg0
+ [ 24] ThrowNotAFunction src:arg0
block2:
- [ 36] Call value_feedback:1, call_feedback:0, dst:reg5, callee:Value([object RawNativeFunction]), this_value:Undefined, arguments:[object~0, length~1]
- [ 4b] Mov dst:array~2, src:reg5
- [ 50] Mov dst:k~3, src:Int32(0)
- [ 55] Jump target:block6
+ [ 26] Call value_feedback:1, call_feedback:0, dst:reg5, callee:Value([object RawNativeFunction]), this_value:Undefined, arguments:[object~0, length~1]
+ [ 33] Mov dst:array~2, src:reg5
+ [ 36] Mov dst:k~3, src:Int32(0)
+ [ 39] Jump target:block6
block3:
- [ 5a] In dst:reg5, lhs:k~3, rhs:object~0
- [ 61] JumpFalse condition:reg5, target:block5
+ [ 3e] In dst:reg5, lhs:k~3, rhs:object~0
+ [ 42] JumpFalse condition:reg5, target:block5
block4:
- [ 68] GetByValue value_feedback:2, keyed_feedback:1, dst:reg5, base:object~0, property:k~3
- [ 77] Mov dst:kValue~4, src:reg5
- [ 7c] Call value_feedback:3, call_feedback:1, dst:reg5, callee:arg0, this_value:arg1, arguments:[kValue~4, k~3, object~0]
- [ 93] Mov dst:mappedValue~5, src:reg5
- [ 98] CreateDataPropertyOrThrow object:array~2, property:k~3, value:mappedValue~5
+ [ 48] GetByValue value_feedback:2, keyed_feedback:1, dst:reg5, base:object~0, property:k~3
+ [ 54] Mov dst:kValue~4, src:reg5
+ [ 57] Call value_feedback:3, call_feedback:1, dst:reg5, callee:arg0, this_value:arg1, arguments:[kValue~4, k~3, object~0]
+ [ 65] Mov dst:mappedValue~5, src:reg5
+ [ 68] CreateDataPropertyOrThrow object:array~2, property:k~3, value:mappedValue~5
block5:
- [ 9f] Increment arith_feedback:0, dst:k~3
+ [ 6c] Increment arith_feedback:0, dst:k~3
block6:
- [ a4] JumpLessThanLoop arith_feedback:1, lhs:k~3, rhs:length~1, true_target:block3, false_target:block7
+ [ 70] JumpLessThanLoop arith_feedback:1, lhs:k~3, rhs:length~1, true_target:block3, false_target:block7
block7:
- [ b3] Return value:array~2
+ [ 7d] Return value:array~2
-$46f1e062 for-loop-scoping.js:6:20
+$7aeb8ae9 for-loop-scoping.js:6:20
Registers: 6
Blocks: 1
Constants:
@@ -120,10 +120,10 @@ $46f1e062 for-loop-scoping.js:6:20
block0:
[ 0] Enter
[ 1] Call value_feedback:0, call_feedback:0, dst:reg5, callee:arg0, this_value:Undefined
- [ 12] Return value:reg5
+ [ c] Return value:reg5
-$856ebfe0 for-loop-scoping.js:4:18
+$d59afef1 for-loop-scoping.js:4:18
Registers: 6
Blocks: 1
diff --git a/Tests/LibJS/Bytecode/expected/for-of-cond-rhs-block-order.txt b/Tests/LibJS/Bytecode/expected/for-of-cond-rhs-block-order.txt
index 45b1c4d3475..095581e7aa0 100644
--- a/Tests/LibJS/Bytecode/expected/for-of-cond-rhs-block-order.txt
+++ b/Tests/LibJS/Bytecode/expected/for-of-cond-rhs-block-order.txt
@@ -1,4 +1,4 @@
-$d3cec285 for-of-cond-rhs-block-order.js:6:1
+$9d1126ee for-of-cond-rhs-block-order.js:6:1
Registers: 7
Blocks: 1
Constants:
@@ -8,12 +8,12 @@ $d3cec285 for-of-cond-rhs-block-order.js:6:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null, Null]
- [ 24] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null, Null]
+ [ 1a] End value:reg5
-f$8cc5b2c8 for-of-cond-rhs-block-order.js:2:15
+f$d8eee1ba for-of-cond-rhs-block-order.js:2:15
Registers: 16
Blocks: 22
Locals: r~0, n~1
@@ -25,88 +25,88 @@ f$8cc5b2c8 for-of-cond-rhs-block-order.js:2:15
block0:
[ 0] Enter
[ 1] Mov dst:r~0, src:<Empty>
- [ 6] Mov dst:n~1, src:<Empty>
- [ b] JumpFalse condition:arg0, target:block2
+ [ 4] Mov dst:n~1, src:<Empty>
+ [ 7] JumpFalse condition:arg0, target:block2
block1:
- [ 12] GetById value_feedback:0, dst:reg6, base:arg0, `x`
- [ 1f] Jump target:block3
+ [ d] GetById value_feedback:0, dst:reg6, base:arg0, `x`
+ [ 19] Jump target:block3
block2:
- [ 24] Mov dst:reg6, src:arg1
+ [ 1e] Mov dst:reg6, src:arg1
block3:
- [ 29] GetGlobal value_feedback:1, dst:reg7, `Object`
- [ 32] GetById value_feedback:2, dst:reg8, base:reg7, `entries`
- [ 3f] NewObject dst:reg9
- [ 44] Call value_feedback:3, call_feedback:0, dst:reg5, callee:reg8, this_value:reg7, arguments:[reg9]
- [ 57] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:true
+ [ 21] GetGlobal value_feedback:1, dst:reg7, `Object`
+ [ 2a] GetById value_feedback:2, dst:reg8, base:reg7, `entries`
+ [ 36] NewObject dst:reg9
+ [ 3a] Call value_feedback:3, call_feedback:0, dst:reg5, callee:reg8, this_value:reg7, arguments:[reg9]
+ [ 46] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:true
block4:
- [ 67] IteratorNextUnpack dst_value:reg9, dst_done:reg10, iterator_object:reg6, iterator_next:reg7, iterator_done:reg8
- [ 72] JumpTrue condition:reg10, target:block21
+ [ 52] IteratorNextUnpack dst_value:reg9, dst_done:reg10, iterator_object:reg6, iterator_next:reg7, iterator_done:reg8
+ [ 58] JumpTrue condition:reg10, target:block21
block5:
- [ 79] Mov dst:reg11, src:Bool(false)
- [ 7e] GetIterator dst_iterator_object:reg12, dst_iterator_next:reg13, dst_iterator_done:reg14, iterable:reg9, fast_array_mode_allowed:true
+ [ 5e] Mov dst:reg11, src:Bool(false)
+ [ 61] GetIterator dst_iterator_object:reg12, dst_iterator_next:reg13, dst_iterator_done:reg14, iterable:reg9, fast_array_mode_allowed:true
block6:
- [ 8e] IteratorNextUnpack dst_value:reg15, dst_done:reg11, iterator_object:reg12, iterator_next:reg13, iterator_done:reg14
+ [ 6d] IteratorNextUnpack dst_value:reg15, dst_done:reg11, iterator_object:reg12, iterator_next:reg13, iterator_done:reg14
block7:
- [ 99] JumpFalse condition:reg11, target:block9
+ [ 73] JumpFalse condition:reg11, target:block9
block8:
- [ a0] Mov dst:reg15, src:Undefined
+ [ 79] Mov dst:reg15, src:Undefined
block9:
- [ a5] Mov dst:r~0, src:reg15
- [ aa] JumpTrue condition:reg11, target:block12
+ [ 7c] Mov dst:r~0, src:reg15
+ [ 7f] JumpTrue condition:reg11, target:block12
block10:
- [ b1] IteratorNextUnpack dst_value:reg15, dst_done:reg11, iterator_object:reg12, iterator_next:reg13, iterator_done:reg14
+ [ 85] IteratorNextUnpack dst_value:reg15, dst_done:reg11, iterator_object:reg12, iterator_next:reg13, iterator_done:reg14
block11:
- [ bc] JumpFalse condition:reg11, target:block13
+ [ 8b] JumpFalse condition:reg11, target:block13
block12:
- [ c3] Mov dst:reg15, src:Undefined
+ [ 91] Mov dst:reg15, src:Undefined
block13:
- [ c8] Mov dst:n~1, src:reg15
+ [ 94] Mov dst:n~1, src:reg15
block14:
- [ cd] JumpTrue condition:reg14, target:block19
+ [ 97] JumpTrue condition:reg14, target:block19
block15:
- [ d4] IteratorClose iterator_object:reg12, iterator_next:reg13, iterator_done:reg14, completion_value:Undefined
- [ e3] Jump target:block19
+ [ 9d] IteratorClose iterator_object:reg12, iterator_next:reg13, iterator_done:reg14, completion_value:Undefined
+ [ a8] Jump target:block19
block16:
- [ e8] Catch value_feedback:4, dst:reg15
- [ ed] JumpTrue condition:reg14, target:block18
+ [ ad] Catch value_feedback:4, dst:reg15
+ [ b1] JumpTrue condition:reg14, target:block18
block17:
- [ f4] IteratorClose iterator_object:reg12, iterator_next:reg13, iterator_done:reg14, completion_value:reg15
+ [ b7] IteratorClose iterator_object:reg12, iterator_next:reg13, iterator_done:reg14, completion_value:reg15
block18:
- [ 103] Throw src:reg15
+ [ c2] Throw src:reg15
block19:
- [ 106] JumpLoop target:block4
+ [ c4] JumpLoop target:block4
block20:
- [ 10b] Catch value_feedback:5, dst:reg11
- [ 110] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:reg11
- [ 11f] Throw src:reg11
+ [ c9] Catch value_feedback:5, dst:reg11
+ [ cd] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:reg11
+ [ d8] Throw src:reg11
block21:
- [ 122] End value:Undefined
+ [ da] End value:Undefined
Exception handlers:
- [ 79 .. 8e] => handler block20
- [ 8e .. 99] => handler block20
- [ 99 .. b1] => handler block16
- [ b1 .. bc] => handler block20
- [ bc .. cd] => handler block16
- [ cd .. 10b] => handler block20
+ [ 5e .. 6d] => handler block20
+ [ 6d .. 73] => handler block20
+ [ 73 .. 85] => handler block16
+ [ 85 .. 8b] => handler block20
+ [ 8b .. 97] => handler block16
+ [ 97 .. c9] => handler block20
diff --git a/Tests/LibJS/Bytecode/expected/for-of-continue-with-block-scope.txt b/Tests/LibJS/Bytecode/expected/for-of-continue-with-block-scope.txt
index 756f8ef17aa..3de112ddb0d 100644
--- a/Tests/LibJS/Bytecode/expected/for-of-continue-with-block-scope.txt
+++ b/Tests/LibJS/Bytecode/expected/for-of-continue-with-block-scope.txt
@@ -1,4 +1,4 @@
-$7f19f845 for-of-continue-with-block-scope.js:13:1
+$1726a337 for-of-continue-with-block-scope.js:13:1
Registers: 8
Blocks: 1
Constants:
@@ -7,13 +7,13 @@ $7f19f845 for-of-continue-with-block-scope.js:13:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] NewArray dst:reg7
- [ 16] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 29] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] NewArray dst:reg7
+ [ 10] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 1c] End value:reg5
-f$4c14b684 for-of-continue-with-block-scope.js:2:15
+f$aa7d1953 for-of-continue-with-block-scope.js:2:15
Registers: 14
Blocks: 7
Locals: t~0, o~1
@@ -21,48 +21,48 @@ f$4c14b684 for-of-continue-with-block-scope.js:2:15
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] NewArray dst:t~0
- [ b] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:1, is_catch_environment:false
- [ 19] CreateVariable `r`, is_immutable:true, is_global:false, is_strict:true
- [ 23] Mov dst:reg5, src:arg0
- [ 28] SetLexicalEnvironment environment:reg4
- [ 2b] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:true
+ [ 3] NewArray dst:t~0
+ [ 6] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `r`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] Mov dst:reg5, src:arg0
+ [ 20] SetLexicalEnvironment environment:reg4
+ [ 22] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:true
block1:
- [ 3b] IteratorNextUnpack dst_value:reg9, dst_done:reg10, iterator_object:reg6, iterator_next:reg7, iterator_done:reg8
- [ 46] JumpTrue condition:reg10, target:block6
+ [ 2e] IteratorNextUnpack dst_value:reg9, dst_done:reg10, iterator_object:reg6, iterator_next:reg7, iterator_done:reg8
+ [ 34] JumpTrue condition:reg10, target:block6
block2:
- [ 4d] CreateLexicalEnvironment dst:reg11, parent:reg4, capacity:1, is_catch_environment:false
- [ 5b] CreateVariable `r`, is_immutable:true, is_global:false, is_strict:true
- [ 65] InitializeLexicalBinding `r`, src:reg9
- [ 72] GetBinding value_feedback:0, dst:reg12, `r`
- [ 81] Not dst:reg12, src:reg12
- [ 86] JumpFalse condition:reg12, target:block4
+ [ 3a] CreateLexicalEnvironment dst:reg11, parent:reg4, capacity:1, is_catch_environment:false
+ [ 46] CreateVariable `r`, is_immutable:true, is_global:false, is_strict:true
+ [ 51] InitializeLexicalBinding `r`, src:reg9
+ [ 5e] GetBinding value_feedback:0, dst:reg12, `r`
+ [ 6d] Not dst:reg12, src:reg12
+ [ 70] JumpFalse condition:reg12, target:block4
block3:
- [ 8d] GetById value_feedback:1, dst:reg12, base:t~0, `push`
- [ 9a] GetBinding value_feedback:2, dst:reg13, `r`
- [ a9] Call value_feedback:3, call_feedback:0, dst:reg12, callee:reg12, this_value:t~0, arguments:[reg13]
- [ bc] SetLexicalEnvironment environment:reg4
- [ bf] Jump target:block1
+ [ 76] GetById value_feedback:1, dst:reg12, base:t~0, `push`
+ [ 82] GetBinding value_feedback:2, dst:reg13, `r`
+ [ 91] Call value_feedback:3, call_feedback:0, dst:reg12, callee:reg12, this_value:t~0, arguments:[reg13]
+ [ 9d] SetLexicalEnvironment environment:reg4
+ [ 9f] Jump target:block1
block4:
- [ c4] GetById value_feedback:4, dst:reg12, base:t~0, `find`
- [ d1] NewFunction dst:reg13, shared_function_data_index:0
- [ dc] Call value_feedback:5, call_feedback:1, dst:reg12, callee:reg12, this_value:t~0, arguments:[reg13]
- [ ef] Mov dst:o~1, src:reg12
- [ f4] SetLexicalEnvironment environment:reg4
- [ f7] JumpLoop target:block1
+ [ a4] GetById value_feedback:4, dst:reg12, base:t~0, `find`
+ [ b0] NewFunction dst:reg13, shared_function_data_index:0
+ [ ba] Call value_feedback:5, call_feedback:1, dst:reg12, callee:reg12, this_value:t~0, arguments:[reg13]
+ [ c6] Mov dst:o~1, src:reg12
+ [ c9] SetLexicalEnvironment environment:reg4
+ [ cb] JumpLoop target:block1
block5:
- [ fc] Catch value_feedback:6, dst:reg11
- [ 101] SetLexicalEnvironment environment:reg4
- [ 104] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:reg11
- [ 113] Throw src:reg11
+ [ d0] Catch value_feedback:6, dst:reg11
+ [ d4] SetLexicalEnvironment environment:reg4
+ [ d6] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:reg11
+ [ e1] Throw src:reg11
block6:
- [ 116] Return value:t~0
+ [ e3] Return value:t~0
Exception handlers:
- [ 4d .. fc] => handler block5
+ [ 3a .. d0] => handler block5
diff --git a/Tests/LibJS/Bytecode/expected/for-of-iteration-env-capacity.txt b/Tests/LibJS/Bytecode/expected/for-of-iteration-env-capacity.txt
index 5f2c599e290..66ae5ec9774 100644
--- a/Tests/LibJS/Bytecode/expected/for-of-iteration-env-capacity.txt
+++ b/Tests/LibJS/Bytecode/expected/for-of-iteration-env-capacity.txt
@@ -1,4 +1,4 @@
-$b6878c12 for-of-iteration-env-capacity.js:1:12
+$f1b0a636 for-of-iteration-env-capacity.js:1:12
Registers: 13
Blocks: 5
Locals: x~0
@@ -9,27 +9,27 @@ $b6878c12 for-of-iteration-env-capacity.js:1:12
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:x~0, src:<Empty>
- [ b] NewPrimitiveArray dst:reg6, elements:[1, 2, 3]
- [ 2a] Mov dst:reg5, src:Undefined
- [ 2f] GetIterator dst_iterator_object:reg7, dst_iterator_next:reg8, dst_iterator_done:reg9, iterable:reg6, fast_array_mode_allowed:true
+ [ 4] Mov dst:x~0, src:<Empty>
+ [ 7] NewPrimitiveArray dst:reg6, elements:[1, 2, 3]
+ [ 25] Mov dst:reg5, src:Undefined
+ [ 28] GetIterator dst_iterator_object:reg7, dst_iterator_next:reg8, dst_iterator_done:reg9, iterable:reg6, fast_array_mode_allowed:true
block1:
- [ 3f] IteratorNextUnpack dst_value:reg10, dst_done:reg11, iterator_object:reg7, iterator_next:reg8, iterator_done:reg9
- [ 4a] JumpTrue condition:reg11, target:block4
+ [ 34] IteratorNextUnpack dst_value:reg10, dst_done:reg11, iterator_object:reg7, iterator_next:reg8, iterator_done:reg9
+ [ 3a] JumpTrue condition:reg11, target:block4
block2:
- [ 51] Mov dst:x~0, src:reg10
- [ 56] Mov dst:reg5, src:x~0
- [ 5b] JumpLoop target:block1
+ [ 40] Mov dst:x~0, src:reg10
+ [ 43] Mov dst:reg5, src:x~0
+ [ 46] JumpLoop target:block1
block3:
- [ 60] Catch value_feedback:0, dst:reg12
- [ 65] IteratorClose iterator_object:reg7, iterator_next:reg8, iterator_done:reg9, completion_value:reg12
- [ 74] Throw src:reg12
+ [ 4b] Catch value_feedback:0, dst:reg12
+ [ 4f] IteratorClose iterator_object:reg7, iterator_next:reg8, iterator_done:reg9, completion_value:reg12
+ [ 5a] Throw src:reg12
block4:
- [ 77] End value:reg5
+ [ 5c] End value:reg5
Exception handlers:
- [ 51 .. 60] => handler block3
+ [ 40 .. 4b] => handler block3
diff --git a/Tests/LibJS/Bytecode/expected/for-of-iterator-close.txt b/Tests/LibJS/Bytecode/expected/for-of-iterator-close.txt
index c03242c0679..c83b31869e7 100644
--- a/Tests/LibJS/Bytecode/expected/for-of-iterator-close.txt
+++ b/Tests/LibJS/Bytecode/expected/for-of-iterator-close.txt
@@ -1,4 +1,4 @@
-$6cf7d10a for-of-iterator-close.js:6:1
+$3e8608a3 for-of-iterator-close.js:6:1
Registers: 8
Blocks: 1
Constants:
@@ -7,17 +7,17 @@ $6cf7d10a for-of-iterator-close.js:6:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `forOfBreak`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] GetGlobal value_feedback:2, dst:reg6, `forOfReturn`
- [ 29] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
- [ 3a] GetGlobal value_feedback:4, dst:reg6, `forAwaitOfBreak`
- [ 43] NewPrimitiveArray dst:reg7, elements:[1, 2, 3]
- [ 62] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 75] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `forOfBreak`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] GetGlobal value_feedback:2, dst:reg6, `forOfReturn`
+ [ 21] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
+ [ 2c] GetGlobal value_feedback:4, dst:reg6, `forAwaitOfBreak`
+ [ 35] NewPrimitiveArray dst:reg7, elements:[1, 2, 3]
+ [ 53] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 5f] End value:reg5
-forOfBreak$8c4cb59a for-of-iterator-close.js:2:16
+forOfBreak$f672c20f for-of-iterator-close.js:2:16
Registers: 12
Blocks: 7
Locals: x~0
@@ -28,38 +28,38 @@ forOfBreak$8c4cb59a for-of-iterator-close.js:2:16
block0:
[ 0] Enter
[ 1] Mov dst:x~0, src:<Empty>
- [ 6] NewPrimitiveArray dst:reg5, elements:[1, 2, 3]
- [ 25] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:true
+ [ 4] NewPrimitiveArray dst:reg5, elements:[1, 2, 3]
+ [ 22] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:true
block1:
- [ 35] IteratorNextUnpack dst_value:reg9, dst_done:reg10, iterator_object:reg6, iterator_next:reg7, iterator_done:reg8
- [ 40] JumpTrue condition:reg10, target:block6
+ [ 2e] IteratorNextUnpack dst_value:reg9, dst_done:reg10, iterator_object:reg6, iterator_next:reg7, iterator_done:reg8
+ [ 34] JumpTrue condition:reg10, target:block6
block2:
- [ 47] Mov dst:x~0, src:reg9
- [ 4c] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:x~0, rhs:2, true_target:block3, false_target:block4
+ [ 3a] Mov dst:x~0, src:reg9
+ [ 3d] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:x~0, rhs:2, true_target:block3, false_target:block4
block3:
- [ 5d] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:Undefined
- [ 6c] Jump target:block6
+ [ 4d] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:Undefined
+ [ 58] Jump target:block6
block4:
- [ 71] JumpLoop target:block1
+ [ 5d] JumpLoop target:block1
block5:
- [ 76] Catch value_feedback:0, dst:reg11
- [ 7b] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:reg11
- [ 8a] Throw src:reg11
+ [ 62] Catch value_feedback:0, dst:reg11
+ [ 66] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:reg11
+ [ 71] Throw src:reg11
block6:
- [ 8d] End value:Undefined
+ [ 73] End value:Undefined
Exception handlers:
- [ 47 .. 5d] => handler block5
- [ 71 .. 76] => handler block5
+ [ 3a .. 4d] => handler block5
+ [ 5d .. 62] => handler block5
-forOfReturn$c8e3e674 for-of-iterator-close.js:9:16
+forOfReturn$d2d74721 for-of-iterator-close.js:9:16
Registers: 12
Blocks: 5
Locals: x~0
@@ -70,31 +70,31 @@ forOfReturn$c8e3e674 for-of-iterator-close.js:9:16
block0:
[ 0] Enter
[ 1] Mov dst:x~0, src:<Empty>
- [ 6] NewPrimitiveArray dst:reg5, elements:[1, 2, 3]
- [ 25] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:true
- [ 35] IteratorNextUnpack dst_value:reg9, dst_done:reg10, iterator_object:reg6, iterator_next:reg7, iterator_done:reg8
- [ 40] JumpTrue condition:reg10, target:block4
+ [ 4] NewPrimitiveArray dst:reg5, elements:[1, 2, 3]
+ [ 22] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:true
+ [ 2e] IteratorNextUnpack dst_value:reg9, dst_done:reg10, iterator_object:reg6, iterator_next:reg7, iterator_done:reg8
+ [ 34] JumpTrue condition:reg10, target:block4
block1:
- [ 47] Mov dst:x~0, src:reg9
+ [ 3a] Mov dst:x~0, src:reg9
block2:
- [ 4c] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:Undefined
- [ 5b] Return value:x~0
+ [ 3d] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:Undefined
+ [ 48] Return value:x~0
block3:
- [ 5e] Catch value_feedback:0, dst:reg11
- [ 63] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:reg11
- [ 72] Throw src:reg11
+ [ 4a] Catch value_feedback:0, dst:reg11
+ [ 4e] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:reg11
+ [ 59] Throw src:reg11
block4:
- [ 75] End value:Undefined
+ [ 5b] End value:Undefined
Exception handlers:
- [ 47 .. 4c] => handler block3
+ [ 3a .. 3d] => handler block3
-forAwaitOfBreak$f34e96c9 for-of-iterator-close.js:16:22
+forAwaitOfBreak$2018d1b3 for-of-iterator-close.js:16:22
Registers: 18
Blocks: 23
Locals: x~0
@@ -105,96 +105,96 @@ forAwaitOfBreak$f34e96c9 for-of-iterator-close.js:16:22
block0:
[ 0] Enter
[ 1] Mov dst:x~0, src:<Empty>
- [ 6] Mov dst:reg5, src:arg0
- [ b] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:false
+ [ 4] Mov dst:reg5, src:arg0
+ [ 7] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:false
block1:
- [ 1b] Call value_feedback:0, call_feedback:0, dst:reg11, callee:reg7, this_value:reg6
- [ 2c] Mov dst:reg12, src:reg0
- [ 31] Await continuation_label:block2, argument:reg11
+ [ 13] Call value_feedback:0, call_feedback:0, dst:reg11, callee:reg7, this_value:reg6
+ [ 1e] Mov dst:reg12, src:reg0
+ [ 21] Await continuation_label:block2, argument:reg11
block2:
- [ 38] Mov dst:reg12, src:reg0
- [ 3d] GetCompletionFields type_dst:reg13, value_dst:reg14, completion:reg12
- [ 44] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg15, lhs:reg13, rhs:1
- [ 4f] JumpIf condition:reg15, true_target:block4, false_target:block3
+ [ 27] Mov dst:reg12, src:reg0
+ [ 2a] GetCompletionFields type_dst:reg13, value_dst:reg14, completion:reg12
+ [ 2e] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg15, lhs:reg13, rhs:1
+ [ 37] JumpIf condition:reg15, true_target:block4, false_target:block3
block3:
- [ 5a] Throw src:reg14
+ [ 41] Throw src:reg14
block4:
- [ 5d] ThrowIfNotObject src:reg14
- [ 60] GetById value_feedback:1, dst:reg10, base:reg14, `done`
- [ 6d] JumpTrue condition:reg10, target:block22
+ [ 43] ThrowIfNotObject src:reg14
+ [ 45] GetById value_feedback:1, dst:reg10, base:reg14, `done`
+ [ 51] JumpTrue condition:reg10, target:block22
block5:
- [ 74] GetById value_feedback:2, dst:reg9, base:reg14, `value`
+ [ 57] GetById value_feedback:2, dst:reg9, base:reg14, `value`
block6:
- [ 81] Mov dst:x~0, src:reg9
- [ 86] JumpStrictlyEqualsRhsInt32 arith_feedback:1, lhs:x~0, rhs:2, true_target:block7, false_target:block13
+ [ 63] Mov dst:x~0, src:reg9
+ [ 66] JumpStrictlyEqualsRhsInt32 arith_feedback:1, lhs:x~0, rhs:2, true_target:block7, false_target:block13
block7:
- [ 97] GetMethod dst:reg11, object:reg6, `return`
- [ a0] JumpUndefined condition:reg11, true_target:block12, false_target:block8
+ [ 76] GetMethod dst:reg11, object:reg6, `return`
+ [ 7e] JumpUndefined condition:reg11, true_target:block12, false_target:block8
block8:
- [ ab] Call value_feedback:3, call_feedback:1, dst:reg12, callee:reg11, this_value:reg6
- [ bc] Mov dst:reg13, src:reg0
- [ c1] Await continuation_label:block9, argument:reg12
+ [ 88] Call value_feedback:3, call_feedback:1, dst:reg12, callee:reg11, this_value:reg6
+ [ 93] Mov dst:reg13, src:reg0
+ [ 96] Await continuation_label:block9, argument:reg12
block9:
- [ c8] Mov dst:reg13, src:reg0
- [ cd] GetCompletionFields type_dst:reg14, value_dst:reg15, completion:reg13
- [ d4] StrictlyEqualsRhsInt32 arith_feedback:2, dst:reg16, lhs:reg14, rhs:1
- [ df] JumpIf condition:reg16, true_target:block11, false_target:block10
+ [ 9c] Mov dst:reg13, src:reg0
+ [ 9f] GetCompletionFields type_dst:reg14, value_dst:reg15, completion:reg13
+ [ a3] StrictlyEqualsRhsInt32 arith_feedback:2, dst:reg16, lhs:reg14, rhs:1
+ [ ac] JumpIf condition:reg16, true_target:block11, false_target:block10
block10:
- [ ea] Throw src:reg15
+ [ b6] Throw src:reg15
block11:
- [ ed] ThrowIfNotObject src:reg15
+ [ b8] ThrowIfNotObject src:reg15
block12:
- [ f0] Jump target:block22
+ [ ba] Jump target:block22
block13:
- [ f5] JumpLoop target:block1
+ [ bf] JumpLoop target:block1
block14:
- [ fa] Catch value_feedback:4, dst:reg11
+ [ c4] Catch value_feedback:4, dst:reg11
block15:
- [ ff] GetMethod dst:reg12, object:reg6, `return`
- [ 108] JumpUndefined condition:reg12, true_target:block21, false_target:block16
+ [ c8] GetMethod dst:reg12, object:reg6, `return`
+ [ d0] JumpUndefined condition:reg12, true_target:block21, false_target:block16
block16:
- [ 113] Call value_feedback:5, call_feedback:2, dst:reg13, callee:reg12, this_value:reg6
- [ 124] Mov dst:reg14, src:reg0
- [ 129] Await continuation_label:block17, argument:reg13
+ [ da] Call value_feedback:5, call_feedback:2, dst:reg13, callee:reg12, this_value:reg6
+ [ e5] Mov dst:reg14, src:reg0
+ [ e8] Await continuation_label:block17, argument:reg13
block17:
- [ 130] Mov dst:reg14, src:reg0
- [ 135] GetCompletionFields type_dst:reg15, value_dst:reg16, completion:reg14
- [ 13c] StrictlyEqualsRhsInt32 arith_feedback:3, dst:reg17, lhs:reg15, rhs:1
- [ 147] JumpIf condition:reg17, true_target:block19, false_target:block18
+ [ ee] Mov dst:reg14, src:reg0
+ [ f1] GetCompletionFields type_dst:reg15, value_dst:reg16, completion:reg14
+ [ f5] StrictlyEqualsRhsInt32 arith_feedback:3, dst:reg17, lhs:reg15, rhs:1
+ [ fe] JumpIf condition:reg17, true_target:block19, false_target:block18
block18:
- [ 152] Throw src:reg16
+ [ 108] Throw src:reg16
block19:
- [ 155] Jump target:block21
+ [ 10a] Jump target:block21
block20:
- [ 15a] Catch value_feedback:6, dst:reg12
+ [ 10f] Catch value_feedback:6, dst:reg12
block21:
- [ 15f] Throw src:reg11
+ [ 113] Throw src:reg11
block22:
- [ 162] Yield value:Undefined
+ [ 115] Yield value:Undefined
Exception handlers:
- [ 81 .. 97] => handler block14
- [ f5 .. fa] => handler block14
- [ ff .. 15a] => handler block20
+ [ 63 .. 76] => handler block14
+ [ bf .. c4] => handler block14
+ [ c8 .. 10f] => handler block20
diff --git a/Tests/LibJS/Bytecode/expected/for-of-rhs-precedence.txt b/Tests/LibJS/Bytecode/expected/for-of-rhs-precedence.txt
index e30272ab3b2..62f52ca753b 100644
--- a/Tests/LibJS/Bytecode/expected/for-of-rhs-precedence.txt
+++ b/Tests/LibJS/Bytecode/expected/for-of-rhs-precedence.txt
@@ -1,4 +1,4 @@
-$7ccbae8c
+$ab3d76f3
Registers: 6
Blocks: 1
Constants:
@@ -7,4 +7,4 @@ $7ccbae8c
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] End value:reg5
+ [ 4] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/for-try-finally-continue.txt b/Tests/LibJS/Bytecode/expected/for-try-finally-continue.txt
index 87f0581a6a6..f1dea0d6413 100644
--- a/Tests/LibJS/Bytecode/expected/for-try-finally-continue.txt
+++ b/Tests/LibJS/Bytecode/expected/for-try-finally-continue.txt
@@ -1,4 +1,4 @@
-$7762a3bf for-try-finally-continue.js:1:5
+$a04c8a06 for-try-finally-continue.js:1:5
Registers: 9
Blocks: 14
Locals: e~0
@@ -13,65 +13,65 @@ $7762a3bf for-try-finally-continue.js:1:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg5, src:Undefined
- [ b] SetGlobal `i`, src:Int32(0)
- [ 12] Jump target:block10
+ [ 4] Mov dst:reg5, src:Undefined
+ [ 7] SetGlobal `i`, src:Int32(0)
+ [ e] Jump target:block10
block1:
- [ 17] Mov dst:reg5, src:Undefined
+ [ 13] Mov dst:reg5, src:Undefined
block2:
- [ 1c] Mov dst:reg6, src:Int32(2)
- [ 21] Jump target:block5
+ [ 16] Mov dst:reg6, src:Int32(2)
+ [ 19] Jump target:block5
block3:
- [ 26] Catch value_feedback:0, dst:reg8
- [ 2b] Mov dst:reg5, src:Undefined
- [ 30] Mov dst:e~0, src:<Empty>
- [ 35] Mov dst:e~0, src:reg8
- [ 3a] Mov dst:reg6, src:Int32(0)
- [ 3f] Jump target:block5
+ [ 1e] Catch value_feedback:0, dst:reg8
+ [ 22] Mov dst:reg5, src:Undefined
+ [ 25] Mov dst:e~0, src:<Empty>
+ [ 28] Mov dst:e~0, src:reg8
+ [ 2b] Mov dst:reg6, src:Int32(0)
+ [ 2e] Jump target:block5
block4:
- [ 44] Catch value_feedback:1, dst:reg7
- [ 49] Mov dst:reg6, src:Int32(1)
+ [ 33] Catch value_feedback:1, dst:reg7
+ [ 37] Mov dst:reg6, src:Int32(1)
block5:
- [ 4e] Mov dst:reg8, src:reg5
- [ 53] Mov dst:reg5, src:Undefined
- [ 58] Mov dst:reg5, src:reg8
- [ 5d] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:reg6, rhs:0, true_target:block9, false_target:block6
+ [ 3a] Mov dst:reg8, src:reg5
+ [ 3d] Mov dst:reg5, src:Undefined
+ [ 40] Mov dst:reg5, src:reg8
+ [ 43] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:reg6, rhs:0, true_target:block9, false_target:block6
block6:
- [ 6e] JumpStrictlyEqualsRhsInt32 arith_feedback:1, lhs:reg6, rhs:2, true_target:block7, false_target:block8
+ [ 53] JumpStrictlyEqualsRhsInt32 arith_feedback:1, lhs:reg6, rhs:2, true_target:block7, false_target:block8
block7:
- [ 7f] Jump target:block9
+ [ 63] Jump target:block9
block8:
- [ 84] Throw src:reg7
+ [ 68] Throw src:reg7
block9:
- [ 87] GetGlobal value_feedback:2, dst:reg6, `i`
- [ 90] PostfixIncrement arith_feedback:2, dst:reg7, src:reg6
- [ 97] SetGlobal `i`, src:reg6
+ [ 6a] GetGlobal value_feedback:2, dst:reg6, `i`
+ [ 73] PostfixIncrement arith_feedback:2, dst:reg7, src:reg6
+ [ 78] SetGlobal `i`, src:reg6
block10:
- [ 9e] GetGlobal value_feedback:3, dst:reg6, `i`
- [ a7] JumpLessThanLoopRhsInt32 arith_feedback:3, lhs:reg6, rhs:5, true_target:block1, false_target:block11
+ [ 7f] GetGlobal value_feedback:3, dst:reg6, `i`
+ [ 88] JumpLessThanLoopRhsInt32 arith_feedback:3, lhs:reg6, rhs:5, true_target:block1, false_target:block11
block11:
- [ b8] GetGlobal value_feedback:4, dst:reg6, `i`
- [ c1] StrictlyInequalsRhsInt32 arith_feedback:4, dst:reg6, lhs:reg6, rhs:5
- [ cc] Mov dst:reg5, src:Undefined
- [ d1] JumpFalse condition:reg6, target:block13
+ [ 98] GetGlobal value_feedback:4, dst:reg6, `i`
+ [ a1] StrictlyInequalsRhsInt32 arith_feedback:4, dst:reg6, lhs:reg6, rhs:5
+ [ aa] Mov dst:reg5, src:Undefined
+ [ ad] JumpFalse condition:reg6, target:block13
block12:
- [ d8] Throw src:String("bad")
+ [ b3] Throw src:String("bad")
block13:
- [ db] End value:reg5
+ [ b5] End value:reg5
Exception handlers:
- [ 1c .. 26] => handler block3
- [ 26 .. 44] => handler block4
+ [ 16 .. 1e] => handler block3
+ [ 1e .. 33] => handler block4
diff --git a/Tests/LibJS/Bytecode/expected/function-decl-source-order.txt b/Tests/LibJS/Bytecode/expected/function-decl-source-order.txt
index b242bcc5664..99b9e36cc79 100644
--- a/Tests/LibJS/Bytecode/expected/function-decl-source-order.txt
+++ b/Tests/LibJS/Bytecode/expected/function-decl-source-order.txt
@@ -1,4 +1,4 @@
-$f8e4e869 function-decl-source-order.js:17:1
+$4bd5188a function-decl-source-order.js:17:1
Registers: 13
Blocks: 1
Constants:
@@ -7,23 +7,23 @@ $f8e4e869 function-decl-source-order.js:17:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `console`
- [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1c] GetGlobal value_feedback:2, dst:reg8, `alpha`
- [ 25] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
- [ 36] GetGlobal value_feedback:4, dst:reg9, `beta`
- [ 3f] Call value_feedback:5, call_feedback:1, dst:reg9, callee:reg9, this_value:Undefined
- [ 50] GetGlobal value_feedback:6, dst:reg10, `gamma`
- [ 59] Call value_feedback:7, call_feedback:2, dst:reg10, callee:reg10, this_value:Undefined
- [ 6a] GetGlobal value_feedback:8, dst:reg11, `delta`
- [ 73] Call value_feedback:9, call_feedback:3, dst:reg11, callee:reg11, this_value:Undefined
- [ 84] GetGlobal value_feedback:10, dst:reg12, `dup`
- [ 8d] Call value_feedback:11, call_feedback:4, dst:reg12, callee:reg12, this_value:Undefined
- [ 9e] Call value_feedback:12, call_feedback:5, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8, reg9, reg10, reg11, reg12]
- [ b9] End value:reg5
-
-
-alpha$ebf5352c function-decl-source-order.js:5:20
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ d] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 19] GetGlobal value_feedback:2, dst:reg8, `alpha`
+ [ 22] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
+ [ 2d] GetGlobal value_feedback:4, dst:reg9, `beta`
+ [ 36] Call value_feedback:5, call_feedback:1, dst:reg9, callee:reg9, this_value:Undefined
+ [ 41] GetGlobal value_feedback:6, dst:reg10, `gamma`
+ [ 4a] Call value_feedback:7, call_feedback:2, dst:reg10, callee:reg10, this_value:Undefined
+ [ 55] GetGlobal value_feedback:8, dst:reg11, `delta`
+ [ 5e] Call value_feedback:9, call_feedback:3, dst:reg11, callee:reg11, this_value:Undefined
+ [ 69] GetGlobal value_feedback:10, dst:reg12, `dup`
+ [ 72] Call value_feedback:11, call_feedback:4, dst:reg12, callee:reg12, this_value:Undefined
+ [ 7d] Call value_feedback:12, call_feedback:5, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8, reg9, reg10, reg11, reg12]
+ [ 8d] End value:reg5
+
+
+alpha$9bc8f61b function-decl-source-order.js:5:20
Registers: 5
Blocks: 1
Constants:
@@ -34,7 +34,7 @@ block0:
[ 1] Return value:Int32(1)
-beta$15ad1b37 function-decl-source-order.js:7:19
+beta$e47761c0 function-decl-source-order.js:7:19
Registers: 5
Blocks: 1
Constants:
@@ -45,7 +45,7 @@ block0:
[ 1] Return value:Int32(2)
-gamma$43b81549 function-decl-source-order.js:11:20
+gamma$d495509e function-decl-source-order.js:11:20
Registers: 5
Blocks: 1
Constants:
@@ -56,7 +56,7 @@ block0:
[ 1] Return value:Int32(3)
-delta$7a011022 function-decl-source-order.js:15:20
+delta$6a85cd55 function-decl-source-order.js:15:20
Registers: 5
Blocks: 1
Constants:
@@ -67,7 +67,7 @@ block0:
[ 1] Return value:Int32(4)
-dup$3bbe0a27 function-decl-source-order.js:13:18
+dup$0a8850b0 function-decl-source-order.js:13:18
Registers: 5
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/generator-yield-call.txt b/Tests/LibJS/Bytecode/expected/generator-yield-call.txt
index af856757d25..176856c5850 100644
--- a/Tests/LibJS/Bytecode/expected/generator-yield-call.txt
+++ b/Tests/LibJS/Bytecode/expected/generator-yield-call.txt
@@ -1,4 +1,4 @@
-$2912e644 generator-yield-call.js:9:1
+$7c031665 generator-yield-call.js:9:1
Registers: 9
Blocks: 1
Constants:
@@ -9,18 +9,18 @@ $2912e644 generator-yield-call.js:9:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] NewObject dst:reg7
- [ 14] InitObjectLiteralProperty object:reg7, `x`, src:Int32(1), shape_cache_index:0, property_slot:0
- [ 23] CacheObjectShape object:reg7
- [ 28] NewObject dst:reg8
- [ 2d] InitObjectLiteralProperty object:reg8, `y`, src:Int32(2), shape_cache_index:1, property_slot:0
- [ 3c] CacheObjectShape object:reg8
- [ 41] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7, reg8]
- [ 56] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] NewObject dst:reg7
+ [ 11] InitObjectLiteralProperty object:reg7, `x`, src:Int32(1), shape_cache_index:0, property_slot:0
+ [ 1f] CacheObjectShape object:reg7
+ [ 23] NewObject dst:reg8
+ [ 27] InitObjectLiteralProperty object:reg8, `y`, src:Int32(2), shape_cache_index:1, property_slot:0
+ [ 35] CacheObjectShape object:reg8
+ [ 39] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7, reg8]
+ [ 46] End value:reg5
-f$da6a5513 generator-yield-call.js:6:5
+f$8be5a37f generator-yield-call.js:6:5
Registers: 11
Blocks: 12
Constants:
@@ -31,46 +31,46 @@ block0:
[ 1] Yield continuation_label:block1, value:Undefined
block1:
- [ 9] GetById value_feedback:0, dst:reg5, base:arg0, `x`
- [ 16] Yield continuation_label:block2, value:reg5
+ [ 8] GetById value_feedback:0, dst:reg5, base:arg0, `x`
+ [ 14] Yield continuation_label:block2, value:reg5
block2:
- [ 1e] Mov dst:reg6, src:reg0
- [ 23] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
- [ 2a] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg9, lhs:reg7, rhs:1
- [ 35] JumpIf condition:reg9, true_target:block6, false_target:block3
+ [ 1b] Mov dst:reg6, src:reg0
+ [ 1e] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
+ [ 22] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg9, lhs:reg7, rhs:1
+ [ 2b] JumpIf condition:reg9, true_target:block6, false_target:block3
block3:
- [ 40] StrictlyEqualsRhsInt32 arith_feedback:1, dst:reg10, lhs:reg7, rhs:5
- [ 4b] JumpIf condition:reg10, true_target:block4, false_target:block5
+ [ 35] StrictlyEqualsRhsInt32 arith_feedback:1, dst:reg10, lhs:reg7, rhs:5
+ [ 3e] JumpIf condition:reg10, true_target:block4, false_target:block5
block4:
- [ 56] Throw src:reg8
+ [ 48] Throw src:reg8
block5:
- [ 59] Yield value:reg8
+ [ 4a] Yield value:reg8
block6:
- [ 61] Mov dst:reg5, src:reg8
- [ 66] GetById value_feedback:1, dst:reg5, base:arg1, `y`
- [ 73] Yield continuation_label:block7, value:reg5
+ [ 51] Mov dst:reg5, src:reg8
+ [ 54] GetById value_feedback:1, dst:reg5, base:arg1, `y`
+ [ 60] Yield continuation_label:block7, value:reg5
block7:
- [ 7b] Mov dst:reg6, src:reg0
- [ 80] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
- [ 87] StrictlyEqualsRhsInt32 arith_feedback:2, dst:reg9, lhs:reg7, rhs:1
- [ 92] JumpIf condition:reg9, true_target:block11, false_target:block8
+ [ 67] Mov dst:reg6, src:reg0
+ [ 6a] GetCompletionFields type_dst:reg7, value_dst:reg8, completion:reg6
+ [ 6e] StrictlyEqualsRhsInt32 arith_feedback:2, dst:reg9, lhs:reg7, rhs:1
+ [ 77] JumpIf condition:reg9, true_target:block11, false_target:block8
block8:
- [ 9d] StrictlyEqualsRhsInt32 arith_feedback:3, dst:reg10, lhs:reg7, rhs:5
- [ a8] JumpIf condition:reg10, true_target:block9, false_target:block10
+ [ 81] StrictlyEqualsRhsInt32 arith_feedback:3, dst:reg10, lhs:reg7, rhs:5
+ [ 8a] JumpIf condition:reg10, true_target:block9, false_target:block10
block9:
- [ b3] Throw src:reg8
+ [ 94] Throw src:reg8
block10:
- [ b6] Yield value:reg8
+ [ 96] Yield value:reg8
block11:
- [ be] Mov dst:reg5, src:reg8
- [ c3] Yield value:Undefined
+ [ 9d] Mov dst:reg5, src:reg8
+ [ a0] Yield value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/generator-yield-finally.txt b/Tests/LibJS/Bytecode/expected/generator-yield-finally.txt
index 3a863a016a2..5516f8ca5b3 100644
--- a/Tests/LibJS/Bytecode/expected/generator-yield-finally.txt
+++ b/Tests/LibJS/Bytecode/expected/generator-yield-finally.txt
@@ -1,4 +1,4 @@
-$c490d87c generator-yield-finally.js:11:1
+$8b0f4bd5 generator-yield-finally.js:11:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $c490d87c generator-yield-finally.js:11:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-f$c8661021 generator-yield-finally.js:4:9
+f$2d49b16e generator-yield-finally.js:4:9
Registers: 12
Blocks: 23
Constants:
@@ -27,91 +27,91 @@ block0:
[ 1] Yield continuation_label:block1, value:Undefined
block1:
- [ 9] Yield continuation_label:block2, value:Int32(1)
+ [ 8] Yield continuation_label:block2, value:Int32(1)
block2:
- [ 11] Mov dst:reg7, src:reg0
- [ 16] GetCompletionFields type_dst:reg8, value_dst:reg9, completion:reg7
- [ 1d] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg10, lhs:reg8, rhs:1
- [ 28] JumpIf condition:reg10, true_target:block6, false_target:block3
+ [ f] Mov dst:reg7, src:reg0
+ [ 12] GetCompletionFields type_dst:reg8, value_dst:reg9, completion:reg7
+ [ 16] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg10, lhs:reg8, rhs:1
+ [ 1f] JumpIf condition:reg10, true_target:block6, false_target:block3
block3:
- [ 33] StrictlyEqualsRhsInt32 arith_feedback:1, dst:reg11, lhs:reg8, rhs:5
- [ 3e] JumpIf condition:reg11, true_target:block4, false_target:block5
+ [ 29] StrictlyEqualsRhsInt32 arith_feedback:1, dst:reg11, lhs:reg8, rhs:5
+ [ 32] JumpIf condition:reg11, true_target:block4, false_target:block5
block4:
- [ 49] Throw src:reg9
+ [ 3c] Throw src:reg9
block5:
- [ 4c] Mov dst:reg6, src:reg9
- [ 51] Mov dst:reg5, src:Int32(2)
- [ 56] Jump target:block13
+ [ 3e] Mov dst:reg6, src:reg9
+ [ 41] Mov dst:reg5, src:Int32(2)
+ [ 44] Jump target:block13
block6:
- [ 5b] Mov dst:reg7, src:reg9
- [ 60] Yield continuation_label:block7, value:Int32(2)
+ [ 49] Mov dst:reg7, src:reg9
+ [ 4c] Yield continuation_label:block7, value:Int32(2)
block7:
- [ 68] Mov dst:reg7, src:reg0
- [ 6d] GetCompletionFields type_dst:reg8, value_dst:reg9, completion:reg7
- [ 74] StrictlyEqualsRhsInt32 arith_feedback:2, dst:reg10, lhs:reg8, rhs:1
- [ 7f] JumpIf condition:reg10, true_target:block11, false_target:block8
+ [ 53] Mov dst:reg7, src:reg0
+ [ 56] GetCompletionFields type_dst:reg8, value_dst:reg9, completion:reg7
+ [ 5a] StrictlyEqualsRhsInt32 arith_feedback:2, dst:reg10, lhs:reg8, rhs:1
+ [ 63] JumpIf condition:reg10, true_target:block11, false_target:block8
block8:
- [ 8a] StrictlyEqualsRhsInt32 arith_feedback:3, dst:reg11, lhs:reg8, rhs:5
- [ 95] JumpIf condition:reg11, true_target:block9, false_target:block10
+ [ 6d] StrictlyEqualsRhsInt32 arith_feedback:3, dst:reg11, lhs:reg8, rhs:5
+ [ 76] JumpIf condition:reg11, true_target:block9, false_target:block10
block9:
- [ a0] Throw src:reg9
+ [ 80] Throw src:reg9
block10:
- [ a3] Mov dst:reg6, src:reg9
- [ a8] Mov dst:reg5, src:Int32(2)
- [ ad] Jump target:block13
+ [ 82] Mov dst:reg6, src:reg9
+ [ 85] Mov dst:reg5, src:Int32(2)
+ [ 88] Jump target:block13
block11:
- [ b2] Mov dst:reg7, src:reg9
- [ b7] Mov dst:reg5, src:Int32(0)
- [ bc] Jump target:block13
+ [ 8d] Mov dst:reg7, src:reg9
+ [ 90] Mov dst:reg5, src:Int32(0)
+ [ 93] Jump target:block13
block12:
- [ c1] Catch value_feedback:0, dst:reg6
- [ c6] Mov dst:reg5, src:Int32(1)
+ [ 98] Catch value_feedback:0, dst:reg6
+ [ 9c] Mov dst:reg5, src:Int32(1)
block13:
- [ cb] Yield continuation_label:block14, value:Int32(3)
+ [ 9f] Yield continuation_label:block14, value:Int32(3)
block14:
- [ d3] Mov dst:reg7, src:reg0
- [ d8] GetCompletionFields type_dst:reg8, value_dst:reg9, completion:reg7
- [ df] StrictlyEqualsRhsInt32 arith_feedback:4, dst:reg10, lhs:reg8, rhs:1
- [ ea] JumpIf condition:reg10, true_target:block18, false_target:block15
+ [ a6] Mov dst:reg7, src:reg0
+ [ a9] GetCompletionFields type_dst:reg8, value_dst:reg9, completion:reg7
+ [ ad] StrictlyEqualsRhsInt32 arith_feedback:4, dst:reg10, lhs:reg8, rhs:1
+ [ b6] JumpIf condition:reg10, true_target:block18, false_target:block15
block15:
- [ f5] StrictlyEqualsRhsInt32 arith_feedback:5, dst:reg11, lhs:reg8, rhs:5
- [ 100] JumpIf condition:reg11, true_target:block16, false_target:block17
+ [ c0] StrictlyEqualsRhsInt32 arith_feedback:5, dst:reg11, lhs:reg8, rhs:5
+ [ c9] JumpIf condition:reg11, true_target:block16, false_target:block17
block16:
- [ 10b] Throw src:reg9
+ [ d3] Throw src:reg9
block17:
- [ 10e] Yield value:reg9
+ [ d5] Yield value:reg9
block18:
- [ 116] Mov dst:reg7, src:reg9
- [ 11b] JumpStrictlyEqualsRhsInt32 arith_feedback:6, lhs:reg5, rhs:0, true_target:block22, false_target:block19
+ [ dc] Mov dst:reg7, src:reg9
+ [ df] JumpStrictlyEqualsRhsInt32 arith_feedback:6, lhs:reg5, rhs:0, true_target:block22, false_target:block19
block19:
- [ 12c] JumpStrictlyEqualsRhsInt32 arith_feedback:7, lhs:reg5, rhs:2, true_target:block20, false_target:block21
+ [ ef] JumpStrictlyEqualsRhsInt32 arith_feedback:7, lhs:reg5, rhs:2, true_target:block20, false_target:block21
block20:
- [ 13d] Yield value:reg6
+ [ ff] Yield value:reg6
block21:
- [ 145] Throw src:reg6
+ [ 106] Throw src:reg6
block22:
- [ 148] Yield value:Undefined
+ [ 108] Yield value:Undefined
Exception handlers:
- [ 9 .. c1] => handler block12
+ [ 8 .. 98] => handler block12
diff --git a/Tests/LibJS/Bytecode/expected/generator-yield-star.txt b/Tests/LibJS/Bytecode/expected/generator-yield-star.txt
index a6d51ef6d84..74383f59f34 100644
--- a/Tests/LibJS/Bytecode/expected/generator-yield-star.txt
+++ b/Tests/LibJS/Bytecode/expected/generator-yield-star.txt
@@ -1,4 +1,4 @@
-$a299090e generator-yield-star.js:6:1
+$30b25353 generator-yield-star.js:6:1
Registers: 8
Blocks: 1
Constants:
@@ -7,13 +7,13 @@ $a299090e generator-yield-star.js:6:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] NewPrimitiveArray dst:reg7, elements:[1, 2]
- [ 26] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 39] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] NewPrimitiveArray dst:reg7, elements:[1, 2]
+ [ 23] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 2f] End value:reg5
-f$1b5a2960 generator-yield-star.js:4:5
+f$d5ac74e6 generator-yield-star.js:4:5
Registers: 21
Blocks: 19
Constants:
@@ -25,79 +25,79 @@ block0:
[ 1] Yield continuation_label:block1, value:Undefined
block1:
- [ 9] GetIterator dst_iterator_object:reg8, dst_iterator_next:reg9, dst_iterator_done:reg10, iterable:arg0, fast_array_mode_allowed:false
- [ 19] Mov dst:reg6, src:Int32(1)
- [ 1e] Mov dst:reg7, src:Undefined
- [ 23] Jump target:block2
+ [ 8] GetIterator dst_iterator_object:reg8, dst_iterator_next:reg9, dst_iterator_done:reg10, iterable:arg0, fast_array_mode_allowed:false
+ [ 14] Mov dst:reg6, src:Int32(1)
+ [ 17] Mov dst:reg7, src:Undefined
+ [ 1a] Jump target:block2
block2:
- [ 28] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg11, lhs:reg6, rhs:1
- [ 33] JumpIf condition:reg11, true_target:block3, false_target:block6
+ [ 1f] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg11, lhs:reg6, rhs:1
+ [ 28] JumpIf condition:reg11, true_target:block3, false_target:block6
block3:
- [ 3e] Call value_feedback:0, call_feedback:0, dst:reg12, callee:reg9, this_value:reg8, arguments:[reg7]
- [ 51] ThrowIfNotObject src:reg12
- [ 54] GetById value_feedback:1, dst:reg13, base:reg12, `done`
- [ 61] JumpIf condition:reg13, true_target:block4, false_target:block5
+ [ 32] Call value_feedback:0, call_feedback:0, dst:reg12, callee:reg9, this_value:reg8, arguments:[reg7]
+ [ 3e] ThrowIfNotObject src:reg12
+ [ 40] GetById value_feedback:1, dst:reg13, base:reg12, `done`
+ [ 4c] JumpIf condition:reg13, true_target:block4, false_target:block5
block4:
- [ 6c] GetById value_feedback:2, dst:reg14, base:reg12, `value`
- [ 79] Jump target:block18
+ [ 56] GetById value_feedback:2, dst:reg14, base:reg12, `value`
+ [ 62] Jump target:block18
block5:
- [ 7e] YieldIteratorResult continuation_label:block17, value:reg12
+ [ 67] YieldIteratorResult continuation_label:block17, value:reg12
block6:
- [ 85] StrictlyEqualsRhsInt32 arith_feedback:1, dst:reg15, lhs:reg6, rhs:5
- [ 90] JumpIf condition:reg15, true_target:block7, false_target:block12
+ [ 6d] StrictlyEqualsRhsInt32 arith_feedback:1, dst:reg15, lhs:reg6, rhs:5
+ [ 76] JumpIf condition:reg15, true_target:block7, false_target:block12
block7:
- [ 9b] GetMethod dst:reg16, object:reg8, `throw`
- [ a4] JumpUndefined condition:reg16, true_target:block11, false_target:block8
+ [ 80] GetMethod dst:reg16, object:reg8, `throw`
+ [ 88] JumpUndefined condition:reg16, true_target:block11, false_target:block8
block8:
- [ af] Call value_feedback:3, call_feedback:1, dst:reg12, callee:reg16, this_value:reg8, arguments:[reg7]
- [ c2] ThrowIfNotObject src:reg12
- [ c5] GetById value_feedback:4, dst:reg13, base:reg12, `done`
- [ d2] JumpIf condition:reg13, true_target:block9, false_target:block10
+ [ 92] Call value_feedback:3, call_feedback:1, dst:reg12, callee:reg16, this_value:reg8, arguments:[reg7]
+ [ 9e] ThrowIfNotObject src:reg12
+ [ a0] GetById value_feedback:4, dst:reg13, base:reg12, `done`
+ [ ac] JumpIf condition:reg13, true_target:block9, false_target:block10
block9:
- [ dd] GetById value_feedback:5, dst:reg14, base:reg12, `value`
- [ ea] Jump target:block18
+ [ b6] GetById value_feedback:5, dst:reg14, base:reg12, `value`
+ [ c2] Jump target:block18
block10:
- [ ef] YieldIteratorResult continuation_label:block17, value:reg12
+ [ c7] YieldIteratorResult continuation_label:block17, value:reg12
block11:
- [ f6] IteratorClose iterator_object:reg8, iterator_next:reg9, iterator_done:reg10, completion_value:Undefined
- [ 105] NewTypeError dst:reg17, yield* protocol violation: iterator must have a throw method
- [ 10a] Throw src:reg17
+ [ cd] IteratorClose iterator_object:reg8, iterator_next:reg9, iterator_done:reg10, completion_value:Undefined
+ [ d8] NewTypeError dst:reg17, yield* protocol violation: iterator must have a throw method
+ [ dd] Throw src:reg17
block12:
- [ 10d] GetMethod dst:reg18, object:reg8, `return`
- [ 116] JumpUndefined condition:reg18, true_target:block13, false_target:block14
+ [ df] GetMethod dst:reg18, object:reg8, `return`
+ [ e7] JumpUndefined condition:reg18, true_target:block13, false_target:block14
block13:
- [ 121] Yield value:reg7
+ [ f1] Yield value:reg7
block14:
- [ 129] Call value_feedback:6, call_feedback:2, dst:reg19, callee:reg18, this_value:reg8, arguments:[reg7]
- [ 13c] ThrowIfNotObject src:reg19
- [ 13f] GetById value_feedback:7, dst:reg13, base:reg19, `done`
- [ 14c] JumpIf condition:reg13, true_target:block15, false_target:block16
+ [ f8] Call value_feedback:6, call_feedback:2, dst:reg19, callee:reg18, this_value:reg8, arguments:[reg7]
+ [ 104] ThrowIfNotObject src:reg19
+ [ 106] GetById value_feedback:7, dst:reg13, base:reg19, `done`
+ [ 112] JumpIf condition:reg13, true_target:block15, false_target:block16
block15:
- [ 157] GetById value_feedback:8, dst:reg20, base:reg19, `value`
- [ 164] Yield value:reg20
+ [ 11c] GetById value_feedback:8, dst:reg20, base:reg19, `value`
+ [ 128] Yield value:reg20
block16:
- [ 16c] YieldIteratorResult continuation_label:block17, value:reg19
+ [ 12f] YieldIteratorResult continuation_label:block17, value:reg19
block17:
- [ 173] Mov dst:reg5, src:reg0
- [ 178] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
- [ 17f] Jump target:block2
+ [ 135] Mov dst:reg5, src:reg0
+ [ 138] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
+ [ 13c] Jump target:block2
block18:
- [ 184] Mov dst:reg5, src:reg14
- [ 189] Yield value:Undefined
+ [ 141] Mov dst:reg5, src:reg14
+ [ 144] Yield value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/generator-yield.txt b/Tests/LibJS/Bytecode/expected/generator-yield.txt
index 2d576a1bfea..e936d4bd47f 100644
--- a/Tests/LibJS/Bytecode/expected/generator-yield.txt
+++ b/Tests/LibJS/Bytecode/expected/generator-yield.txt
@@ -1,4 +1,4 @@
-$b05a6b53 generator-yield.js:11:5
+$e45415da generator-yield.js:11:5
Registers: 8
Blocks: 1
Constants:
@@ -7,19 +7,19 @@ $b05a6b53 generator-yield.js:11:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `multi_yield`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:Undefined
- [ 20] SetGlobal `g`, src:reg6
- [ 27] GetGlobal value_feedback:2, dst:reg6, `g`
- [ 30] GetById value_feedback:3, dst:reg7, base:reg6, `next`
- [ 3d] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
- [ 4e] GetGlobal value_feedback:5, dst:reg6, `g`
- [ 57] GetById value_feedback:6, dst:reg7, base:reg6, `next`
- [ 64] Call value_feedback:7, call_feedback:2, dst:reg5, callee:reg7, this_value:reg6
- [ 75] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `multi_yield`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:Undefined
+ [ 18] SetGlobal `g`, src:reg6
+ [ 1f] GetGlobal value_feedback:2, dst:reg6, `g`
+ [ 28] GetById value_feedback:3, dst:reg7, base:reg6, `next`
+ [ 34] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
+ [ 3f] GetGlobal value_feedback:5, dst:reg6, `g`
+ [ 48] GetById value_feedback:6, dst:reg7, base:reg6, `next`
+ [ 54] Call value_feedback:7, call_feedback:2, dst:reg5, callee:reg7, this_value:reg6
+ [ 5f] End value:reg5
-multi_yield$73cb3965 generator-yield.js:7:5
+multi_yield$5798a4db generator-yield.js:7:5
Registers: 10
Blocks: 12
Constants:
@@ -32,44 +32,44 @@ block0:
[ 1] Yield continuation_label:block1, value:Undefined
block1:
- [ 9] Yield continuation_label:block2, value:Int32(1)
+ [ 8] Yield continuation_label:block2, value:Int32(1)
block2:
- [ 11] Mov dst:reg5, src:reg0
- [ 16] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
- [ 1d] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg8, lhs:reg6, rhs:1
- [ 28] JumpIf condition:reg8, true_target:block6, false_target:block3
+ [ f] Mov dst:reg5, src:reg0
+ [ 12] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
+ [ 16] StrictlyEqualsRhsInt32 arith_feedback:0, dst:reg8, lhs:reg6, rhs:1
+ [ 1f] JumpIf condition:reg8, true_target:block6, false_target:block3
block3:
- [ 33] StrictlyEqualsRhsInt32 arith_feedback:1, dst:reg9, lhs:reg6, rhs:5
- [ 3e] JumpIf condition:reg9, true_target:block4, false_target:block5
+ [ 29] StrictlyEqualsRhsInt32 arith_feedback:1, dst:reg9, lhs:reg6, rhs:5
+ [ 32] JumpIf condition:reg9, true_target:block4, false_target:block5
block4:
- [ 49] Throw src:reg7
+ [ 3c] Throw src:reg7
block5:
- [ 4c] Yield value:reg7
+ [ 3e] Yield value:reg7
block6:
- [ 54] Mov dst:reg5, src:reg7
- [ 59] Yield continuation_label:block7, value:Int32(2)
+ [ 45] Mov dst:reg5, src:reg7
+ [ 48] Yield continuation_label:block7, value:Int32(2)
block7:
- [ 61] Mov dst:reg5, src:reg0
- [ 66] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
- [ 6d] StrictlyEqualsRhsInt32 arith_feedback:2, dst:reg8, lhs:reg6, rhs:1
- [ 78] JumpIf condition:reg8, true_target:block11, false_target:block8
+ [ 4f] Mov dst:reg5, src:reg0
+ [ 52] GetCompletionFields type_dst:reg6, value_dst:reg7, completion:reg5
+ [ 56] StrictlyEqualsRhsInt32 arith_feedback:2, dst:reg8, lhs:reg6, rhs:1
+ [ 5f] JumpIf condition:reg8, true_target:block11, false_target:block8
block8:
- [ 83] StrictlyEqualsRhsInt32 arith_feedback:3, dst:reg9, lhs:reg6, rhs:5
- [ 8e] JumpIf condition:reg9, true_target:block9, false_target:block10
+ [ 69] StrictlyEqualsRhsInt32 arith_feedback:3, dst:reg9, lhs:reg6, rhs:5
+ [ 72] JumpIf condition:reg9, true_target:block9, false_target:block10
block9:
- [ 99] Throw src:reg7
+ [ 7c] Throw src:reg7
block10:
- [ 9c] Yield value:reg7
+ [ 7e] Yield value:reg7
block11:
- [ a4] Mov dst:reg5, src:reg7
- [ a9] Yield value:Undefined
+ [ 85] Mov dst:reg5, src:reg7
+ [ 88] Yield value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/global-variables.txt b/Tests/LibJS/Bytecode/expected/global-variables.txt
index b1ae5979ac0..7aa6ed18bce 100644
--- a/Tests/LibJS/Bytecode/expected/global-variables.txt
+++ b/Tests/LibJS/Bytecode/expected/global-variables.txt
@@ -1,4 +1,4 @@
-$579701b6 global-variables.js:4:5
+$5ec67153 global-variables.js:4:5
Registers: 9
Blocks: 1
Constants:
@@ -8,12 +8,12 @@ $579701b6 global-variables.js:4:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] SetGlobal `x`, src:Int32(1)
- [ d] GetGlobal value_feedback:0, dst:reg6, `console`
- [ 16] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 23] GetGlobal value_feedback:2, dst:reg8, `x`
- [ 2c] Call value_feedback:3, call_feedback:0, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 3f] End value:reg5
+ [ 4] SetGlobal `x`, src:Int32(1)
+ [ b] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ 14] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 20] GetGlobal value_feedback:2, dst:reg8, `x`
+ [ 29] Call value_feedback:3, call_feedback:0, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 35] End value:reg5
1
diff --git a/Tests/LibJS/Bytecode/expected/if-else-register-lifetime.txt b/Tests/LibJS/Bytecode/expected/if-else-register-lifetime.txt
index bcf352ba05c..aeda4a6f8cb 100644
--- a/Tests/LibJS/Bytecode/expected/if-else-register-lifetime.txt
+++ b/Tests/LibJS/Bytecode/expected/if-else-register-lifetime.txt
@@ -1,4 +1,4 @@
-$71a0a85b if-else-register-lifetime.js:11:1
+$e3875e16 if-else-register-lifetime.js:11:1
Registers: 8
Blocks: 1
Constants:
@@ -7,13 +7,13 @@ $71a0a85b if-else-register-lifetime.js:11:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `test`
- [ f] NewPrimitiveArray dst:reg7, elements:[1]
- [ 1e] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 31] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `test`
+ [ d] NewPrimitiveArray dst:reg7, elements:[1]
+ [ 1b] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 27] End value:reg5
-test$cf851b4c if-else-register-lifetime.js:2:9
+test$3778705a if-else-register-lifetime.js:2:9
Registers: 7
Blocks: 10
Locals: a~0, i~1, j~2
@@ -25,45 +25,45 @@ test$cf851b4c if-else-register-lifetime.js:2:9
block0:
[ 0] Enter
[ 1] Mov dst:a~0, src:Undefined
- [ 6] Mov dst:i~1, src:Undefined
- [ b] Mov dst:j~2, src:Undefined
- [ 10] Mov dst:a~0, src:Int32(1)
- [ 15] Mov dst:i~1, src:Int32(0)
- [ 1a] Jump target:block8
+ [ 4] Mov dst:i~1, src:Undefined
+ [ 7] Mov dst:j~2, src:Undefined
+ [ a] Mov dst:a~0, src:Int32(1)
+ [ d] Mov dst:i~1, src:Int32(0)
+ [ 10] Jump target:block8
block1:
- [ 1f] Mov dst:j~2, src:Int32(0)
- [ 24] Jump target:block6
+ [ 15] Mov dst:j~2, src:Int32(0)
+ [ 18] Jump target:block6
block2:
- [ 29] JumpLessThanRhsInt32 arith_feedback:0, lhs:j~2, rhs:5, true_target:block3, false_target:block4
+ [ 1d] JumpLessThanRhsInt32 arith_feedback:0, lhs:j~2, rhs:5, true_target:block3, false_target:block4
block3:
- [ 3a] Add arith_feedback:1, dst:reg5, lhs:i~1, rhs:j~2
- [ 43] GetByValue value_feedback:0, keyed_feedback:0, dst:reg5, base:arg0, property:reg5
- [ 52] PutByValue keyed_feedback:1, base:arg0, property:j~2, src:reg5, kind:Normal
- [ 63] Jump target:block5
+ [ 2d] Add arith_feedback:1, dst:reg5, lhs:i~1, rhs:j~2
+ [ 33] GetByValue value_feedback:0, keyed_feedback:0, dst:reg5, base:arg0, property:reg5
+ [ 3f] PutByValue keyed_feedback:1, base:arg0, property:j~2, src:reg5, kind:Normal
+ [ 4d] Jump target:block5
block4:
- [ 68] GetGlobal value_feedback:1, dst:reg5, `parseInt`
- [ 71] SubRhsInt32 arith_feedback:2, dst:reg6, lhs:j~2, rhs:3
- [ 7c] GetByValue value_feedback:2, keyed_feedback:2, dst:reg6, base:arg0, property:reg6
- [ 8b] Call value_feedback:3, call_feedback:0, dst:reg5, callee:reg5, this_value:Undefined, arguments:[reg6, Int32(1)]
- [ a0] PutByValue keyed_feedback:3, base:arg0, property:j~2, src:reg5, kind:Normal
+ [ 52] GetGlobal value_feedback:1, dst:reg5, `parseInt`
+ [ 5b] SubRhsInt32 arith_feedback:2, dst:reg6, lhs:j~2, rhs:3
+ [ 64] GetByValue value_feedback:2, keyed_feedback:2, dst:reg6, base:arg0, property:reg6
+ [ 70] Call value_feedback:3, call_feedback:0, dst:reg5, callee:reg5, this_value:Undefined, arguments:[reg6, Int32(1)]
+ [ 7d] PutByValue keyed_feedback:3, base:arg0, property:j~2, src:reg5, kind:Normal
block5:
- [ b1] Increment arith_feedback:3, dst:j~2
+ [ 8b] Increment arith_feedback:3, dst:j~2
block6:
- [ b6] JumpLessThanLoopRhsInt32 arith_feedback:4, lhs:j~2, rhs:10, true_target:block2, false_target:block7
+ [ 8f] JumpLessThanLoopRhsInt32 arith_feedback:4, lhs:j~2, rhs:10, true_target:block2, false_target:block7
block7:
- [ c7] Increment arith_feedback:5, dst:i~1
+ [ 9f] Increment arith_feedback:5, dst:i~1
block8:
- [ cc] JumpLessThanLoopRhsInt32 arith_feedback:6, lhs:i~1, rhs:10, true_target:block1, false_target:block9
+ [ a3] JumpLessThanLoopRhsInt32 arith_feedback:6, lhs:i~1, rhs:10, true_target:block1, false_target:block9
block9:
- [ dd] GetGlobal value_feedback:4, dst:reg5, `parseInt`
- [ e6] Call value_feedback:5, call_feedback:1, dst:reg5, callee:reg5, this_value:Undefined, arguments:[a~0]
- [ f9] Return value:reg5
+ [ b3] GetGlobal value_feedback:4, dst:reg5, `parseInt`
+ [ bc] Call value_feedback:5, call_feedback:1, dst:reg5, callee:reg5, this_value:Undefined, arguments:[a~0]
+ [ c8] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/imported-bindings.txt b/Tests/LibJS/Bytecode/expected/imported-bindings.txt
index d11b3cb1e94..c6fcc514fb7 100644
--- a/Tests/LibJS/Bytecode/expected/imported-bindings.txt
+++ b/Tests/LibJS/Bytecode/expected/imported-bindings.txt
@@ -1,4 +1,4 @@
-call$a44f5892 imported-bindings.mjs:11:5
+call$6d91bcfb imported-bindings.mjs:11:5
Registers: 7
Blocks: 1
Constants:
@@ -8,11 +8,11 @@ block0:
[ 0] Enter
[ 1] GetImport dst:reg5, `importedRead`, import_index:2
[ a] Mov dst:reg6, src:Undefined
- [ f] Call value_feedback:0, call_feedback:0, dst:reg5, callee:reg5, this_value:reg6
- [ 20] Return value:reg5
+ [ d] Call value_feedback:0, call_feedback:0, dst:reg5, callee:reg5, this_value:reg6
+ [ 18] Return value:reg5
-read$323573c9 imported-bindings.mjs:7:5
+read$48e02633 imported-bindings.mjs:7:5
Registers: 7
Blocks: 1
@@ -20,6 +20,6 @@ block0:
[ 0] Enter
[ 1] GetImport dst:reg5, `namespace`, import_index:0
[ a] Typeof dst:reg5, src:reg5
- [ f] GetImport dst:reg6, `importedValue`, import_index:1
- [ 18] Add arith_feedback:0, dst:reg5, lhs:reg5, rhs:reg6
- [ 21] Return value:reg5
+ [ d] GetImport dst:reg6, `importedValue`, import_index:1
+ [ 16] Add arith_feedback:0, dst:reg5, lhs:reg5, rhs:reg6
+ [ 1c] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/indexed-append-guards.txt b/Tests/LibJS/Bytecode/expected/indexed-append-guards.txt
index 67e5faff175..d27374bb3a7 100644
--- a/Tests/LibJS/Bytecode/expected/indexed-append-guards.txt
+++ b/Tests/LibJS/Bytecode/expected/indexed-append-guards.txt
@@ -1,4 +1,4 @@
-$ac146883 indexed-append-guards.js:1:1
+$408635ca indexed-append-guards.js:1:1
Registers: 10
Blocks: 7
Constants:
@@ -16,68 +16,68 @@ $ac146883 indexed-append-guards.js:1:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg5, src:String("use strict")
- [ b] GetGlobal value_feedback:0, dst:reg6, `Object`
- [ 14] GetById value_feedback:1, dst:reg7, base:reg6, `preventExtensions`
- [ 21] NewObject dst:reg8
- [ 26] PutByValue keyed_feedback:0, base:reg8, property:Int32(0), src:Int32(1), kind:Own
- [ 37] Call value_feedback:2, call_feedback:0, dst:reg6, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 4a] DynamicInitializeLexicalBinding `object`, src:reg6
- [ 51] GetGlobal value_feedback:3, dst:reg6, `expect_type_error`
- [ 5a] NewFunction dst:reg7, shared_function_data_index:0
- [ 65] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 78] GetGlobal value_feedback:5, dst:reg6, `object`
- [ 81] GetByValue value_feedback:6, keyed_feedback:1, dst:reg6, base:reg6, property:Int32(1)
- [ 90] StrictlyInequals arith_feedback:0, dst:reg6, lhs:reg6, rhs:Undefined
- [ 99] Mov dst:reg5, src:Undefined
- [ 9e] JumpFalse condition:reg6, target:block2
+ [ 4] Mov dst:reg5, src:String("use strict")
+ [ 7] GetGlobal value_feedback:0, dst:reg6, `Object`
+ [ 10] GetById value_feedback:1, dst:reg7, base:reg6, `preventExtensions`
+ [ 1c] NewObject dst:reg8
+ [ 20] PutByValue keyed_feedback:0, base:reg8, property:Int32(0), src:Int32(1), kind:Own
+ [ 2e] Call value_feedback:2, call_feedback:0, dst:reg6, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 3a] DynamicInitializeLexicalBinding `object`, src:reg6
+ [ 41] GetGlobal value_feedback:3, dst:reg6, `expect_type_error`
+ [ 4a] NewFunction dst:reg7, shared_function_data_index:0
+ [ 54] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 60] GetGlobal value_feedback:5, dst:reg6, `object`
+ [ 69] GetByValue value_feedback:6, keyed_feedback:1, dst:reg6, base:reg6, property:Int32(1)
+ [ 75] StrictlyInequals arith_feedback:0, dst:reg6, lhs:reg6, rhs:Undefined
+ [ 7b] Mov dst:reg5, src:Undefined
+ [ 7e] JumpFalse condition:reg6, target:block2
block1:
- [ a5] GetGlobal value_feedback:7, dst:reg6, `Error`
- [ ae] CallConstruct value_feedback:8, call_feedback:2, dst:reg6, callee:reg6, arguments:[String("Indexed object append mutated")]
- [ bf] Throw src:reg6
+ [ 84] GetGlobal value_feedback:7, dst:reg6, `Error`
+ [ 8d] CallConstruct value_feedback:8, call_feedback:2, dst:reg6, callee:reg6, arguments:[String("Indexed object append mutated")]
+ [ 98] Throw src:reg6
block2:
- [ c2] NewPrimitiveArray dst:reg6, elements:[1, 2]
- [ d9] DynamicInitializeLexicalBinding `array`, src:reg6
- [ e0] GetGlobal value_feedback:9, dst:reg6, `Object`
- [ e9] GetById value_feedback:10, dst:reg7, base:reg6, `defineProperty`
- [ f6] GetGlobal value_feedback:11, dst:reg8, `array`
- [ ff] NewObject dst:reg9
- [ 104] InitObjectLiteralProperty object:reg9, `writable`, src:Bool(false), shape_cache_index:0, property_slot:0
- [ 113] CacheObjectShape object:reg9
- [ 118] Call value_feedback:12, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8, String("length"), reg9]
- [ 12f] GetGlobal value_feedback:13, dst:reg6, `expect_type_error`
- [ 138] NewFunction dst:reg7, shared_function_data_index:1
- [ 143] Call value_feedback:14, call_feedback:4, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 156] GetGlobal value_feedback:15, dst:reg6, `array`
- [ 15f] GetLength value_feedback:16, keyed_feedback:2, dst:reg6, base:reg6
- [ 16c] StrictlyInequalsRhsInt32 arith_feedback:1, dst:reg6, lhs:reg6, rhs:2
- [ 177] Mov dst:reg5, src:Undefined
- [ 17c] JumpFalse condition:reg6, target:block4
+ [ 9a] NewPrimitiveArray dst:reg6, elements:[1, 2]
+ [ b0] DynamicInitializeLexicalBinding `array`, src:reg6
+ [ b7] GetGlobal value_feedback:9, dst:reg6, `Object`
+ [ c0] GetById value_feedback:10, dst:reg7, base:reg6, `defineProperty`
+ [ cc] GetGlobal value_feedback:11, dst:reg8, `array`
+ [ d5] NewObject dst:reg9
+ [ d9] InitObjectLiteralProperty object:reg9, `writable`, src:Bool(false), shape_cache_index:0, property_slot:0
+ [ e7] CacheObjectShape object:reg9
+ [ eb] Call value_feedback:12, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8, String("length"), reg9]
+ [ f9] GetGlobal value_feedback:13, dst:reg6, `expect_type_error`
+ [ 102] NewFunction dst:reg7, shared_function_data_index:1
+ [ 10c] Call value_feedback:14, call_feedback:4, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 118] GetGlobal value_feedback:15, dst:reg6, `array`
+ [ 121] GetLength value_feedback:16, keyed_feedback:2, dst:reg6, base:reg6
+ [ 12c] StrictlyInequalsRhsInt32 arith_feedback:1, dst:reg6, lhs:reg6, rhs:2
+ [ 135] Mov dst:reg5, src:Undefined
+ [ 138] JumpFalse condition:reg6, target:block4
block3:
- [ 183] GetGlobal value_feedback:17, dst:reg6, `Error`
- [ 18c] CallConstruct value_feedback:18, call_feedback:5, dst:reg6, callee:reg6, arguments:[String("Array length changed")]
- [ 19d] Throw src:reg6
+ [ 13e] GetGlobal value_feedback:17, dst:reg6, `Error`
+ [ 147] CallConstruct value_feedback:18, call_feedback:5, dst:reg6, callee:reg6, arguments:[String("Array length changed")]
+ [ 152] Throw src:reg6
block4:
- [ 1a0] GetGlobal value_feedback:19, dst:reg6, `array`
- [ 1a9] GetByValue value_feedback:20, keyed_feedback:3, dst:reg6, base:reg6, property:Int32(2)
- [ 1b8] StrictlyInequals arith_feedback:2, dst:reg6, lhs:reg6, rhs:Undefined
- [ 1c1] Mov dst:reg5, src:Undefined
- [ 1c6] JumpFalse condition:reg6, target:block6
+ [ 154] GetGlobal value_feedback:19, dst:reg6, `array`
+ [ 15d] GetByValue value_feedback:20, keyed_feedback:3, dst:reg6, base:reg6, property:Int32(2)
+ [ 169] StrictlyInequals arith_feedback:2, dst:reg6, lhs:reg6, rhs:Undefined
+ [ 16f] Mov dst:reg5, src:Undefined
+ [ 172] JumpFalse condition:reg6, target:block6
block5:
- [ 1cd] GetGlobal value_feedback:21, dst:reg6, `Error`
- [ 1d6] CallConstruct value_feedback:22, call_feedback:6, dst:reg6, callee:reg6, arguments:[String("Array append mutated")]
- [ 1e7] Throw src:reg6
+ [ 178] GetGlobal value_feedback:21, dst:reg6, `Error`
+ [ 181] CallConstruct value_feedback:22, call_feedback:6, dst:reg6, callee:reg6, arguments:[String("Array append mutated")]
+ [ 18c] Throw src:reg6
block6:
- [ 1ea] End value:reg5
+ [ 18e] End value:reg5
-expect_type_error$aca028cf indexed-append-guards.js:4:9
+expect_type_error$d6153900 indexed-append-guards.js:4:9
Registers: 7
Blocks: 8
Locals: did_throw~0, error~1
@@ -93,42 +93,42 @@ block0:
[ 1] Mov dst:did_throw~0, src:Bool(false)
block1:
- [ 6] Call value_feedback:0, call_feedback:0, dst:reg5, callee:arg0, this_value:Undefined
- [ 17] Jump target:block5
+ [ 4] Call value_feedback:0, call_feedback:0, dst:reg5, callee:arg0, this_value:Undefined
+ [ f] Jump target:block5
block2:
- [ 1c] Catch value_feedback:1, dst:reg5
- [ 21] Mov dst:error~1, src:<Empty>
- [ 26] Mov dst:error~1, src:reg5
- [ 2b] GetGlobal value_feedback:2, dst:reg6, `TypeError`
- [ 34] InstanceOf dst:reg6, lhs:error~1, rhs:reg6
- [ 3b] Not dst:reg6, src:reg6
- [ 40] JumpFalse condition:reg6, target:block4
+ [ 14] Catch value_feedback:1, dst:reg5
+ [ 18] Mov dst:error~1, src:<Empty>
+ [ 1b] Mov dst:error~1, src:reg5
+ [ 1e] GetGlobal value_feedback:2, dst:reg6, `TypeError`
+ [ 27] InstanceOf dst:reg6, lhs:error~1, rhs:reg6
+ [ 2b] Not dst:reg6, src:reg6
+ [ 2e] JumpFalse condition:reg6, target:block4
block3:
- [ 47] Throw src:error~1
+ [ 34] Throw src:error~1
block4:
- [ 4a] Mov dst:did_throw~0, src:Bool(true)
- [ 4f] Jump target:block5
+ [ 36] Mov dst:did_throw~0, src:Bool(true)
+ [ 39] Jump target:block5
block5:
- [ 54] Not dst:reg5, src:did_throw~0
- [ 59] JumpFalse condition:reg5, target:block7
+ [ 3e] Not dst:reg5, src:did_throw~0
+ [ 41] JumpFalse condition:reg5, target:block7
block6:
- [ 60] GetGlobal value_feedback:3, dst:reg5, `Error`
- [ 69] CallConstruct value_feedback:4, call_feedback:1, dst:reg5, callee:reg5, arguments:[String("Expected TypeError")]
- [ 7a] Throw src:reg5
+ [ 47] GetGlobal value_feedback:3, dst:reg5, `Error`
+ [ 50] CallConstruct value_feedback:4, call_feedback:1, dst:reg5, callee:reg5, arguments:[String("Expected TypeError")]
+ [ 5b] Throw src:reg5
block7:
- [ 7d] End value:Undefined
+ [ 5d] End value:Undefined
Exception handlers:
- [ 6 .. 1c] => handler block2
+ [ 4 .. 14] => handler block2
-$13b3d23c indexed-append-guards.js:18:5
+$d302d5f8 indexed-append-guards.js:18:5
Registers: 6
Blocks: 1
Constants:
@@ -140,10 +140,10 @@ block0:
[ 0] Enter
[ 1] GetGlobal value_feedback:0, dst:reg5, `object`
[ a] PutByValue keyed_feedback:0, base:reg5, property:Int32(1), src:Int32(2), kind:Normal
- [ 1b] End value:Undefined
+ [ 18] End value:Undefined
-$c985f73e indexed-append-guards.js:26:5
+$a5078f84 indexed-append-guards.js:26:5
Registers: 7
Blocks: 1
Constants:
@@ -155,5 +155,5 @@ block0:
[ 1] GetGlobal value_feedback:0, dst:reg5, `array`
[ a] GetGlobal value_feedback:1, dst:reg6, `array`
[ 13] GetLength value_feedback:2, keyed_feedback:0, dst:reg6, base:reg6
- [ 20] PutByValue keyed_feedback:1, base:reg5, property:reg6, src:Int32(3), kind:Normal
- [ 31] End value:Undefined
+ [ 1e] PutByValue keyed_feedback:1, base:reg5, property:reg6, src:Int32(3), kind:Normal
+ [ 2c] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/int32-binary-specializations.txt b/Tests/LibJS/Bytecode/expected/int32-binary-specializations.txt
index 80811a65289..a962433e839 100644
--- a/Tests/LibJS/Bytecode/expected/int32-binary-specializations.txt
+++ b/Tests/LibJS/Bytecode/expected/int32-binary-specializations.txt
@@ -1,4 +1,4 @@
-$fac59f15 int32-binary-specializations.js:20:1
+$e41aecab int32-binary-specializations.js:20:1
Registers: 7
Blocks: 1
Constants:
@@ -8,12 +8,12 @@ $fac59f15 int32-binary-specializations.js:20:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `int32_binary_specializations`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(8)]
- [ 22] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `int32_binary_specializations`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(8)]
+ [ 19] End value:reg5
-int32_binary_specializations$dae9eeec int32-binary-specializations.js:2:5
+int32_binary_specializations$d825fddc int32-binary-specializations.js:2:5
Registers: 20
Blocks: 1
Constants:
@@ -22,18 +22,18 @@ int32_binary_specializations$dae9eeec int32-binary-specializations.js:2:5
block0:
[ 0] Enter
[ 1] AddLhsInt32 arith_feedback:0, dst:reg5, lhs:2, rhs:arg0
- [ c] AddRhsInt32 arith_feedback:1, dst:reg6, lhs:arg0, rhs:2
- [ 17] SubRhsInt32 arith_feedback:2, dst:reg7, lhs:arg0, rhs:2
- [ 22] MulRhsInt32 arith_feedback:3, dst:reg8, lhs:arg0, rhs:2
- [ 2d] ExpRhsInt32 arith_feedback:4, dst:reg9, lhs:arg0, rhs:2
- [ 38] DivRhsInt32 arith_feedback:5, dst:reg10, lhs:arg0, rhs:2
- [ 43] BitwiseXorRhsInt32 arith_feedback:6, dst:reg11, lhs:arg0, rhs:2
- [ 4e] BitwiseAndRhsInt32 arith_feedback:7, dst:reg12, lhs:arg0, rhs:2
- [ 59] BitwiseOrRhsInt32 arith_feedback:8, dst:reg13, lhs:arg0, rhs:2
- [ 64] LeftShiftRhsInt32 arith_feedback:9, dst:reg14, lhs:arg0, rhs:2
- [ 6f] RightShiftRhsInt32 arith_feedback:10, dst:reg15, lhs:arg0, rhs:2
- [ 7a] UnsignedRightShiftRhsInt32 arith_feedback:11, dst:reg16, lhs:arg0, rhs:2
- [ 85] ModRhsInt32 arith_feedback:12, dst:reg17, lhs:arg0, rhs:2
- [ 90] Add arith_feedback:13, dst:reg18, lhs:arg0, rhs:Double(2.5)
- [ 99] NewArray dst:reg19, elements:[reg5, reg6, reg7, reg8, reg9, reg10, reg11, reg12, reg13, reg14, reg15, reg16, reg17, reg18]
- [ bc] Return value:reg19
+ [ a] AddRhsInt32 arith_feedback:1, dst:reg6, lhs:arg0, rhs:2
+ [ 13] SubRhsInt32 arith_feedback:2, dst:reg7, lhs:arg0, rhs:2
+ [ 1c] MulRhsInt32 arith_feedback:3, dst:reg8, lhs:arg0, rhs:2
+ [ 25] ExpRhsInt32 arith_feedback:4, dst:reg9, lhs:arg0, rhs:2
+ [ 2e] DivRhsInt32 arith_feedback:5, dst:reg10, lhs:arg0, rhs:2
+ [ 37] BitwiseXorRhsInt32 arith_feedback:6, dst:reg11, lhs:arg0, rhs:2
+ [ 40] BitwiseAndRhsInt32 arith_feedback:7, dst:reg12, lhs:arg0, rhs:2
+ [ 49] BitwiseOrRhsInt32 arith_feedback:8, dst:reg13, lhs:arg0, rhs:2
+ [ 52] LeftShiftRhsInt32 arith_feedback:9, dst:reg14, lhs:arg0, rhs:2
+ [ 5b] RightShiftRhsInt32 arith_feedback:10, dst:reg15, lhs:arg0, rhs:2
+ [ 64] UnsignedRightShiftRhsInt32 arith_feedback:11, dst:reg16, lhs:arg0, rhs:2
+ [ 6d] ModRhsInt32 arith_feedback:12, dst:reg17, lhs:arg0, rhs:2
+ [ 76] Add arith_feedback:13, dst:reg18, lhs:arg0, rhs:Double(2.5)
+ [ 7c] NewArray dst:reg19, elements:[reg5, reg6, reg7, reg8, reg9, reg10, reg11, reg12, reg13, reg14, reg15, reg16, reg17, reg18]
+ [ 8d] Return value:reg19
diff --git a/Tests/LibJS/Bytecode/expected/int32-comparison-specializations.txt b/Tests/LibJS/Bytecode/expected/int32-comparison-specializations.txt
index 1a861fceb3d..bbce3acf3d9 100644
--- a/Tests/LibJS/Bytecode/expected/int32-comparison-specializations.txt
+++ b/Tests/LibJS/Bytecode/expected/int32-comparison-specializations.txt
@@ -1,4 +1,4 @@
-$3f9bbd56 int32-comparison-specializations.js:35:1
+$7c6c64f7 int32-comparison-specializations.js:35:1
Registers: 7
Blocks: 1
Constants:
@@ -8,32 +8,32 @@ $3f9bbd56 int32-comparison-specializations.js:35:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `comparison_results`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
- [ 22] GetGlobal value_feedback:2, dst:reg6, `comparison_jumps`
- [ 2b] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
- [ 3e] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `comparison_results`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
+ [ 19] GetGlobal value_feedback:2, dst:reg6, `comparison_jumps`
+ [ 22] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
+ [ 2e] End value:reg5
-comparison_results$f17caf4d int32-comparison-specializations.js:2:5
+comparison_results$5b1791d8 int32-comparison-specializations.js:2:5
Registers: 14
Blocks: 1
block0:
[ 0] Enter
[ 1] LessThanRhsInt32 arith_feedback:0, dst:reg5, lhs:arg0, rhs:2
- [ c] LessThanEqualsRhsInt32 arith_feedback:1, dst:reg6, lhs:arg0, rhs:2
- [ 17] GreaterThanRhsInt32 arith_feedback:2, dst:reg7, lhs:arg0, rhs:2
- [ 22] GreaterThanEqualsRhsInt32 arith_feedback:3, dst:reg8, lhs:arg0, rhs:2
- [ 2d] StrictlyEqualsRhsInt32 arith_feedback:4, dst:reg9, lhs:arg0, rhs:2
- [ 38] StrictlyInequalsRhsInt32 arith_feedback:5, dst:reg10, lhs:arg0, rhs:2
- [ 43] LooselyEqualsRhsInt32 arith_feedback:6, dst:reg11, lhs:arg0, rhs:2
- [ 4e] LooselyInequalsRhsInt32 arith_feedback:7, dst:reg12, lhs:arg0, rhs:2
- [ 59] NewArray dst:reg13, elements:[reg5, reg6, reg7, reg8, reg9, reg10, reg11, reg12]
- [ 70] Return value:reg13
-
-
-comparison_jumps$762776ad int32-comparison-specializations.js:15:9
+ [ a] LessThanEqualsRhsInt32 arith_feedback:1, dst:reg6, lhs:arg0, rhs:2
+ [ 13] GreaterThanRhsInt32 arith_feedback:2, dst:reg7, lhs:arg0, rhs:2
+ [ 1c] GreaterThanEqualsRhsInt32 arith_feedback:3, dst:reg8, lhs:arg0, rhs:2
+ [ 25] StrictlyEqualsRhsInt32 arith_feedback:4, dst:reg9, lhs:arg0, rhs:2
+ [ 2e] StrictlyInequalsRhsInt32 arith_feedback:5, dst:reg10, lhs:arg0, rhs:2
+ [ 37] LooselyEqualsRhsInt32 arith_feedback:6, dst:reg11, lhs:arg0, rhs:2
+ [ 40] LooselyInequalsRhsInt32 arith_feedback:7, dst:reg12, lhs:arg0, rhs:2
+ [ 49] NewArray dst:reg13, elements:[reg5, reg6, reg7, reg8, reg9, reg10, reg11, reg12]
+ [ 54] Return value:reg13
+
+
+comparison_jumps$8b2a9b9a int32-comparison-specializations.js:15:9
Registers: 6
Blocks: 17
Locals: result~0
@@ -43,52 +43,52 @@ comparison_jumps$762776ad int32-comparison-specializations.js:15:9
block0:
[ 0] Enter
[ 1] Mov dst:result~0, src:Int32(0)
- [ 6] JumpLessThanRhsInt32 arith_feedback:0, lhs:arg0, rhs:2, true_target:block1, false_target:block2
+ [ 4] JumpLessThanRhsInt32 arith_feedback:0, lhs:arg0, rhs:2, true_target:block1, false_target:block2
block1:
- [ 17] AddRhsInt32 arith_feedback:1, dst:result~0, lhs:result~0, rhs:1
+ [ 14] AddRhsInt32 arith_feedback:1, dst:result~0, lhs:result~0, rhs:1
block2:
- [ 22] JumpLessThanEqualsRhsInt32 arith_feedback:2, lhs:arg0, rhs:2, true_target:block3, false_target:block4
+ [ 1d] JumpLessThanEqualsRhsInt32 arith_feedback:2, lhs:arg0, rhs:2, true_target:block3, false_target:block4
block3:
- [ 33] AddRhsInt32 arith_feedback:3, dst:result~0, lhs:result~0, rhs:2
+ [ 2d] AddRhsInt32 arith_feedback:3, dst:result~0, lhs:result~0, rhs:2
block4:
- [ 3e] JumpGreaterThanRhsInt32 arith_feedback:4, lhs:arg0, rhs:2, true_target:block5, false_target:block6
+ [ 36] JumpGreaterThanRhsInt32 arith_feedback:4, lhs:arg0, rhs:2, true_target:block5, false_target:block6
block5:
- [ 4f] AddRhsInt32 arith_feedback:5, dst:result~0, lhs:result~0, rhs:4
+ [ 46] AddRhsInt32 arith_feedback:5, dst:result~0, lhs:result~0, rhs:4
block6:
- [ 5a] JumpGreaterThanEqualsRhsInt32 arith_feedback:6, lhs:arg0, rhs:2, true_target:block7, false_target:block8
+ [ 4f] JumpGreaterThanEqualsRhsInt32 arith_feedback:6, lhs:arg0, rhs:2, true_target:block7, false_target:block8
block7:
- [ 6b] AddRhsInt32 arith_feedback:7, dst:result~0, lhs:result~0, rhs:8
+ [ 5f] AddRhsInt32 arith_feedback:7, dst:result~0, lhs:result~0, rhs:8
block8:
- [ 76] JumpStrictlyEqualsRhsInt32 arith_feedback:8, lhs:arg0, rhs:2, true_target:block9, false_target:block10
+ [ 68] JumpStrictlyEqualsRhsInt32 arith_feedback:8, lhs:arg0, rhs:2, true_target:block9, false_target:block10
block9:
- [ 87] AddRhsInt32 arith_feedback:9, dst:result~0, lhs:result~0, rhs:16
+ [ 78] AddRhsInt32 arith_feedback:9, dst:result~0, lhs:result~0, rhs:16
block10:
- [ 92] JumpStrictlyInequalsRhsInt32 arith_feedback:10, lhs:arg0, rhs:2, true_target:block11, false_target:block12
+ [ 81] JumpStrictlyInequalsRhsInt32 arith_feedback:10, lhs:arg0, rhs:2, true_target:block11, false_target:block12
block11:
- [ a3] AddRhsInt32 arith_feedback:11, dst:result~0, lhs:result~0, rhs:32
+ [ 91] AddRhsInt32 arith_feedback:11, dst:result~0, lhs:result~0, rhs:32
block12:
- [ ae] JumpLooselyEqualsRhsInt32 arith_feedback:12, lhs:arg0, rhs:2, true_target:block13, false_target:block14
+ [ 9a] JumpLooselyEqualsRhsInt32 arith_feedback:12, lhs:arg0, rhs:2, true_target:block13, false_target:block14
block13:
- [ bf] AddRhsInt32 arith_feedback:13, dst:result~0, lhs:result~0, rhs:64
+ [ aa] AddRhsInt32 arith_feedback:13, dst:result~0, lhs:result~0, rhs:64
block14:
- [ ca] JumpLooselyInequalsRhsInt32 arith_feedback:14, lhs:arg0, rhs:2, true_target:block15, false_target:block16
+ [ b3] JumpLooselyInequalsRhsInt32 arith_feedback:14, lhs:arg0, rhs:2, true_target:block15, false_target:block16
block15:
- [ db] AddRhsInt32 arith_feedback:15, dst:result~0, lhs:result~0, rhs:128
+ [ c3] AddRhsInt32 arith_feedback:15, dst:result~0, lhs:result~0, rhs:128
block16:
- [ e6] Return value:result~0
+ [ cc] Return value:result~0
diff --git a/Tests/LibJS/Bytecode/expected/invalid-lhs-assignment-no-dead-code.txt b/Tests/LibJS/Bytecode/expected/invalid-lhs-assignment-no-dead-code.txt
index d19d49e1681..ef53232addc 100644
--- a/Tests/LibJS/Bytecode/expected/invalid-lhs-assignment-no-dead-code.txt
+++ b/Tests/LibJS/Bytecode/expected/invalid-lhs-assignment-no-dead-code.txt
@@ -1,4 +1,4 @@
-$e4f90765 invalid-lhs-assignment-no-dead-code.js:8:1
+$f2ccbcb5 invalid-lhs-assignment-no-dead-code.js:8:1
Registers: 8
Blocks: 4
Constants:
@@ -7,27 +7,27 @@ $e4f90765 invalid-lhs-assignment-no-dead-code.js:8:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg5, src:Undefined
+ [ 4] Mov dst:reg5, src:Undefined
block1:
- [ b] GetGlobal value_feedback:0, dst:reg6, `f`
- [ 14] NewFunction dst:reg7, shared_function_data_index:0
- [ 1f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 32] Jump target:block3
+ [ 7] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ 10] NewFunction dst:reg7, shared_function_data_index:0
+ [ 1a] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 26] Jump target:block3
block2:
- [ 37] Catch value_feedback:2, dst:reg6
- [ 3c] Mov dst:reg5, src:Undefined
- [ 41] Jump target:block3
+ [ 2b] Catch value_feedback:2, dst:reg6
+ [ 2f] Mov dst:reg5, src:Undefined
+ [ 32] Jump target:block3
block3:
- [ 46] End value:reg5
+ [ 37] End value:reg5
Exception handlers:
- [ b .. 37] => handler block2
+ [ 7 .. 2b] => handler block2
-f$dc75e942 invalid-lhs-assignment-no-dead-code.js:5:6
+f$ae0420db invalid-lhs-assignment-no-dead-code.js:5:6
Registers: 6
Blocks: 1
Constants:
@@ -36,11 +36,11 @@ f$dc75e942 invalid-lhs-assignment-no-dead-code.js:5:6
block0:
[ 0] Enter
[ 1] Call value_feedback:0, call_feedback:0, dst:reg5, callee:arg0, this_value:Undefined
- [ 12] NewReferenceError dst:reg5, Invalid left-hand side in assignment
- [ 17] Throw src:reg5
+ [ c] NewReferenceError dst:reg5, Invalid left-hand side in assignment
+ [ 11] Throw src:reg5
-$0ae4f8d1
+$9bc23426
Registers: 5
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/invalid-lhs-forin-no-dead-code.txt b/Tests/LibJS/Bytecode/expected/invalid-lhs-forin-no-dead-code.txt
index 29000b1e946..6d2fc06184b 100644
--- a/Tests/LibJS/Bytecode/expected/invalid-lhs-forin-no-dead-code.txt
+++ b/Tests/LibJS/Bytecode/expected/invalid-lhs-forin-no-dead-code.txt
@@ -1,4 +1,4 @@
-$afad6231 invalid-lhs-forin-no-dead-code.js:6:6
+$6c3874dd invalid-lhs-forin-no-dead-code.js:6:6
Registers: 13
Blocks: 4
Constants:
@@ -8,21 +8,21 @@ $afad6231 invalid-lhs-forin-no-dead-code.js:6:6
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] NewArray dst:reg6
- [ d] Mov dst:reg5, src:Undefined
- [ 12] JumpNullish condition:reg6, true_target:block3, false_target:block1
+ [ 4] NewArray dst:reg6
+ [ 7] Mov dst:reg5, src:Undefined
+ [ a] JumpNullish condition:reg6, true_target:block3, false_target:block1
block1:
- [ 1d] GetObjectPropertyIterator dst_keys:reg8, dst_receiver:reg7, object:reg6
- [ 28] Mov dst:reg9, src:Int32(0)
- [ 2d] ObjectPropertyIteratorNext dst_value:reg10, dst_done:reg11, receiver:reg7, keys:reg8, cursor:reg9
- [ 38] JumpTrue condition:reg11, target:block3
+ [ 14] GetObjectPropertyIterator dst_keys:reg8, dst_receiver:reg7, object:reg6
+ [ 1c] Mov dst:reg9, src:Int32(0)
+ [ 1f] ObjectPropertyIteratorNext dst_value:reg10, dst_done:reg11, receiver:reg7, keys:reg8, cursor:reg9
+ [ 25] JumpTrue condition:reg11, target:block3
block2:
- [ 3f] GetGlobal value_feedback:0, dst:reg12, `f`
- [ 48] Call value_feedback:1, call_feedback:0, dst:reg12, callee:reg12, this_value:Undefined
- [ 59] NewReferenceError dst:reg12, Invalid left-hand side in assignment
- [ 5e] Throw src:reg12
+ [ 2b] GetGlobal value_feedback:0, dst:reg12, `f`
+ [ 34] Call value_feedback:1, call_feedback:0, dst:reg12, callee:reg12, this_value:Undefined
+ [ 3f] NewReferenceError dst:reg12, Invalid left-hand side in assignment
+ [ 44] Throw src:reg12
block3:
- [ 61] End value:reg5
+ [ 46] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/lexical-env-teardown.txt b/Tests/LibJS/Bytecode/expected/lexical-env-teardown.txt
index 3cadb2ec269..ef40336f750 100644
--- a/Tests/LibJS/Bytecode/expected/lexical-env-teardown.txt
+++ b/Tests/LibJS/Bytecode/expected/lexical-env-teardown.txt
@@ -1,4 +1,4 @@
-$d60728c6 lexical-env-teardown.js:13:1
+$6000b72f lexical-env-teardown.js:13:1
Registers: 9
Blocks: 1
Constants:
@@ -7,47 +7,47 @@ $d60728c6 lexical-env-teardown.js:13:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] GetGlobal value_feedback:0, dst:reg6, `console`
- [ 12] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1f] GetGlobal value_feedback:2, dst:reg8, `withTeardown`
- [ 28] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
- [ 39] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 4c] GetGlobal value_feedback:5, dst:reg6, `console`
- [ 55] GetById value_feedback:6, dst:reg7, base:reg6, `log`
- [ 62] GetGlobal value_feedback:7, dst:reg8, `blockTeardown`
- [ 6b] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined
- [ 7c] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 8f] GetGlobal value_feedback:10, dst:reg6, `console`
- [ 98] GetById value_feedback:11, dst:reg7, base:reg6, `log`
- [ a5] GetGlobal value_feedback:12, dst:reg8, `forInTeardown`
- [ ae] Call value_feedback:13, call_feedback:4, dst:reg8, callee:reg8, this_value:Undefined
- [ bf] Call value_feedback:14, call_feedback:5, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ d2] GetGlobal value_feedback:15, dst:reg6, `console`
- [ db] GetById value_feedback:16, dst:reg7, base:reg6, `log`
- [ e8] GetGlobal value_feedback:17, dst:reg8, `forOfTeardown`
- [ f1] Call value_feedback:18, call_feedback:6, dst:reg8, callee:reg8, this_value:Undefined
- [ 102] Call value_feedback:19, call_feedback:7, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 115] GetGlobal value_feedback:20, dst:reg6, `console`
- [ 11e] GetById value_feedback:21, dst:reg7, base:reg6, `log`
- [ 12b] GetGlobal value_feedback:22, dst:reg8, `catchTeardown`
- [ 134] Call value_feedback:23, call_feedback:8, dst:reg8, callee:reg8, this_value:Undefined
- [ 145] Call value_feedback:24, call_feedback:9, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 158] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 166] CreateVariable `myName`, is_immutable:true, is_global:false, is_strict:false
- [ 170] NewFunction dst:reg6, shared_function_data_index:0
- [ 17b] InitializeLexicalBinding `myName`, src:reg6
- [ 188] SetLexicalEnvironment environment:reg4
- [ 18b] SetGlobal `namedFn`, src:reg6
- [ 192] GetGlobal value_feedback:25, dst:reg6, `console`
- [ 19b] GetById value_feedback:26, dst:reg7, base:reg6, `log`
- [ 1a8] GetGlobal value_feedback:27, dst:reg8, `namedFn`
- [ 1b1] Call value_feedback:28, call_feedback:10, dst:reg8, callee:reg8, this_value:Undefined
- [ 1c2] Call value_feedback:29, call_feedback:11, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 1d5] End value:reg5
-
-
-withTeardown$c6953928 lexical-env-teardown.js:7:9
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 1b] GetGlobal value_feedback:2, dst:reg8, `withTeardown`
+ [ 24] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
+ [ 2f] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 3b] GetGlobal value_feedback:5, dst:reg6, `console`
+ [ 44] GetById value_feedback:6, dst:reg7, base:reg6, `log`
+ [ 50] GetGlobal value_feedback:7, dst:reg8, `blockTeardown`
+ [ 59] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined
+ [ 64] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 70] GetGlobal value_feedback:10, dst:reg6, `console`
+ [ 79] GetById value_feedback:11, dst:reg7, base:reg6, `log`
+ [ 85] GetGlobal value_feedback:12, dst:reg8, `forInTeardown`
+ [ 8e] Call value_feedback:13, call_feedback:4, dst:reg8, callee:reg8, this_value:Undefined
+ [ 99] Call value_feedback:14, call_feedback:5, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ a5] GetGlobal value_feedback:15, dst:reg6, `console`
+ [ ae] GetById value_feedback:16, dst:reg7, base:reg6, `log`
+ [ ba] GetGlobal value_feedback:17, dst:reg8, `forOfTeardown`
+ [ c3] Call value_feedback:18, call_feedback:6, dst:reg8, callee:reg8, this_value:Undefined
+ [ ce] Call value_feedback:19, call_feedback:7, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ da] GetGlobal value_feedback:20, dst:reg6, `console`
+ [ e3] GetById value_feedback:21, dst:reg7, base:reg6, `log`
+ [ ef] GetGlobal value_feedback:22, dst:reg8, `catchTeardown`
+ [ f8] Call value_feedback:23, call_feedback:8, dst:reg8, callee:reg8, this_value:Undefined
+ [ 103] Call value_feedback:24, call_feedback:9, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 10f] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 11b] CreateVariable `myName`, is_immutable:true, is_global:false, is_strict:false
+ [ 126] NewFunction dst:reg6, shared_function_data_index:0
+ [ 130] InitializeLexicalBinding `myName`, src:reg6
+ [ 13d] SetLexicalEnvironment environment:reg4
+ [ 13f] SetGlobal `namedFn`, src:reg6
+ [ 146] GetGlobal value_feedback:25, dst:reg6, `console`
+ [ 14f] GetById value_feedback:26, dst:reg7, base:reg6, `log`
+ [ 15b] GetGlobal value_feedback:27, dst:reg8, `namedFn`
+ [ 164] Call value_feedback:28, call_feedback:10, dst:reg8, callee:reg8, this_value:Undefined
+ [ 16f] Call value_feedback:29, call_feedback:11, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 17b] End value:reg5
+
+
+withTeardown$a4dac27e lexical-env-teardown.js:7:9
Registers: 9
Blocks: 1
Locals: inner~0
@@ -58,21 +58,21 @@ withTeardown$c6953928 lexical-env-teardown.js:7:9
block0:
[ 0] Enter
[ 1] CreateVariable `outer`, is_immutable:false, is_global:false, is_strict:false
- [ b] GetLexicalEnvironment dst:reg4
+ [ c] GetLexicalEnvironment dst:reg4
[ e] InitializeLexicalBinding `outer`, src:Int32(1)
[ 1b] NewObject dst:reg5
- [ 20] InitObjectLiteralProperty object:reg5, `x`, src:Int32(10), shape_cache_index:0, property_slot:0
- [ 2f] CacheObjectShape object:reg5
- [ 34] EnterObjectEnvironment dst:reg6, object:reg5
- [ 39] DynamicGetBinding value_feedback:0, dst:reg7, `x`
- [ 42] DynamicGetBinding value_feedback:1, dst:reg8, `outer`
- [ 4b] Add arith_feedback:0, dst:inner~0, lhs:reg7, rhs:reg8
- [ 54] SetLexicalEnvironment environment:reg4
- [ 57] GetBinding value_feedback:2, dst:reg5, `outer`
- [ 66] Return value:reg5
-
-
-blockTeardown$f043e1b2 lexical-env-teardown.js:17:9
+ [ 1f] InitObjectLiteralProperty object:reg5, `x`, src:Int32(10), shape_cache_index:0, property_slot:0
+ [ 2d] CacheObjectShape object:reg5
+ [ 31] EnterObjectEnvironment dst:reg6, object:reg5
+ [ 34] DynamicGetBinding value_feedback:0, dst:reg7, `x`
+ [ 3d] DynamicGetBinding value_feedback:1, dst:reg8, `outer`
+ [ 46] Add arith_feedback:0, dst:inner~0, lhs:reg7, rhs:reg8
+ [ 4c] SetLexicalEnvironment environment:reg4
+ [ 4e] GetBinding value_feedback:2, dst:reg5, `outer`
+ [ 5d] Return value:reg5
+
+
+blockTeardown$e0c89ee5 lexical-env-teardown.js:17:9
Registers: 5
Blocks: 1
Locals: outer~0, inner~1
@@ -83,11 +83,11 @@ blockTeardown$f043e1b2 lexical-env-teardown.js:17:9
block0:
[ 0] Enter
[ 1] Mov dst:outer~0, src:Int32(2)
- [ 6] Mov dst:inner~1, src:Int32(3)
- [ b] Return value:outer~0
+ [ 4] Mov dst:inner~1, src:Int32(3)
+ [ 7] Return value:outer~0
-forInTeardown$5a818456 lexical-env-teardown.js:28:9
+forInTeardown$862f5bad lexical-env-teardown.js:28:9
Registers: 11
Blocks: 5
Locals: outer~0, k~1
@@ -101,31 +101,31 @@ forInTeardown$5a818456 lexical-env-teardown.js:28:9
block0:
[ 0] Enter
[ 1] Mov dst:outer~0, src:Int32(4)
- [ 6] Mov dst:k~1, src:<Empty>
- [ b] NewObject dst:reg6
- [ 10] InitObjectLiteralProperty object:reg6, `a`, src:Int32(1), shape_cache_index:0, property_slot:0
- [ 1f] InitObjectLiteralProperty object:reg6, `b`, src:Int32(2), shape_cache_index:0, property_slot:1
- [ 2e] CacheObjectShape object:reg6
- [ 33] Mov dst:reg5, src:reg6
- [ 38] JumpNullish condition:reg5, true_target:block4, false_target:block1
+ [ 4] Mov dst:k~1, src:<Empty>
+ [ 7] NewObject dst:reg6
+ [ b] InitObjectLiteralProperty object:reg6, `a`, src:Int32(1), shape_cache_index:0, property_slot:0
+ [ 19] InitObjectLiteralProperty object:reg6, `b`, src:Int32(2), shape_cache_index:0, property_slot:1
+ [ 27] CacheObjectShape object:reg6
+ [ 2b] Mov dst:reg5, src:reg6
+ [ 2e] JumpNullish condition:reg5, true_target:block4, false_target:block1
block1:
- [ 43] GetObjectPropertyIterator dst_keys:reg7, dst_receiver:reg6, object:reg5
- [ 4e] Mov dst:reg8, src:Int32(0)
+ [ 38] GetObjectPropertyIterator dst_keys:reg7, dst_receiver:reg6, object:reg5
+ [ 40] Mov dst:reg8, src:Int32(0)
block2:
- [ 53] ObjectPropertyIteratorNext dst_value:reg9, dst_done:reg10, receiver:reg6, keys:reg7, cursor:reg8
- [ 5e] JumpTrue condition:reg10, target:block4
+ [ 43] ObjectPropertyIteratorNext dst_value:reg9, dst_done:reg10, receiver:reg6, keys:reg7, cursor:reg8
+ [ 49] JumpTrue condition:reg10, target:block4
block3:
- [ 65] Mov dst:k~1, src:reg9
- [ 6a] JumpLoop target:block2
+ [ 4f] Mov dst:k~1, src:reg9
+ [ 52] JumpLoop target:block2
block4:
- [ 6f] Return value:outer~0
+ [ 57] Return value:outer~0
-forOfTeardown$9234e8e8 lexical-env-teardown.js:38:9
+forOfTeardown$0e0eff50 lexical-env-teardown.js:38:9
Registers: 12
Blocks: 5
Locals: outer~0, v~1
@@ -136,31 +136,31 @@ forOfTeardown$9234e8e8 lexical-env-teardown.js:38:9
block0:
[ 0] Enter
[ 1] Mov dst:outer~0, src:Int32(5)
- [ 6] Mov dst:v~1, src:<Empty>
- [ b] NewPrimitiveArray dst:reg5, elements:[10, 20]
- [ 22] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:true
+ [ 4] Mov dst:v~1, src:<Empty>
+ [ 7] NewPrimitiveArray dst:reg5, elements:[10, 20]
+ [ 1d] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:true
block1:
- [ 32] IteratorNextUnpack dst_value:reg9, dst_done:reg10, iterator_object:reg6, iterator_next:reg7, iterator_done:reg8
- [ 3d] JumpTrue condition:reg10, target:block4
+ [ 29] IteratorNextUnpack dst_value:reg9, dst_done:reg10, iterator_object:reg6, iterator_next:reg7, iterator_done:reg8
+ [ 2f] JumpTrue condition:reg10, target:block4
block2:
- [ 44] Mov dst:v~1, src:reg9
- [ 49] JumpLoop target:block1
+ [ 35] Mov dst:v~1, src:reg9
+ [ 38] JumpLoop target:block1
block3:
- [ 4e] Catch value_feedback:0, dst:reg11
- [ 53] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:reg11
- [ 62] Throw src:reg11
+ [ 3d] Catch value_feedback:0, dst:reg11
+ [ 41] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:reg11
+ [ 4c] Throw src:reg11
block4:
- [ 65] Return value:outer~0
+ [ 4e] Return value:outer~0
Exception handlers:
- [ 44 .. 4e] => handler block3
+ [ 35 .. 3d] => handler block3
-catchTeardown$0e41e3fb lexical-env-teardown.js:48:9
+catchTeardown$c0d995fa lexical-env-teardown.js:48:9
Registers: 6
Blocks: 4
Locals: outer~0, e~1
@@ -174,24 +174,24 @@ block0:
[ 1] Mov dst:outer~0, src:Int32(6)
block1:
- [ 6] GetGlobal value_feedback:0, dst:reg5, `Error`
- [ f] CallConstruct value_feedback:1, call_feedback:0, dst:reg5, callee:reg5, arguments:[String("test")]
- [ 20] Throw src:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg5, `Error`
+ [ d] CallConstruct value_feedback:1, call_feedback:0, dst:reg5, callee:reg5, arguments:[String("test")]
+ [ 18] Throw src:reg5
block2:
- [ 23] Catch value_feedback:2, dst:reg5
- [ 28] Mov dst:e~1, src:<Empty>
- [ 2d] Mov dst:e~1, src:reg5
- [ 32] Jump target:block3
+ [ 1a] Catch value_feedback:2, dst:reg5
+ [ 1e] Mov dst:e~1, src:<Empty>
+ [ 21] Mov dst:e~1, src:reg5
+ [ 24] Jump target:block3
block3:
- [ 37] Return value:outer~0
+ [ 29] Return value:outer~0
Exception handlers:
- [ 6 .. 23] => handler block2
+ [ 4 .. 1a] => handler block2
-myName$5cd63026 lexical-env-teardown.js:60:5
+myName$ad026f37 lexical-env-teardown.js:60:5
Registers: 6
Blocks: 1
diff --git a/Tests/LibJS/Bytecode/expected/local-source-order.txt b/Tests/LibJS/Bytecode/expected/local-source-order.txt
index 9d22f8016cd..50d0ff92f4a 100644
--- a/Tests/LibJS/Bytecode/expected/local-source-order.txt
+++ b/Tests/LibJS/Bytecode/expected/local-source-order.txt
@@ -1,4 +1,4 @@
-$c91963ab local-source-order.js:12:1
+$ef3f58e2 local-source-order.js:12:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $c91963ab local-source-order.js:12:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `source_order_locals`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `source_order_locals`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-source_order_locals$c0924a12 local-source-order.js:6:9
+source_order_locals$ca85aabf local-source-order.js:6:9
Registers: 6
Blocks: 1
Locals: zebra~0, yak~1, aardvark~2
@@ -24,8 +24,8 @@ source_order_locals$c0924a12 local-source-order.js:6:9
block0:
[ 0] Enter
[ 1] Mov dst:zebra~0, src:Int32(1)
- [ 6] Mov dst:yak~1, src:Int32(2)
- [ b] Mov dst:aardvark~2, src:Int32(3)
- [ 10] Add arith_feedback:0, dst:reg5, lhs:zebra~0, rhs:yak~1
- [ 19] Add arith_feedback:1, dst:reg5, lhs:reg5, rhs:aardvark~2
- [ 22] Return value:reg5
+ [ 4] Mov dst:yak~1, src:Int32(2)
+ [ 7] Mov dst:aardvark~2, src:Int32(3)
+ [ a] Add arith_feedback:0, dst:reg5, lhs:zebra~0, rhs:yak~1
+ [ 10] Add arith_feedback:1, dst:reg5, lhs:reg5, rhs:aardvark~2
+ [ 16] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/local-variables.txt b/Tests/LibJS/Bytecode/expected/local-variables.txt
index 55dae8edaca..7416ef0b5fd 100644
--- a/Tests/LibJS/Bytecode/expected/local-variables.txt
+++ b/Tests/LibJS/Bytecode/expected/local-variables.txt
@@ -1,4 +1,4 @@
-$985a2c27 local-variables.js:20:1
+$04b8ffc2 local-variables.js:20:1
Registers: 7
Blocks: 1
Constants:
@@ -7,16 +7,16 @@ $985a2c27 local-variables.js:20:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `simple_let`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] GetGlobal value_feedback:2, dst:reg6, `simple_const`
- [ 29] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
- [ 3a] GetGlobal value_feedback:4, dst:reg6, `multiple_locals`
- [ 43] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined
- [ 54] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `simple_let`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] GetGlobal value_feedback:2, dst:reg6, `simple_const`
+ [ 21] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
+ [ 2c] GetGlobal value_feedback:4, dst:reg6, `multiple_locals`
+ [ 35] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined
+ [ 40] End value:reg5
-simple_let$801dacbc local-variables.js:5:9
+simple_let$ae8f7523 local-variables.js:5:9
Registers: 5
Blocks: 1
Locals: x~0
@@ -26,10 +26,10 @@ simple_let$801dacbc local-variables.js:5:9
block0:
[ 0] Enter
[ 1] Mov dst:x~0, src:Int32(1)
- [ 6] Return value:x~0
+ [ 4] Return value:x~0
-simple_const$863cf2d1 local-variables.js:10:11
+simple_const$987c26ae local-variables.js:10:11
Registers: 5
Blocks: 1
Locals: y~0
@@ -39,10 +39,10 @@ simple_const$863cf2d1 local-variables.js:10:11
block0:
[ 0] Enter
[ 1] Mov dst:y~0, src:Int32(2)
- [ 6] Return value:y~0
+ [ 4] Return value:y~0
-multiple_locals$d7d7f65d local-variables.js:15:9
+multiple_locals$5939eee5 local-variables.js:15:9
Registers: 6
Blocks: 1
Locals: a~0, b~1
@@ -53,6 +53,6 @@ multiple_locals$d7d7f65d local-variables.js:15:9
block0:
[ 0] Enter
[ 1] Mov dst:a~0, src:Int32(1)
- [ 6] Mov dst:b~1, src:Int32(2)
- [ b] Add arith_feedback:0, dst:reg5, lhs:a~0, rhs:b~1
- [ 14] Return value:reg5
+ [ 4] Mov dst:b~1, src:Int32(2)
+ [ 7] Add arith_feedback:0, dst:reg5, lhs:a~0, rhs:b~1
+ [ d] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/logical-assignment-register-order.txt b/Tests/LibJS/Bytecode/expected/logical-assignment-register-order.txt
index acf7f8819a5..b45887d2661 100644
--- a/Tests/LibJS/Bytecode/expected/logical-assignment-register-order.txt
+++ b/Tests/LibJS/Bytecode/expected/logical-assignment-register-order.txt
@@ -1,4 +1,4 @@
-$3e3317d3 logical-assignment-register-order.js:2:1
+$722cc25a logical-assignment-register-order.js:2:1
Registers: 9
Blocks: 3
Constants:
@@ -7,14 +7,14 @@ $3e3317d3 logical-assignment-register-order.js:2:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `value`
- [ f] Mov dst:reg7, src:reg6
- [ 14] JumpFalse condition:reg7, target:block2
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `value`
+ [ d] Mov dst:reg7, src:reg6
+ [ 10] JumpFalse condition:reg7, target:block2
block1:
- [ 1b] NewFunction dst:reg7, shared_function_data_index:0 (value)
- [ 26] SetGlobal `value`, src:reg7
+ [ 16] NewFunction dst:reg7, shared_function_data_index:0 (value)
+ [ 20] SetGlobal `value`, src:reg7
block2:
- [ 2d] Mov dst:reg5, src:reg7
- [ 32] End value:reg5
+ [ 27] Mov dst:reg5, src:reg7
+ [ 2a] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/logical-constant-folding.txt b/Tests/LibJS/Bytecode/expected/logical-constant-folding.txt
index 90a95f1d65e..0810259410c 100644
--- a/Tests/LibJS/Bytecode/expected/logical-constant-folding.txt
+++ b/Tests/LibJS/Bytecode/expected/logical-constant-folding.txt
@@ -1,4 +1,4 @@
-$8156046c logical-constant-folding.js:1:5
+$9ac4a7e6 logical-constant-folding.js:1:5
Registers: 7
Blocks: 15
Constants:
@@ -12,60 +12,60 @@ $8156046c logical-constant-folding.js:1:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg6, src:Null
- [ b] JumpNullish condition:reg6, true_target:block1, false_target:block2
+ [ 4] Mov dst:reg6, src:Null
+ [ 7] JumpNullish condition:reg6, true_target:block1, false_target:block2
block1:
- [ 16] Mov dst:reg6, src:Int32(42)
+ [ 11] Mov dst:reg6, src:Int32(42)
block2:
- [ 1b] SetGlobal `a`, src:reg6
- [ 22] Mov dst:reg6, src:Undefined
- [ 27] JumpNullish condition:reg6, true_target:block3, false_target:block4
+ [ 14] SetGlobal `a`, src:reg6
+ [ 1b] Mov dst:reg6, src:Undefined
+ [ 1e] JumpNullish condition:reg6, true_target:block3, false_target:block4
block3:
- [ 32] Mov dst:reg6, src:Int32(42)
+ [ 28] Mov dst:reg6, src:Int32(42)
block4:
- [ 37] SetGlobal `b`, src:reg6
- [ 3e] Mov dst:reg6, src:Int32(0)
- [ 43] JumpNullish condition:reg6, true_target:block5, false_target:block6
+ [ 2b] SetGlobal `b`, src:reg6
+ [ 32] Mov dst:reg6, src:Int32(0)
+ [ 35] JumpNullish condition:reg6, true_target:block5, false_target:block6
block5:
- [ 4e] Mov dst:reg6, src:Int32(42)
+ [ 3f] Mov dst:reg6, src:Int32(42)
block6:
- [ 53] SetGlobal `c`, src:reg6
- [ 5a] Mov dst:reg6, src:Bool(false)
- [ 5f] JumpTrue condition:reg6, target:block8
+ [ 42] SetGlobal `c`, src:reg6
+ [ 49] Mov dst:reg6, src:Bool(false)
+ [ 4c] JumpTrue condition:reg6, target:block8
block7:
- [ 66] Mov dst:reg6, src:Int32(42)
+ [ 52] Mov dst:reg6, src:Int32(42)
block8:
- [ 6b] SetGlobal `d`, src:reg6
- [ 72] Mov dst:reg6, src:Bool(true)
- [ 77] JumpTrue condition:reg6, target:block10
+ [ 55] SetGlobal `d`, src:reg6
+ [ 5c] Mov dst:reg6, src:Bool(true)
+ [ 5f] JumpTrue condition:reg6, target:block10
block9:
- [ 7e] Mov dst:reg6, src:Int32(42)
+ [ 65] Mov dst:reg6, src:Int32(42)
block10:
- [ 83] SetGlobal `e`, src:reg6
- [ 8a] Mov dst:reg6, src:Bool(true)
- [ 8f] JumpFalse condition:reg6, target:block12
+ [ 68] SetGlobal `e`, src:reg6
+ [ 6f] Mov dst:reg6, src:Bool(true)
+ [ 72] JumpFalse condition:reg6, target:block12
block11:
- [ 96] Mov dst:reg6, src:Int32(42)
+ [ 78] Mov dst:reg6, src:Int32(42)
block12:
- [ 9b] SetGlobal `f`, src:reg6
- [ a2] Mov dst:reg6, src:Bool(false)
- [ a7] JumpFalse condition:reg6, target:block14
+ [ 7b] SetGlobal `f`, src:reg6
+ [ 82] Mov dst:reg6, src:Bool(false)
+ [ 85] JumpFalse condition:reg6, target:block14
block13:
- [ ae] Mov dst:reg6, src:Int32(42)
+ [ 8b] Mov dst:reg6, src:Int32(42)
block14:
- [ b3] SetGlobal `g`, src:reg6
- [ ba] End value:reg5
+ [ 8e] SetGlobal `g`, src:reg6
+ [ 95] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/logical-or-in-if-condition.txt b/Tests/LibJS/Bytecode/expected/logical-or-in-if-condition.txt
index 3d7c8bc9073..832c66ce3c4 100644
--- a/Tests/LibJS/Bytecode/expected/logical-or-in-if-condition.txt
+++ b/Tests/LibJS/Bytecode/expected/logical-or-in-if-condition.txt
@@ -1,4 +1,4 @@
-$6971e1cd logical-or-in-if-condition.js:12:1
+$3f6b97f3 logical-or-in-if-condition.js:12:1
Registers: 7
Blocks: 1
Constants:
@@ -8,12 +8,12 @@ $6971e1cd logical-or-in-if-condition.js:12:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `blocked`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Bool(false)]
- [ 22] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `blocked`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Bool(false)]
+ [ 19] End value:reg5
-blocked$7bc5e5e6 logical-or-in-if-condition.js:6:14
+blocked$6c4aa319 logical-or-in-if-condition.js:6:14
Registers: 6
Blocks: 8
Constants:
@@ -24,22 +24,22 @@ block0:
block1:
[ 1] Mov dst:reg5, src:arg0
- [ 6] JumpTrue condition:reg5, target:block3
+ [ 4] JumpTrue condition:reg5, target:block3
block2:
- [ d] Mov dst:reg5, src:arg0
+ [ a] Mov dst:reg5, src:arg0
block3:
- [ 12] JumpFalse condition:reg5, target:block5
+ [ d] JumpFalse condition:reg5, target:block5
block4:
- [ 19] Jump target:block6
+ [ 13] Jump target:block6
block5:
- [ 1e] Jump target:block7
+ [ 18] Jump target:block7
block6:
- [ 23] JumpLoop target:block1
+ [ 1d] JumpLoop target:block1
block7:
- [ 28] End value:Undefined
+ [ 22] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/logical-or-preferred-dst.txt b/Tests/LibJS/Bytecode/expected/logical-or-preferred-dst.txt
index 47e1320358b..cf343774146 100644
--- a/Tests/LibJS/Bytecode/expected/logical-or-preferred-dst.txt
+++ b/Tests/LibJS/Bytecode/expected/logical-or-preferred-dst.txt
@@ -1,4 +1,4 @@
-$24385a5a logical-or-preferred-dst.js:11:1
+$3ae30cc4 logical-or-preferred-dst.js:11:1
Registers: 7
Blocks: 1
Constants:
@@ -8,12 +8,12 @@ $24385a5a logical-or-preferred-dst.js:11:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `blocked`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Bool(false)]
- [ 22] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `blocked`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Bool(false)]
+ [ 19] End value:reg5
-blocked$05dbbfaf logical-or-preferred-dst.js:5:14
+blocked$913118e4 logical-or-preferred-dst.js:5:14
Registers: 7
Blocks: 8
Constants:
@@ -24,22 +24,22 @@ block0:
block1:
[ 1] Mov dst:reg5, src:arg0
- [ 6] JumpTrue condition:reg5, target:block3
+ [ 4] JumpTrue condition:reg5, target:block3
block2:
- [ d] GreaterThanRhsInt32 arith_feedback:0, dst:reg5, lhs:arg0, rhs:0
+ [ a] GreaterThanRhsInt32 arith_feedback:0, dst:reg5, lhs:arg0, rhs:0
block3:
- [ 18] JumpFalse condition:reg5, target:block5
+ [ 13] JumpFalse condition:reg5, target:block5
block4:
- [ 1f] Jump target:block6
+ [ 19] Jump target:block6
block5:
- [ 24] Jump target:block7
+ [ 1e] Jump target:block7
block6:
- [ 29] JumpLoop target:block1
+ [ 23] JumpLoop target:block1
block7:
- [ 2e] End value:Undefined
+ [ 28] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/mapped-arguments-parameter-bindings.txt b/Tests/LibJS/Bytecode/expected/mapped-arguments-parameter-bindings.txt
index 60c94eec40f..18f2acdc91f 100644
--- a/Tests/LibJS/Bytecode/expected/mapped-arguments-parameter-bindings.txt
+++ b/Tests/LibJS/Bytecode/expected/mapped-arguments-parameter-bindings.txt
@@ -1,4 +1,4 @@
-$0dbf5c89 mapped-arguments-parameter-bindings.js:4:1
+$4624859d mapped-arguments-parameter-bindings.js:4:1
Registers: 7
Blocks: 1
Constants:
@@ -10,12 +10,12 @@ $0dbf5c89 mapped-arguments-parameter-bindings.js:4:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `forward`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1), Int32(2), Int32(3)]
- [ 26] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `forward`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1), Int32(2), Int32(3)]
+ [ 1b] End value:reg5
-forward$794822e2 mapped-arguments-parameter-bindings.js:2:5
+forward$5a519d48 mapped-arguments-parameter-bindings.js:2:5
Registers: 7
Blocks: 1
Locals: arguments~0
@@ -25,14 +25,14 @@ forward$794822e2 mapped-arguments-parameter-bindings.js:2:5
block0:
[ 0] Enter
[ 1] CreateArguments dst:arguments~0, is_immutable:false, creates_parameter_bindings:true
- [ a] InitializeLexicalBinding `a`, src:Undefined
- [ 17] SetLexicalBinding `a`, src:arg0
- [ 24] InitializeLexicalBinding `b`, src:Undefined
- [ 31] SetLexicalBinding `b`, src:arg1
- [ 3e] SetLexicalBinding `a`, src:arg2
- [ 4b] GetLength value_feedback:0, keyed_feedback:0, dst:reg5, base:arguments~0
- [ 58] GetBinding value_feedback:1, dst:reg6, `a`
- [ 67] Add arith_feedback:0, dst:reg5, lhs:reg5, rhs:reg6
- [ 70] GetBinding value_feedback:2, dst:reg6, `b`
- [ 7f] Add arith_feedback:1, dst:reg5, lhs:reg5, rhs:reg6
- [ 88] Return value:reg5
+ [ 9] InitializeLexicalBinding `a`, src:Undefined
+ [ 16] SetLexicalBinding `a`, src:arg0
+ [ 23] InitializeLexicalBinding `b`, src:Undefined
+ [ 30] SetLexicalBinding `b`, src:arg1
+ [ 3d] SetLexicalBinding `a`, src:arg2
+ [ 4a] GetLength value_feedback:0, keyed_feedback:0, dst:reg5, base:arguments~0
+ [ 55] GetBinding value_feedback:1, dst:reg6, `a`
+ [ 64] Add arith_feedback:0, dst:reg5, lhs:reg5, rhs:reg6
+ [ 6a] GetBinding value_feedback:2, dst:reg6, `b`
+ [ 79] Add arith_feedback:1, dst:reg5, lhs:reg5, rhs:reg6
+ [ 7f] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/module-level-bindings.txt b/Tests/LibJS/Bytecode/expected/module-level-bindings.txt
index 0d6ed94e09a..c956de8dc9c 100644
--- a/Tests/LibJS/Bytecode/expected/module-level-bindings.txt
+++ b/Tests/LibJS/Bytecode/expected/module-level-bindings.txt
@@ -1,14 +1,14 @@
-outer$dbf33210 module-level-bindings.mjs:6:5
+outer$7c4bb032 module-level-bindings.mjs:6:5
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] NewFunction dst:reg5, shared_function_data_index:0
- [ c] Return value:reg5
+ [ b] Return value:reg5
-inner$d8edf944 module-level-bindings.mjs:7:18
+inner$eb2d2d21 module-level-bindings.mjs:7:18
Registers: 7
Blocks: 1
@@ -17,13 +17,13 @@ block0:
[ 1] GetBinding value_feedback:0, dst:reg5, `lexical`
[ 10] GetBinding value_feedback:1, dst:reg6, `constant`
[ 1f] Add arith_feedback:0, dst:reg5, lhs:reg5, rhs:reg6
- [ 28] SetLexicalBinding `variable`, src:reg5
- [ 35] GetCalleeAndThisFromEnvironment value_feedback:2, callee:reg5, this_value:reg6, `declared`
- [ 46] Call value_feedback:3, call_feedback:0, dst:reg5, callee:reg5, this_value:reg6
- [ 57] Return value:reg5
+ [ 25] SetLexicalBinding `variable`, src:reg5
+ [ 32] GetCalleeAndThisFromEnvironment value_feedback:2, callee:reg5, this_value:reg6, `declared`
+ [ 42] Call value_feedback:3, call_feedback:0, dst:reg5, callee:reg5, this_value:reg6
+ [ 4d] Return value:reg5
-declared$91a0f678 module-level-bindings.mjs:13:5
+declared$e1cd3589 module-level-bindings.mjs:13:5
Registers: 6
Blocks: 1
diff --git a/Tests/LibJS/Bytecode/expected/mov-merging.txt b/Tests/LibJS/Bytecode/expected/mov-merging.txt
index e95cb5f6ba5..e06ef58f080 100644
--- a/Tests/LibJS/Bytecode/expected/mov-merging.txt
+++ b/Tests/LibJS/Bytecode/expected/mov-merging.txt
@@ -1,4 +1,4 @@
-$ff67f1e5 mov-merging.js:14:1
+$87f95a0a mov-merging.js:14:1
Registers: 9
Blocks: 1
Constants:
@@ -7,20 +7,20 @@ $ff67f1e5 mov-merging.js:14:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `console`
- [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1c] GetGlobal value_feedback:2, dst:reg8, `twoLocals`
- [ 25] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
- [ 36] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 49] GetGlobal value_feedback:5, dst:reg6, `console`
- [ 52] GetById value_feedback:6, dst:reg7, base:reg6, `log`
- [ 5f] GetGlobal value_feedback:7, dst:reg8, `threeLocals`
- [ 68] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined
- [ 79] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 8c] End value:reg5
-
-
-twoLocals$c4658a93 mov-merging.js:2:9
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ d] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 19] GetGlobal value_feedback:2, dst:reg8, `twoLocals`
+ [ 22] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
+ [ 2d] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 39] GetGlobal value_feedback:5, dst:reg6, `console`
+ [ 42] GetById value_feedback:6, dst:reg7, base:reg6, `log`
+ [ 4e] GetGlobal value_feedback:7, dst:reg8, `threeLocals`
+ [ 57] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined
+ [ 62] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 6e] End value:reg5
+
+
+twoLocals$488b742b mov-merging.js:2:9
Registers: 6
Blocks: 1
Locals: a~0, b~1
@@ -31,12 +31,12 @@ twoLocals$c4658a93 mov-merging.js:2:9
block0:
[ 0] Enter
[ 1] Mov dst:a~0, src:Int32(1)
- [ 6] Mov dst:b~1, src:Int32(2)
- [ b] Add arith_feedback:0, dst:reg5, lhs:a~0, rhs:b~1
- [ 14] Return value:reg5
+ [ 4] Mov dst:b~1, src:Int32(2)
+ [ 7] Add arith_feedback:0, dst:reg5, lhs:a~0, rhs:b~1
+ [ d] Return value:reg5
-threeLocals$dde5d9f9 mov-merging.js:8:9
+threeLocals$4a44ad94 mov-merging.js:8:9
Registers: 6
Blocks: 1
Locals: a~0, b~1, c~2
@@ -48,11 +48,11 @@ threeLocals$dde5d9f9 mov-merging.js:8:9
block0:
[ 0] Enter
[ 1] Mov dst:a~0, src:Int32(1)
- [ 6] Mov dst:b~1, src:Int32(2)
- [ b] Mov dst:c~2, src:Int32(3)
- [ 10] Add arith_feedback:0, dst:reg5, lhs:a~0, rhs:b~1
- [ 19] Add arith_feedback:1, dst:reg5, lhs:reg5, rhs:c~2
- [ 22] Return value:reg5
+ [ 4] Mov dst:b~1, src:Int32(2)
+ [ 7] Mov dst:c~2, src:Int32(3)
+ [ a] Add arith_feedback:0, dst:reg5, lhs:a~0, rhs:b~1
+ [ 10] Add arith_feedback:1, dst:reg5, lhs:reg5, rhs:c~2
+ [ 16] Return value:reg5
3
diff --git a/Tests/LibJS/Bytecode/expected/named-class-expression-no-lhs-name-leak.txt b/Tests/LibJS/Bytecode/expected/named-class-expression-no-lhs-name-leak.txt
index 8f8c85eddd2..b6bf0a6ee61 100644
--- a/Tests/LibJS/Bytecode/expected/named-class-expression-no-lhs-name-leak.txt
+++ b/Tests/LibJS/Bytecode/expected/named-class-expression-no-lhs-name-leak.txt
@@ -1,4 +1,4 @@
-$17799407 named-class-expression-no-lhs-name-leak.js:1:1
+$3ebbecd1 named-class-expression-no-lhs-name-leak.js:1:1
Registers: 14
Blocks: 12
Constants:
@@ -8,51 +8,51 @@ $17799407 named-class-expression-no-lhs-name-leak.js:1:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] NewArray dst:reg6
- [ 10] Mov dst:reg7, src:Bool(false)
- [ 15] GetIterator dst_iterator_object:reg8, dst_iterator_next:reg9, dst_iterator_done:reg10, iterable:reg6, fast_array_mode_allowed:true
- [ 25] IteratorNextUnpack dst_value:reg11, dst_done:reg7, iterator_object:reg8, iterator_next:reg9, iterator_done:reg10
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] NewArray dst:reg6
+ [ 9] Mov dst:reg7, src:Bool(false)
+ [ c] GetIterator dst_iterator_object:reg8, dst_iterator_next:reg9, dst_iterator_done:reg10, iterable:reg6, fast_array_mode_allowed:true
+ [ 18] IteratorNextUnpack dst_value:reg11, dst_done:reg7, iterator_object:reg8, iterator_next:reg9, iterator_done:reg10
block1:
- [ 30] JumpFalse condition:reg7, target:block3
+ [ 1e] JumpFalse condition:reg7, target:block3
block2:
- [ 37] Mov dst:reg11, src:Undefined
+ [ 24] Mov dst:reg11, src:Undefined
block3:
- [ 3c] JumpUndefined condition:reg11, true_target:block4, false_target:block5
+ [ 27] JumpUndefined condition:reg11, true_target:block4, false_target:block5
block4:
- [ 47] CreateLexicalEnvironment dst:reg13, parent:reg4, capacity:1, is_catch_environment:false
- [ 55] CreateVariable `Foo`, is_immutable:true, is_global:false, is_strict:true
- [ 5f] SetLexicalEnvironment environment:reg4
- [ 62] NewClass dst:reg12, class_environment:reg13, class_blueprint_index:0
- [ 77] Mov dst:reg11, src:reg12
+ [ 31] CreateLexicalEnvironment dst:reg13, parent:reg4, capacity:1, is_catch_environment:false
+ [ 3d] CreateVariable `Foo`, is_immutable:true, is_global:false, is_strict:true
+ [ 48] SetLexicalEnvironment environment:reg4
+ [ 4a] NewClass dst:reg12, class_environment:reg13, class_blueprint_index:0, element_keys_are_in_array:false
+ [ 59] Mov dst:reg11, src:reg12
block5:
- [ 7c] SetGlobal `C`, src:reg11
+ [ 5c] SetGlobal `C`, src:reg11
block6:
- [ 83] JumpTrue condition:reg10, target:block11
+ [ 63] JumpTrue condition:reg10, target:block11
block7:
- [ 8a] IteratorClose iterator_object:reg8, iterator_next:reg9, iterator_done:reg10, completion_value:Undefined
- [ 99] Jump target:block11
+ [ 69] IteratorClose iterator_object:reg8, iterator_next:reg9, iterator_done:reg10, completion_value:Undefined
+ [ 74] Jump target:block11
block8:
- [ 9e] Catch value_feedback:0, dst:reg11
- [ a3] SetLexicalEnvironment environment:reg4
- [ a6] JumpTrue condition:reg10, target:block10
+ [ 79] Catch value_feedback:0, dst:reg11
+ [ 7d] SetLexicalEnvironment environment:reg4
+ [ 7f] JumpTrue condition:reg10, target:block10
block9:
- [ ad] IteratorClose iterator_object:reg8, iterator_next:reg9, iterator_done:reg10, completion_value:reg11
+ [ 85] IteratorClose iterator_object:reg8, iterator_next:reg9, iterator_done:reg10, completion_value:reg11
block10:
- [ bc] Throw src:reg11
+ [ 90] Throw src:reg11
block11:
- [ bf] End value:reg5
+ [ 92] End value:reg5
Exception handlers:
- [ 30 .. 83] => handler block8
+ [ 1e .. 63] => handler block8
diff --git a/Tests/LibJS/Bytecode/expected/named-function-expression-unused-name.txt b/Tests/LibJS/Bytecode/expected/named-function-expression-unused-name.txt
index 37a89da4554..732056ba627 100644
--- a/Tests/LibJS/Bytecode/expected/named-function-expression-unused-name.txt
+++ b/Tests/LibJS/Bytecode/expected/named-function-expression-unused-name.txt
@@ -1,4 +1,4 @@
-$85b35f83 named-function-expression-unused-name.js:24:1
+$82ef6e73 named-function-expression-unused-name.js:24:1
Registers: 7
Blocks: 1
Constants:
@@ -8,14 +8,14 @@ $85b35f83 named-function-expression-unused-name.js:24:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `outer`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
- [ 22] GetGlobal value_feedback:2, dst:reg6, `outerWithEval`
- [ 2b] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
- [ 3c] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `outer`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
+ [ 19] GetGlobal value_feedback:2, dst:reg6, `outerWithEval`
+ [ 22] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
+ [ 2d] End value:reg5
-outer$41dd6738 named-function-expression-unused-name.js:6:20
+outer$ca6ecf5d named-function-expression-unused-name.js:6:20
Registers: 7
Blocks: 1
Locals: unused~0, used~1, nested~2
@@ -23,35 +23,35 @@ outer$41dd6738 named-function-expression-unused-name.js:6:20
block0:
[ 0] Enter
[ 1] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
- [ b] InitializeLexicalBinding `x`, src:arg0
- [ 18] GetLexicalEnvironment dst:reg4
+ [ c] InitializeLexicalBinding `x`, src:arg0
+ [ 19] GetLexicalEnvironment dst:reg4
[ 1b] NewFunction dst:unused~0, shared_function_data_index:0
- [ 26] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:1, is_catch_environment:false
- [ 34] CreateVariable `g`, is_immutable:true, is_global:false, is_strict:false
- [ 3e] NewFunction dst:reg5, shared_function_data_index:1
- [ 49] InitializeLexicalBinding `g`, src:reg5
- [ 56] SetLexicalEnvironment environment:reg4
- [ 59] Mov dst:used~1, src:reg5
- [ 5e] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:1, is_catch_environment:false
- [ 6c] CreateVariable `h`, is_immutable:true, is_global:false, is_strict:false
- [ 76] NewFunction dst:reg5, shared_function_data_index:2
- [ 81] InitializeLexicalBinding `h`, src:reg5
- [ 8e] SetLexicalEnvironment environment:reg4
- [ 91] Mov dst:nested~2, src:reg5
- [ 96] NewArray dst:reg5, elements:[unused~0, used~1, nested~2]
- [ a3] Return value:reg5
+ [ 25] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:1, is_catch_environment:false
+ [ 31] CreateVariable `g`, is_immutable:true, is_global:false, is_strict:false
+ [ 3c] NewFunction dst:reg5, shared_function_data_index:1
+ [ 46] InitializeLexicalBinding `g`, src:reg5
+ [ 53] SetLexicalEnvironment environment:reg4
+ [ 55] Mov dst:used~1, src:reg5
+ [ 58] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:1, is_catch_environment:false
+ [ 64] CreateVariable `h`, is_immutable:true, is_global:false, is_strict:false
+ [ 6f] NewFunction dst:reg5, shared_function_data_index:2
+ [ 79] InitializeLexicalBinding `h`, src:reg5
+ [ 86] SetLexicalEnvironment environment:reg4
+ [ 88] Mov dst:nested~2, src:reg5
+ [ 8b] NewArray dst:reg5, elements:[unused~0, used~1, nested~2]
+ [ 91] Return value:reg5
-outerWithEval$524b39d4 named-function-expression-unused-name.js:19:5
+outerWithEval$8380f34b named-function-expression-unused-name.js:19:5
Registers: 7
Blocks: 1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:1, is_catch_environment:false
- [ 12] CreateVariable `i`, is_immutable:true, is_global:false, is_strict:false
- [ 1c] NewFunction dst:reg5, shared_function_data_index:0
- [ 27] InitializeLexicalBinding `i`, src:reg5
- [ 34] SetLexicalEnvironment environment:reg4
- [ 37] Return value:reg5
+ [ 3] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:1, is_catch_environment:false
+ [ f] CreateVariable `i`, is_immutable:true, is_global:false, is_strict:false
+ [ 1a] NewFunction dst:reg5, shared_function_data_index:0
+ [ 24] InitializeLexicalBinding `i`, src:reg5
+ [ 31] SetLexicalEnvironment environment:reg4
+ [ 33] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/named-function-expression.txt b/Tests/LibJS/Bytecode/expected/named-function-expression.txt
index f794b25dd32..7e38c444afc 100644
--- a/Tests/LibJS/Bytecode/expected/named-function-expression.txt
+++ b/Tests/LibJS/Bytecode/expected/named-function-expression.txt
@@ -1,4 +1,4 @@
-$613ab694 named-function-expression.js:4:1
+$afbf6828 named-function-expression.js:4:1
Registers: 9
Blocks: 4
Constants:
@@ -8,25 +8,25 @@ $613ab694 named-function-expression.js:4:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] ResolveGlobalBinding dst:reg6, `Oops`
- [ 10] CreateLexicalEnvironment dst:reg8, parent:reg4, capacity:1, is_catch_environment:false
- [ 1e] CreateVariable `Oops`, is_immutable:true, is_global:false, is_strict:false
- [ 28] NewFunction dst:reg7, shared_function_data_index:0
- [ 33] InitializeLexicalBinding `Oops`, src:reg7
- [ 40] SetLexicalEnvironment environment:reg4
- [ 43] JumpIf condition:reg6, true_target:block1, false_target:block2
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] ResolveGlobalBinding dst:reg6, `Oops`
+ [ d] CreateLexicalEnvironment dst:reg8, parent:reg4, capacity:1, is_catch_environment:false
+ [ 19] CreateVariable `Oops`, is_immutable:true, is_global:false, is_strict:false
+ [ 24] NewFunction dst:reg7, shared_function_data_index:0
+ [ 2e] InitializeLexicalBinding `Oops`, src:reg7
+ [ 3b] SetLexicalEnvironment environment:reg4
+ [ 3d] JumpIf condition:reg6, true_target:block1, false_target:block2
block1:
- [ 4e] SetGlobal `Oops`, src:reg7
- [ 55] Jump target:block3
+ [ 47] SetGlobal `Oops`, src:reg7
+ [ 4e] Jump target:block3
block2:
- [ 5a] SetResolvedBinding environment:Null, `Oops`, src:reg7
- [ 61] Jump target:block3
+ [ 53] SetResolvedBinding environment:Null, `Oops`, src:reg7
+ [ 59] Jump target:block3
block3:
- [ 66] Mov dst:reg5, src:reg7
- [ 6b] GetGlobal value_feedback:0, dst:reg6, `Oops`
- [ 74] GetById value_feedback:1, dst:reg5, base:reg6, `x`
- [ 81] End value:reg5
+ [ 5e] Mov dst:reg5, src:reg7
+ [ 61] GetGlobal value_feedback:0, dst:reg6, `Oops`
+ [ 6a] GetById value_feedback:1, dst:reg5, base:reg6, `x`
+ [ 76] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/nested-for-loop-completion.txt b/Tests/LibJS/Bytecode/expected/nested-for-loop-completion.txt
index 521a8033c8a..6e8dc5fd4f7 100644
--- a/Tests/LibJS/Bytecode/expected/nested-for-loop-completion.txt
+++ b/Tests/LibJS/Bytecode/expected/nested-for-loop-completion.txt
@@ -1,4 +1,4 @@
-$cf059991 nested-for-loop-completion.js:4:5
+$43b0405c nested-for-loop-completion.js:4:5
Registers: 8
Blocks: 7
Constants:
@@ -9,32 +9,32 @@ $cf059991 nested-for-loop-completion.js:4:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg5, src:Undefined
- [ b] SetGlobal `n`, src:Int32(4)
- [ 12] Jump target:block5
+ [ 4] Mov dst:reg5, src:Undefined
+ [ 7] SetGlobal `n`, src:Int32(4)
+ [ e] Jump target:block5
block1:
- [ 17] Mov dst:reg5, src:Undefined
- [ 1c] SetGlobal `depth`, src:Int32(0)
- [ 23] Jump target:block3
+ [ 13] Mov dst:reg5, src:Undefined
+ [ 16] SetGlobal `depth`, src:Int32(0)
+ [ 1d] Jump target:block3
block2:
- [ 28] GetGlobal value_feedback:0, dst:reg6, `depth`
- [ 31] AddRhsInt32 arith_feedback:0, dst:reg7, lhs:reg6, rhs:2
- [ 3c] SetGlobal `depth`, src:reg7
+ [ 22] GetGlobal value_feedback:0, dst:reg6, `depth`
+ [ 2b] AddRhsInt32 arith_feedback:0, dst:reg7, lhs:reg6, rhs:2
+ [ 34] SetGlobal `depth`, src:reg7
block3:
- [ 43] GetGlobal value_feedback:1, dst:reg6, `depth`
- [ 4c] JumpLessThanEqualsLoopRhsInt32 arith_feedback:1, lhs:reg6, rhs:0, true_target:block2, false_target:block4
+ [ 3b] GetGlobal value_feedback:1, dst:reg6, `depth`
+ [ 44] JumpLessThanEqualsLoopRhsInt32 arith_feedback:1, lhs:reg6, rhs:0, true_target:block2, false_target:block4
block4:
- [ 5d] GetGlobal value_feedback:2, dst:reg6, `n`
- [ 66] AddRhsInt32 arith_feedback:2, dst:reg7, lhs:reg6, rhs:1
- [ 71] SetGlobal `n`, src:reg7
+ [ 54] GetGlobal value_feedback:2, dst:reg6, `n`
+ [ 5d] AddRhsInt32 arith_feedback:2, dst:reg7, lhs:reg6, rhs:1
+ [ 66] SetGlobal `n`, src:reg7
block5:
- [ 78] GetGlobal value_feedback:3, dst:reg6, `n`
- [ 81] JumpLessThanEqualsLoopRhsInt32 arith_feedback:3, lhs:reg6, rhs:7, true_target:block1, false_target:block6
+ [ 6d] GetGlobal value_feedback:3, dst:reg6, `n`
+ [ 76] JumpLessThanEqualsLoopRhsInt32 arith_feedback:3, lhs:reg6, rhs:7, true_target:block1, false_target:block6
block6:
- [ 92] End value:reg5
+ [ 86] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/nested-function-decl-source-order.txt b/Tests/LibJS/Bytecode/expected/nested-function-decl-source-order.txt
index aed78d2c51b..c085b7f0eac 100644
--- a/Tests/LibJS/Bytecode/expected/nested-function-decl-source-order.txt
+++ b/Tests/LibJS/Bytecode/expected/nested-function-decl-source-order.txt
@@ -1,4 +1,4 @@
-$31429ce7 nested-function-decl-source-order.js:15:1
+$792308c8 nested-function-decl-source-order.js:15:1
Registers: 10
Blocks: 1
Constants:
@@ -8,17 +8,17 @@ $31429ce7 nested-function-decl-source-order.js:15:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `console`
- [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1c] GetGlobal value_feedback:2, dst:reg8, `outer`
- [ 25] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
- [ 36] GetById value_feedback:4, dst:reg9, base:reg8, `join`
- [ 43] Call value_feedback:5, call_feedback:1, dst:reg8, callee:reg9, this_value:reg8, arguments:[String(",")]
- [ 56] Call value_feedback:6, call_feedback:2, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 69] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ d] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 19] GetGlobal value_feedback:2, dst:reg8, `outer`
+ [ 22] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
+ [ 2d] GetById value_feedback:4, dst:reg9, base:reg8, `join`
+ [ 39] Call value_feedback:5, call_feedback:1, dst:reg8, callee:reg9, this_value:reg8, arguments:[String(",")]
+ [ 45] Call value_feedback:6, call_feedback:2, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 51] End value:reg5
-outer$1edcf57a nested-function-decl-source-order.js:6:5
+outer$926b38b2 nested-function-decl-source-order.js:6:5
Registers: 11
Blocks: 1
Locals: alpha~0, beta~1, dup~2, gamma~3, delta~4
@@ -28,26 +28,26 @@ outer$1edcf57a nested-function-decl-source-order.js:6:5
block0:
[ 0] Enter
[ 1] Mov dst:alpha~0, src:Undefined
- [ 6] NewFunction dst:alpha~0, shared_function_data_index:0
- [ 11] Mov dst:beta~1, src:Undefined
- [ 16] NewFunction dst:beta~1, shared_function_data_index:1
- [ 21] Mov dst:dup~2, src:Undefined
- [ 26] NewFunction dst:dup~2, shared_function_data_index:2
- [ 31] Mov dst:gamma~3, src:Undefined
- [ 36] NewFunction dst:gamma~3, shared_function_data_index:3
- [ 41] NewFunction dst:dup~2, shared_function_data_index:4
- [ 4c] Mov dst:delta~4, src:Undefined
- [ 51] NewFunction dst:delta~4, shared_function_data_index:5
- [ 5c] Call value_feedback:0, call_feedback:0, dst:reg5, callee:alpha~0, this_value:Undefined
- [ 6d] Call value_feedback:1, call_feedback:1, dst:reg6, callee:beta~1, this_value:Undefined
- [ 7e] Call value_feedback:2, call_feedback:2, dst:reg7, callee:gamma~3, this_value:Undefined
- [ 8f] Call value_feedback:3, call_feedback:3, dst:reg8, callee:delta~4, this_value:Undefined
- [ a0] Call value_feedback:4, call_feedback:4, dst:reg9, callee:dup~2, this_value:Undefined
- [ b1] NewArray dst:reg10, elements:[reg5, reg6, reg7, reg8, reg9]
- [ c2] Return value:reg10
-
-
-alpha$1bdef4d3 nested-function-decl-source-order.js:6:24
+ [ 4] NewFunction dst:alpha~0, shared_function_data_index:0
+ [ e] Mov dst:beta~1, src:Undefined
+ [ 11] NewFunction dst:beta~1, shared_function_data_index:1
+ [ 1b] Mov dst:dup~2, src:Undefined
+ [ 1e] NewFunction dst:dup~2, shared_function_data_index:2
+ [ 28] Mov dst:gamma~3, src:Undefined
+ [ 2b] NewFunction dst:gamma~3, shared_function_data_index:3
+ [ 35] NewFunction dst:dup~2, shared_function_data_index:4
+ [ 3f] Mov dst:delta~4, src:Undefined
+ [ 42] NewFunction dst:delta~4, shared_function_data_index:5
+ [ 4c] Call value_feedback:0, call_feedback:0, dst:reg5, callee:alpha~0, this_value:Undefined
+ [ 57] Call value_feedback:1, call_feedback:1, dst:reg6, callee:beta~1, this_value:Undefined
+ [ 62] Call value_feedback:2, call_feedback:2, dst:reg7, callee:gamma~3, this_value:Undefined
+ [ 6d] Call value_feedback:3, call_feedback:3, dst:reg8, callee:delta~4, this_value:Undefined
+ [ 78] Call value_feedback:4, call_feedback:4, dst:reg9, callee:dup~2, this_value:Undefined
+ [ 83] NewArray dst:reg10, elements:[reg5, reg6, reg7, reg8, reg9]
+ [ 8b] Return value:reg10
+
+
+alpha$6c0b33e4 nested-function-decl-source-order.js:6:24
Registers: 5
Blocks: 1
Constants:
@@ -58,7 +58,7 @@ block0:
[ 1] Return value:Int32(1)
-beta$09d09f33 nested-function-decl-source-order.js:7:23
+beta$59fcde44 nested-function-decl-source-order.js:7:23
Registers: 5
Blocks: 1
Constants:
@@ -69,7 +69,7 @@ block0:
[ 1] Return value:Int32(2)
-gamma$0ba278a7 nested-function-decl-source-order.js:9:24
+gamma$da6cbf30 nested-function-decl-source-order.js:9:24
Registers: 5
Blocks: 1
Constants:
@@ -80,7 +80,7 @@ block0:
[ 1] Return value:Int32(3)
-delta$3db84d6a nested-function-decl-source-order.js:11:24
+delta$2e3d0a9d nested-function-decl-source-order.js:11:24
Registers: 5
Blocks: 1
Constants:
@@ -91,7 +91,7 @@ block0:
[ 1] Return value:Int32(4)
-dup$1e9d2634 nested-function-decl-source-order.js:10:22
+dup$ce70e723 nested-function-decl-source-order.js:10:22
Registers: 5
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/nested-member-base-identifier.txt b/Tests/LibJS/Bytecode/expected/nested-member-base-identifier.txt
index 2318a6a8ce9..fb637789c38 100644
--- a/Tests/LibJS/Bytecode/expected/nested-member-base-identifier.txt
+++ b/Tests/LibJS/Bytecode/expected/nested-member-base-identifier.txt
@@ -1,4 +1,4 @@
-$2bd6d754 nested-member-base-identifier.js:9:1
+$6ae0461b nested-member-base-identifier.js:9:1
Registers: 9
Blocks: 1
Constants:
@@ -8,16 +8,16 @@ $2bd6d754 nested-member-base-identifier.js:9:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `assign_nested`
- [ f] NewObject dst:reg7
- [ 14] InitObjectLiteralProperty object:reg7, `shader`, src:Int32(1), shape_cache_index:0, property_slot:0
- [ 23] CacheObjectShape object:reg7
- [ 28] NewArray dst:reg8, elements:[reg7]
- [ 31] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg8, Int32(1)]
- [ 46] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `assign_nested`
+ [ d] NewObject dst:reg7
+ [ 11] InitObjectLiteralProperty object:reg7, `shader`, src:Int32(1), shape_cache_index:0, property_slot:0
+ [ 1f] CacheObjectShape object:reg7
+ [ 23] NewArray dst:reg8, elements:[reg7]
+ [ 27] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg8, Int32(1)]
+ [ 34] End value:reg5
-assign_nested$ae573fa5 nested-member-base-identifier.js:6:8
+assign_nested$7fe5773e nested-member-base-identifier.js:6:8
Registers: 6
Blocks: 1
Constants:
@@ -27,6 +27,6 @@ assign_nested$ae573fa5 nested-member-base-identifier.js:6:8
block0:
[ 0] Enter
[ 1] SubRhsInt32 arith_feedback:0, dst:reg5, lhs:arg1, rhs:1
- [ c] GetByValue value_feedback:0, keyed_feedback:0, dst:reg5, base:arg0, property:reg5
- [ 1b] PutById base:reg5, `shader`, src:Int32(0), kind:Normal
- [ 2a] End value:Undefined
+ [ a] GetByValue value_feedback:0, keyed_feedback:0, dst:reg5, base:arg0, property:reg5
+ [ 16] PutById base:reg5, `shader`, src:Int32(0), kind:Normal
+ [ 24] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/nested-try-finally-continue.txt b/Tests/LibJS/Bytecode/expected/nested-try-finally-continue.txt
index 353dab9576b..d87451bab9c 100644
--- a/Tests/LibJS/Bytecode/expected/nested-try-finally-continue.txt
+++ b/Tests/LibJS/Bytecode/expected/nested-try-finally-continue.txt
@@ -1,4 +1,4 @@
-$2f8147c9 nested-try-finally-continue.js:14:1
+$55a73d00 nested-try-finally-continue.js:14:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $2f8147c9 nested-try-finally-continue.js:14:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `nestedTryFinallyContinue`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `nestedTryFinallyContinue`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-nestedTryFinallyContinue$b6ee29d6 nested-try-finally-continue.js:2:10
+nestedTryFinallyContinue$dbdb0fbd nested-try-finally-continue.js:2:10
Registers: 11
Blocks: 18
Locals: i~0
@@ -27,74 +27,74 @@ nestedTryFinallyContinue$b6ee29d6 nested-try-finally-continue.js:2:10
block0:
[ 0] Enter
[ 1] Mov dst:i~0, src:Int32(0)
- [ 6] Jump target:block16
+ [ 4] Jump target:block16
block1:
- [ b] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:i~0, rhs:1, true_target:block2, false_target:block3
+ [ 9] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:i~0, rhs:1, true_target:block2, false_target:block3
block2:
- [ 1c] Mov dst:reg7, src:Int32(2)
- [ 21] Jump target:block5
+ [ 19] Mov dst:reg7, src:Int32(2)
+ [ 1c] Jump target:block5
block3:
- [ 26] Mov dst:reg7, src:Int32(0)
- [ 2b] Jump target:block5
+ [ 21] Mov dst:reg7, src:Int32(0)
+ [ 24] Jump target:block5
block4:
- [ 30] Catch value_feedback:0, dst:reg8
- [ 35] Mov dst:reg7, src:Int32(1)
+ [ 29] Catch value_feedback:0, dst:reg8
+ [ 2d] Mov dst:reg7, src:Int32(1)
block5:
- [ 3a] GetGlobal value_feedback:1, dst:reg9, `console`
- [ 43] GetById value_feedback:2, dst:reg10, base:reg9, `log`
- [ 50] Call value_feedback:3, call_feedback:0, dst:reg9, callee:reg10, this_value:reg9, arguments:[String("inner"), i~0]
- [ 65] JumpStrictlyEqualsRhsInt32 arith_feedback:1, lhs:reg7, rhs:0, true_target:block9, false_target:block6
+ [ 30] GetGlobal value_feedback:1, dst:reg9, `console`
+ [ 39] GetById value_feedback:2, dst:reg10, base:reg9, `log`
+ [ 45] Call value_feedback:3, call_feedback:0, dst:reg9, callee:reg10, this_value:reg9, arguments:[String("inner"), i~0]
+ [ 52] JumpStrictlyEqualsRhsInt32 arith_feedback:1, lhs:reg7, rhs:0, true_target:block9, false_target:block6
block6:
- [ 76] JumpStrictlyEqualsRhsInt32 arith_feedback:2, lhs:reg7, rhs:2, true_target:block7, false_target:block8
+ [ 62] JumpStrictlyEqualsRhsInt32 arith_feedback:2, lhs:reg7, rhs:2, true_target:block7, false_target:block8
block7:
- [ 87] Mov dst:reg5, src:Int32(2)
- [ 8c] Jump target:block11
+ [ 72] Mov dst:reg5, src:Int32(2)
+ [ 75] Jump target:block11
block8:
- [ 91] Throw src:reg8
+ [ 7a] Throw src:reg8
block9:
- [ 94] Mov dst:reg5, src:Int32(0)
- [ 99] Jump target:block11
+ [ 7c] Mov dst:reg5, src:Int32(0)
+ [ 7f] Jump target:block11
block10:
- [ 9e] Catch value_feedback:4, dst:reg6
- [ a3] Mov dst:reg5, src:Int32(1)
+ [ 84] Catch value_feedback:4, dst:reg6
+ [ 88] Mov dst:reg5, src:Int32(1)
block11:
- [ a8] GetGlobal value_feedback:5, dst:reg7, `console`
- [ b1] GetById value_feedback:6, dst:reg8, base:reg7, `log`
- [ be] Call value_feedback:7, call_feedback:1, dst:reg7, callee:reg8, this_value:reg7, arguments:[String("outer"), i~0]
- [ d3] JumpStrictlyEqualsRhsInt32 arith_feedback:3, lhs:reg5, rhs:0, true_target:block15, false_target:block12
+ [ 8b] GetGlobal value_feedback:5, dst:reg7, `console`
+ [ 94] GetById value_feedback:6, dst:reg8, base:reg7, `log`
+ [ a0] Call value_feedback:7, call_feedback:1, dst:reg7, callee:reg8, this_value:reg7, arguments:[String("outer"), i~0]
+ [ ad] JumpStrictlyEqualsRhsInt32 arith_feedback:3, lhs:reg5, rhs:0, true_target:block15, false_target:block12
block12:
- [ e4] JumpStrictlyEqualsRhsInt32 arith_feedback:4, lhs:reg5, rhs:2, true_target:block13, false_target:block14
+ [ bd] JumpStrictlyEqualsRhsInt32 arith_feedback:4, lhs:reg5, rhs:2, true_target:block13, false_target:block14
block13:
- [ f5] Jump target:block15
+ [ cd] Jump target:block15
block14:
- [ fa] Throw src:reg6
+ [ d2] Throw src:reg6
block15:
- [ fd] Increment arith_feedback:5, dst:i~0
+ [ d4] Increment arith_feedback:5, dst:i~0
block16:
- [ 102] JumpLessThanLoopRhsInt32 arith_feedback:6, lhs:i~0, rhs:3, true_target:block1, false_target:block17
+ [ d8] JumpLessThanLoopRhsInt32 arith_feedback:6, lhs:i~0, rhs:3, true_target:block1, false_target:block17
block17:
- [ 113] End value:Undefined
+ [ e8] End value:Undefined
Exception handlers:
- [ b .. 30] => handler block4
- [ 30 .. 9e] => handler block10
+ [ 9 .. 29] => handler block4
+ [ 29 .. 84] => handler block10
"inner" 0
diff --git a/Tests/LibJS/Bytecode/expected/numeric-class-field-name.txt b/Tests/LibJS/Bytecode/expected/numeric-class-field-name.txt
index 7e8cd73510c..14d018b80bc 100644
--- a/Tests/LibJS/Bytecode/expected/numeric-class-field-name.txt
+++ b/Tests/LibJS/Bytecode/expected/numeric-class-field-name.txt
@@ -1,4 +1,4 @@
-$94fb37ec numeric-class-field-name.js:1:1
+$b6b5ae96 numeric-class-field-name.js:1:1
Registers: 8
Blocks: 1
Constants:
@@ -8,20 +8,20 @@ $94fb37ec numeric-class-field-name.js:1:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
- [ 21] SetLexicalEnvironment environment:reg4
- [ 24] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys:[element_keys:Int32(42)]
- [ 3b] DynamicInitializeLexicalBinding `C`, src:reg6
- [ 42] GetGlobal value_feedback:0, dst:reg6, `C`
- [ 4b] CallConstruct value_feedback:1, call_feedback:0, dst:reg6, callee:reg6
- [ 5a] GetByValue value_feedback:2, keyed_feedback:0, dst:reg6, base:reg6, property:Int32(42)
- [ 69] GetById value_feedback:3, dst:reg5, base:reg6, `name`
- [ 76] End value:reg5
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] SetLexicalEnvironment environment:reg4
+ [ 1f] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false, element_keys:[element_keys:Int32(42)]
+ [ 2f] DynamicInitializeLexicalBinding `C`, src:reg6
+ [ 36] GetGlobal value_feedback:0, dst:reg6, `C`
+ [ 3f] CallConstruct value_feedback:1, call_feedback:0, dst:reg6, callee:reg6
+ [ 49] GetByValue value_feedback:2, keyed_feedback:0, dst:reg6, base:reg6, property:Int32(42)
+ [ 55] GetById value_feedback:3, dst:reg5, base:reg6, `name`
+ [ 61] End value:reg5
-C$259e8512
+C$16234245
Registers: 5
Blocks: 1
Constants:
@@ -32,14 +32,14 @@ block0:
[ 1] End value:Undefined
-field$ad70cc02 numeric-class-field-name.js:2:10
+field$1f5781bd numeric-class-field-name.js:2:10
Registers: 7
Blocks: 1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:0, is_catch_environment:false
- [ 12] SetLexicalEnvironment environment:reg4
- [ 15] NewClass dst:reg5, class_environment:reg6, class_blueprint_index:0 (42)
- [ 2a] Return value:reg5
+ [ 3] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:0, is_catch_environment:false
+ [ f] SetLexicalEnvironment environment:reg4
+ [ 11] NewClass dst:reg5, class_environment:reg6, class_blueprint_index:0 (42), element_keys_are_in_array:false
+ [ 20] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/numeric-getter-no-lhs-name.txt b/Tests/LibJS/Bytecode/expected/numeric-getter-no-lhs-name.txt
index d55bdff622f..8c731e39a15 100644
--- a/Tests/LibJS/Bytecode/expected/numeric-getter-no-lhs-name.txt
+++ b/Tests/LibJS/Bytecode/expected/numeric-getter-no-lhs-name.txt
@@ -1,4 +1,4 @@
-$64070c4f numeric-getter-no-lhs-name.js:1:5
+$b16f5a50 numeric-getter-no-lhs-name.js:1:5
Registers: 8
Blocks: 1
Constants:
@@ -8,17 +8,17 @@ $64070c4f numeric-getter-no-lhs-name.js:1:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] NewObject dst:reg6
- [ b] NewFunction dst:reg7, shared_function_data_index:0 (get 0), home_object:reg6
- [ 16] PutByValue keyed_feedback:0, base:reg6, property:Int32(0), src:reg7, kind:Getter
- [ 27] SetGlobal `obj`, src:reg6
- [ 2e] GetGlobal value_feedback:0, dst:reg6, `obj`
- [ 37] GetByValue value_feedback:1, keyed_feedback:1, dst:reg6, base:reg6, property:Int32(0)
- [ 46] Mov dst:reg5, src:reg6
- [ 4b] End value:reg5
+ [ 4] NewObject dst:reg6
+ [ 8] NewFunction dst:reg7, shared_function_data_index:0 (get 0), home_object:reg6
+ [ 12] PutByValue keyed_feedback:0, base:reg6, property:Int32(0), src:reg7, kind:Getter
+ [ 20] SetGlobal `obj`, src:reg6
+ [ 27] GetGlobal value_feedback:0, dst:reg6, `obj`
+ [ 30] GetByValue value_feedback:1, keyed_feedback:1, dst:reg6, base:reg6, property:Int32(0)
+ [ 3c] Mov dst:reg5, src:reg6
+ [ 3f] End value:reg5
-get 0$0e41e03d numeric-getter-no-lhs-name.js:3:9
+get 0$1dbd230a numeric-getter-no-lhs-name.js:3:9
Registers: 5
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/numeric-index-object-literal.txt b/Tests/LibJS/Bytecode/expected/numeric-index-object-literal.txt
index dcb85ded821..a26540abc32 100644
--- a/Tests/LibJS/Bytecode/expected/numeric-index-object-literal.txt
+++ b/Tests/LibJS/Bytecode/expected/numeric-index-object-literal.txt
@@ -1,4 +1,4 @@
-$2cb5e223 numeric-index-object-literal.js:4:1
+$559fc86a numeric-index-object-literal.js:4:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $2cb5e223 numeric-index-object-literal.js:4:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `test`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `test`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-test$a0dfe300 numeric-index-object-literal.js:2:5
+test$b31f16dd numeric-index-object-literal.js:2:5
Registers: 6
Blocks: 1
Constants:
@@ -26,7 +26,7 @@ test$a0dfe300 numeric-index-object-literal.js:2:5
block0:
[ 0] Enter
[ 1] NewObject dst:reg5
- [ 6] PutByValue keyed_feedback:0, base:reg5, property:Int32(100), src:Int32(1), kind:Own
- [ 17] PutByValue keyed_feedback:1, base:reg5, property:Int32(200), src:Int32(2), kind:Own
- [ 28] PutByValue keyed_feedback:2, base:reg5, property:Int32(300), src:Int32(3), kind:Own
- [ 39] Return value:reg5
+ [ 5] PutByValue keyed_feedback:0, base:reg5, property:Int32(100), src:Int32(1), kind:Own
+ [ 13] PutByValue keyed_feedback:1, base:reg5, property:Int32(200), src:Int32(2), kind:Own
+ [ 21] PutByValue keyed_feedback:2, base:reg5, property:Int32(300), src:Int32(3), kind:Own
+ [ 2f] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/numeric-property-key.txt b/Tests/LibJS/Bytecode/expected/numeric-property-key.txt
index 5fb077f94a0..92baf03b9ea 100644
--- a/Tests/LibJS/Bytecode/expected/numeric-property-key.txt
+++ b/Tests/LibJS/Bytecode/expected/numeric-property-key.txt
@@ -1,4 +1,4 @@
-$115e2352 numeric-property-key.js:4:5
+$daa087bb numeric-property-key.js:4:5
Registers: 7
Blocks: 1
Constants:
@@ -9,7 +9,7 @@ $115e2352 numeric-property-key.js:4:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] NewObject dst:reg6
- [ b] PutByValue keyed_feedback:0, base:reg6, property:Int32(20), src:Int32(3), kind:Own
- [ 1c] SetGlobal `obj`, src:reg6
- [ 23] End value:reg5
+ [ 4] NewObject dst:reg6
+ [ 8] PutByValue keyed_feedback:0, base:reg6, property:Int32(20), src:Int32(3), kind:Own
+ [ 16] SetGlobal `obj`, src:reg6
+ [ 1d] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/object-destructuring-rebinds-source-variable.txt b/Tests/LibJS/Bytecode/expected/object-destructuring-rebinds-source-variable.txt
index b88c3b8e531..97333accaa8 100644
--- a/Tests/LibJS/Bytecode/expected/object-destructuring-rebinds-source-variable.txt
+++ b/Tests/LibJS/Bytecode/expected/object-destructuring-rebinds-source-variable.txt
@@ -1,4 +1,4 @@
-$f844c594 object-destructuring-rebinds-source-variable.js:5:1
+$7ac321af object-destructuring-rebinds-source-variable.js:5:1
Registers: 10
Blocks: 1
Constants:
@@ -10,20 +10,20 @@ $f844c594 object-destructuring-rebinds-source-variable.js:5:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `console`
- [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1c] GetGlobal value_feedback:2, dst:reg8, `run`
- [ 25] NewObject dst:reg9
- [ 2a] InitObjectLiteralProperty object:reg9, `first`, src:Int32(1), shape_cache_index:0, property_slot:0
- [ 39] InitObjectLiteralProperty object:reg9, `second`, src:Int32(2), shape_cache_index:0, property_slot:1
- [ 48] InitObjectLiteralProperty object:reg9, `third`, src:Int32(3), shape_cache_index:0, property_slot:2
- [ 57] CacheObjectShape object:reg9
- [ 5c] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined, arguments:[reg9]
- [ 6f] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 82] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ d] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 19] GetGlobal value_feedback:2, dst:reg8, `run`
+ [ 22] NewObject dst:reg9
+ [ 26] InitObjectLiteralProperty object:reg9, `first`, src:Int32(1), shape_cache_index:0, property_slot:0
+ [ 34] InitObjectLiteralProperty object:reg9, `second`, src:Int32(2), shape_cache_index:0, property_slot:1
+ [ 42] InitObjectLiteralProperty object:reg9, `third`, src:Int32(3), shape_cache_index:0, property_slot:2
+ [ 50] CacheObjectShape object:reg9
+ [ 54] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined, arguments:[reg9]
+ [ 60] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 6c] End value:reg5
-run$36528f69 object-destructuring-rebinds-source-variable.js:2:5
+run$ce5f3a5b object-destructuring-rebinds-source-variable.js:2:5
Registers: 7
Blocks: 1
Locals: first~0, third~1
@@ -33,14 +33,14 @@ run$36528f69 object-destructuring-rebinds-source-variable.js:2:5
block0:
[ 0] Enter
[ 1] Mov dst:first~0, src:Undefined
- [ 6] Mov dst:third~1, src:Undefined
- [ b] ThrowIfNullish src:arg0
- [ e] Mov dst:reg5, src:arg0
- [ 13] GetById value_feedback:0, dst:first~0, base:reg5, `first`
- [ 20] GetById value_feedback:1, dst:arg0, base:reg5, `second`
- [ 2d] GetById value_feedback:2, dst:third~1, base:reg5, `third`
- [ 3a] NewArray dst:reg5, elements:[first~0, arg0, third~1]
- [ 47] Return value:reg5
+ [ 4] Mov dst:third~1, src:Undefined
+ [ 7] ThrowIfNullish src:arg0
+ [ 9] Mov dst:reg5, src:arg0
+ [ c] GetById value_feedback:0, dst:first~0, base:reg5, `first`
+ [ 18] GetById value_feedback:1, dst:arg0, base:reg5, `second`
+ [ 24] GetById value_feedback:2, dst:third~1, base:reg5, `third`
+ [ 30] NewArray dst:reg5, elements:[first~0, arg0, third~1]
+ [ 36] Return value:reg5
Array [1, 2, 3]
diff --git a/Tests/LibJS/Bytecode/expected/object-rest-computed-key.txt b/Tests/LibJS/Bytecode/expected/object-rest-computed-key.txt
index 39c6ede021d..598aae82be1 100644
--- a/Tests/LibJS/Bytecode/expected/object-rest-computed-key.txt
+++ b/Tests/LibJS/Bytecode/expected/object-rest-computed-key.txt
@@ -1,4 +1,4 @@
-$b4334b60 object-rest-computed-key.js:1:5
+$1116dc2e object-rest-computed-key.js:1:5
Registers: 10
Blocks: 1
Constants:
@@ -10,16 +10,16 @@ $b4334b60 object-rest-computed-key.js:1:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] SetGlobal `a`, src:String("foo")
- [ d] NewObject dst:reg6
- [ 12] InitObjectLiteralProperty object:reg6, `foo`, src:Int32(1), shape_cache_index:0, property_slot:0
- [ 21] InitObjectLiteralProperty object:reg6, `bar`, src:Int32(2), shape_cache_index:0, property_slot:1
- [ 30] CacheObjectShape object:reg6
- [ 35] ThrowIfNullish src:reg6
- [ 38] GetGlobal value_feedback:0, dst:reg7, `a`
- [ 41] ToPrimitiveWithStringHint dst:reg8, value:reg7
- [ 46] GetByValue value_feedback:1, keyed_feedback:0, dst:reg9, base:reg6, property:reg8
- [ 55] SetGlobal `b`, src:reg9
- [ 5c] CopyObjectExcludingProperties dst:reg9, from_object:reg6, excluded_names:[reg8]
- [ 67] SetGlobal `rest`, src:reg9
- [ 6e] End value:reg5
+ [ 4] SetGlobal `a`, src:String("foo")
+ [ b] NewObject dst:reg6
+ [ f] InitObjectLiteralProperty object:reg6, `foo`, src:Int32(1), shape_cache_index:0, property_slot:0
+ [ 1d] InitObjectLiteralProperty object:reg6, `bar`, src:Int32(2), shape_cache_index:0, property_slot:1
+ [ 2b] CacheObjectShape object:reg6
+ [ 2f] ThrowIfNullish src:reg6
+ [ 31] GetGlobal value_feedback:0, dst:reg7, `a`
+ [ 3a] ToPrimitiveWithStringHint dst:reg8, value:reg7
+ [ 3d] GetByValue value_feedback:1, keyed_feedback:0, dst:reg9, base:reg6, property:reg8
+ [ 49] SetGlobal `b`, src:reg9
+ [ 50] CopyObjectExcludingProperties dst:reg9, from_object:reg6, excluded_names_are_in_array:false, excluded_names:[reg8]
+ [ 56] SetGlobal `rest`, src:reg9
+ [ 5d] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/optional-chain-base-identifier.txt b/Tests/LibJS/Bytecode/expected/optional-chain-base-identifier.txt
index 37f0c2e3aeb..685550fa551 100644
--- a/Tests/LibJS/Bytecode/expected/optional-chain-base-identifier.txt
+++ b/Tests/LibJS/Bytecode/expected/optional-chain-base-identifier.txt
@@ -1,4 +1,4 @@
-$169ebe4e optional-chain-base-identifier.js:1:5
+$1962af5e optional-chain-base-identifier.js:1:5
Registers: 8
Blocks: 4
Constants:
@@ -8,24 +8,24 @@ $169ebe4e optional-chain-base-identifier.js:1:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] NewObject dst:reg6
- [ b] NewObject dst:reg7
- [ 10] InitObjectLiteralProperty object:reg7, `b`, src:Int32(44), shape_cache_index:1, property_slot:0
- [ 1f] CacheObjectShape object:reg7
- [ 24] InitObjectLiteralProperty object:reg6, `a`, src:reg7, shape_cache_index:0, property_slot:0
- [ 33] CacheObjectShape object:reg6
- [ 38] SetGlobal `obj`, src:reg6
- [ 3f] GetGlobal value_feedback:0, dst:reg6, `obj`
- [ 48] GetById value_feedback:1, dst:reg6, base:reg6, `a`
- [ 55] JumpNullish condition:reg6, true_target:block2, false_target:block1
+ [ 4] NewObject dst:reg6
+ [ 8] NewObject dst:reg7
+ [ c] InitObjectLiteralProperty object:reg7, `b`, src:Int32(44), shape_cache_index:1, property_slot:0
+ [ 1a] CacheObjectShape object:reg7
+ [ 1e] InitObjectLiteralProperty object:reg6, `a`, src:reg7, shape_cache_index:0, property_slot:0
+ [ 2c] CacheObjectShape object:reg6
+ [ 30] SetGlobal `obj`, src:reg6
+ [ 37] GetGlobal value_feedback:0, dst:reg6, `obj`
+ [ 40] GetById value_feedback:1, dst:reg6, base:reg6, `a`
+ [ 4c] JumpNullish condition:reg6, true_target:block2, false_target:block1
block1:
- [ 60] GetById value_feedback:2, dst:reg6, base:reg6, `b`
- [ 6d] Jump target:block3
+ [ 56] GetById value_feedback:2, dst:reg6, base:reg6, `b`
+ [ 62] Jump target:block3
block2:
- [ 72] Mov dst:reg6, src:Undefined
+ [ 67] Mov dst:reg6, src:Undefined
block3:
- [ 77] Mov dst:reg5, src:reg6
- [ 7c] End value:reg5
+ [ 6a] Mov dst:reg5, src:reg6
+ [ 6d] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/optional-chain.txt b/Tests/LibJS/Bytecode/expected/optional-chain.txt
index 8df09fac485..5f0ce7b82c1 100644
--- a/Tests/LibJS/Bytecode/expected/optional-chain.txt
+++ b/Tests/LibJS/Bytecode/expected/optional-chain.txt
@@ -1,4 +1,4 @@
-$046b2e9c optional-chain.js:25:1
+$16aa6279 optional-chain.js:25:1
Registers: 7
Blocks: 1
Constants:
@@ -8,22 +8,22 @@ $046b2e9c optional-chain.js:25:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `member`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null]
- [ 22] GetGlobal value_feedback:2, dst:reg6, `nested_member`
- [ 2b] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null]
- [ 3e] GetGlobal value_feedback:4, dst:reg6, `call_no_args`
- [ 47] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null]
- [ 5a] GetGlobal value_feedback:6, dst:reg6, `call_with_args`
- [ 63] Call value_feedback:7, call_feedback:3, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null]
- [ 76] GetGlobal value_feedback:8, dst:reg6, `computed`
- [ 7f] Call value_feedback:9, call_feedback:4, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null]
- [ 92] GetGlobal value_feedback:10, dst:reg6, `member_then_call`
- [ 9b] Call value_feedback:11, call_feedback:5, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null]
- [ ae] End value:reg5
-
-
-member$b730cec4 optional-chain.js:7:5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `member`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null]
+ [ 19] GetGlobal value_feedback:2, dst:reg6, `nested_member`
+ [ 22] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null]
+ [ 2e] GetGlobal value_feedback:4, dst:reg6, `call_no_args`
+ [ 37] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null]
+ [ 43] GetGlobal value_feedback:6, dst:reg6, `call_with_args`
+ [ 4c] Call value_feedback:7, call_feedback:3, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null]
+ [ 58] GetGlobal value_feedback:8, dst:reg6, `computed`
+ [ 61] Call value_feedback:9, call_feedback:4, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null]
+ [ 6d] GetGlobal value_feedback:10, dst:reg6, `member_then_call`
+ [ 76] Call value_feedback:11, call_feedback:5, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Null]
+ [ 82] End value:reg5
+
+
+member$e866883b optional-chain.js:7:5
Registers: 7
Blocks: 4
Constants:
@@ -32,20 +32,20 @@ member$b730cec4 optional-chain.js:7:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:arg0
- [ 6] JumpNullish condition:reg5, true_target:block2, false_target:block1
+ [ 4] JumpNullish condition:reg5, true_target:block2, false_target:block1
block1:
- [ 11] GetById value_feedback:0, dst:reg6, base:reg5, `x`
- [ 1e] Jump target:block3
+ [ e] GetById value_feedback:0, dst:reg6, base:reg5, `x`
+ [ 1a] Jump target:block3
block2:
- [ 23] Mov dst:reg6, src:Undefined
+ [ 1f] Mov dst:reg6, src:Undefined
block3:
- [ 28] Return value:reg6
+ [ 22] Return value:reg6
-nested_member$1baafd23 optional-chain.js:10:5
+nested_member$39851f2a optional-chain.js:10:5
Registers: 7
Blocks: 5
Constants:
@@ -54,24 +54,24 @@ nested_member$1baafd23 optional-chain.js:10:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:arg0
- [ 6] JumpNullish condition:reg5, true_target:block3, false_target:block1
+ [ 4] JumpNullish condition:reg5, true_target:block3, false_target:block1
block1:
- [ 11] GetById value_feedback:0, dst:reg6, base:reg5, `x`
- [ 1e] JumpNullish condition:reg6, true_target:block3, false_target:block2
+ [ e] GetById value_feedback:0, dst:reg6, base:reg5, `x`
+ [ 1a] JumpNullish condition:reg6, true_target:block3, false_target:block2
block2:
- [ 29] GetById value_feedback:1, dst:reg6, base:reg6, `y`
- [ 36] Jump target:block4
+ [ 24] GetById value_feedback:1, dst:reg6, base:reg6, `y`
+ [ 30] Jump target:block4
block3:
- [ 3b] Mov dst:reg6, src:Undefined
+ [ 35] Mov dst:reg6, src:Undefined
block4:
- [ 40] Return value:reg6
+ [ 38] Return value:reg6
-call_no_args$9df5fc0d optional-chain.js:13:5
+call_no_args$eb5e4a0e optional-chain.js:13:5
Registers: 7
Blocks: 4
Constants:
@@ -80,21 +80,21 @@ call_no_args$9df5fc0d optional-chain.js:13:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:arg0
- [ 6] JumpNullish condition:reg5, true_target:block2, false_target:block1
+ [ 4] JumpNullish condition:reg5, true_target:block2, false_target:block1
block1:
- [ 11] GetById value_feedback:0, dst:reg6, base:reg5, `foo`
- [ 1e] Call value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:reg5
- [ 2f] Jump target:block3
+ [ e] GetById value_feedback:0, dst:reg6, base:reg5, `foo`
+ [ 1a] Call value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:reg5
+ [ 25] Jump target:block3
block2:
- [ 34] Mov dst:reg6, src:Undefined
+ [ 2a] Mov dst:reg6, src:Undefined
block3:
- [ 39] Return value:reg6
+ [ 2d] Return value:reg6
-call_with_args$aeeb0a05 optional-chain.js:16:5
+call_with_args$b1aefb15 optional-chain.js:16:5
Registers: 7
Blocks: 4
Constants:
@@ -106,21 +106,21 @@ call_with_args$aeeb0a05 optional-chain.js:16:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:arg0
- [ 6] JumpNullish condition:reg5, true_target:block2, false_target:block1
+ [ 4] JumpNullish condition:reg5, true_target:block2, false_target:block1
block1:
- [ 11] GetById value_feedback:0, dst:reg6, base:reg5, `foo`
- [ 1e] Call value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:reg5, arguments:[Int32(1), Int32(2), Int32(3)]
- [ 35] Jump target:block3
+ [ e] GetById value_feedback:0, dst:reg6, base:reg5, `foo`
+ [ 1a] Call value_feedback:1, call_feedback:0, dst:reg6, callee:reg6, this_value:reg5, arguments:[Int32(1), Int32(2), Int32(3)]
+ [ 28] Jump target:block3
block2:
- [ 3a] Mov dst:reg6, src:Undefined
+ [ 2d] Mov dst:reg6, src:Undefined
block3:
- [ 3f] Return value:reg6
+ [ 30] Return value:reg6
-computed$d5b5ecf1 optional-chain.js:19:5
+computed$e7f520ce optional-chain.js:19:5
Registers: 7
Blocks: 4
Constants:
@@ -129,20 +129,20 @@ computed$d5b5ecf1 optional-chain.js:19:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:arg0
- [ 6] JumpNullish condition:reg5, true_target:block2, false_target:block1
+ [ 4] JumpNullish condition:reg5, true_target:block2, false_target:block1
block1:
- [ 11] GetById value_feedback:0, dst:reg6, base:reg5, `hello`
- [ 1e] Jump target:block3
+ [ e] GetById value_feedback:0, dst:reg6, base:reg5, `hello`
+ [ 1a] Jump target:block3
block2:
- [ 23] Mov dst:reg6, src:Undefined
+ [ 1f] Mov dst:reg6, src:Undefined
block3:
- [ 28] Return value:reg6
+ [ 22] Return value:reg6
-member_then_call$ce5275ca optional-chain.js:22:5
+member_then_call$3645cad8 optional-chain.js:22:5
Registers: 8
Blocks: 4
Constants:
@@ -151,16 +151,16 @@ member_then_call$ce5275ca optional-chain.js:22:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:arg0
- [ 6] JumpNullish condition:reg5, true_target:block2, false_target:block1
+ [ 4] JumpNullish condition:reg5, true_target:block2, false_target:block1
block1:
- [ 11] GetById value_feedback:0, dst:reg6, base:reg5, `x`
- [ 1e] GetById value_feedback:1, dst:reg7, base:reg6, `foo`
- [ 2b] Call value_feedback:2, call_feedback:0, dst:reg6, callee:reg7, this_value:reg6
- [ 3c] Jump target:block3
+ [ e] GetById value_feedback:0, dst:reg6, base:reg5, `x`
+ [ 1a] GetById value_feedback:1, dst:reg7, base:reg6, `foo`
+ [ 26] Call value_feedback:2, call_feedback:0, dst:reg6, callee:reg7, this_value:reg6
+ [ 31] Jump target:block3
block2:
- [ 41] Mov dst:reg6, src:Undefined
+ [ 36] Mov dst:reg6, src:Undefined
block3:
- [ 46] Return value:reg6
+ [ 39] Return value:reg6
diff --git a/Tests/LibJS/Bytecode/expected/parameter-createvariable-order.txt b/Tests/LibJS/Bytecode/expected/parameter-createvariable-order.txt
index befe3dcc241..90f01d79f39 100644
--- a/Tests/LibJS/Bytecode/expected/parameter-createvariable-order.txt
+++ b/Tests/LibJS/Bytecode/expected/parameter-createvariable-order.txt
@@ -1,4 +1,4 @@
-$fbb60cda parameter-createvariable-order.js:7:1
+$341b35ee parameter-createvariable-order.js:7:1
Registers: 7
Blocks: 1
Constants:
@@ -10,12 +10,12 @@ $fbb60cda parameter-createvariable-order.js:7:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1), Int32(2), Int32(3)]
- [ 26] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1), Int32(2), Int32(3)]
+ [ 1b] End value:reg5
-f$9783d6aa parameter-createvariable-order.js:2:9
+f$664e1d33 parameter-createvariable-order.js:2:9
Registers: 6
Blocks: 1
Locals: inner~0
@@ -25,18 +25,18 @@ f$9783d6aa parameter-createvariable-order.js:2:9
block0:
[ 0] Enter
[ 1] CreateVariable `a`, is_immutable:false, is_global:false, is_strict:false
- [ b] InitializeLexicalBinding `a`, src:arg0
- [ 18] CreateVariable `b`, is_immutable:false, is_global:false, is_strict:false
- [ 22] InitializeLexicalBinding `b`, src:arg1
- [ 2f] CreateVariable `c`, is_immutable:false, is_global:false, is_strict:false
- [ 39] InitializeLexicalBinding `c`, src:arg2
- [ 46] Mov dst:inner~0, src:Undefined
- [ 4b] NewFunction dst:inner~0, shared_function_data_index:0 (inner)
+ [ c] InitializeLexicalBinding `a`, src:arg0
+ [ 19] CreateVariable `b`, is_immutable:false, is_global:false, is_strict:false
+ [ 24] InitializeLexicalBinding `b`, src:arg1
+ [ 31] CreateVariable `c`, is_immutable:false, is_global:false, is_strict:false
+ [ 3c] InitializeLexicalBinding `c`, src:arg2
+ [ 49] Mov dst:inner~0, src:Undefined
+ [ 4c] NewFunction dst:inner~0, shared_function_data_index:0 (inner)
[ 56] Call value_feedback:0, call_feedback:0, dst:reg5, callee:inner~0, this_value:Undefined
- [ 67] Return value:reg5
+ [ 61] Return value:reg5
-inner$f7041d92 parameter-createvariable-order.js:3:9
+inner$558f3bdd parameter-createvariable-order.js:3:9
Registers: 7
Blocks: 1
@@ -45,6 +45,6 @@ block0:
[ 1] GetBinding value_feedback:0, dst:reg5, `a`
[ 10] GetBinding value_feedback:1, dst:reg6, `b`
[ 1f] Add arith_feedback:0, dst:reg5, lhs:reg5, rhs:reg6
- [ 28] GetBinding value_feedback:2, dst:reg6, `c`
- [ 37] Add arith_feedback:1, dst:reg5, lhs:reg5, rhs:reg6
- [ 40] Return value:reg5
+ [ 25] GetBinding value_feedback:2, dst:reg6, `c`
+ [ 34] Add arith_feedback:1, dst:reg5, lhs:reg5, rhs:reg6
+ [ 3a] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/parameter-environment-capacity.txt b/Tests/LibJS/Bytecode/expected/parameter-environment-capacity.txt
index ed5d6500591..560bce501be 100644
--- a/Tests/LibJS/Bytecode/expected/parameter-environment-capacity.txt
+++ b/Tests/LibJS/Bytecode/expected/parameter-environment-capacity.txt
@@ -1,4 +1,4 @@
-$beef2ebb parameter-environment-capacity.js:10:1
+$f521a068 parameter-environment-capacity.js:10:1
Registers: 8
Blocks: 1
Constants:
@@ -8,22 +8,22 @@ $beef2ebb parameter-environment-capacity.js:10:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `Strict`, is_immutable:true, is_global:false, is_strict:true
- [ 21] SetLexicalEnvironment environment:reg4
- [ 24] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys:[element_keys:String("method")]
- [ 3b] DynamicInitializeLexicalBinding `Strict`, src:reg6
- [ 42] GetGlobal value_feedback:0, dst:reg6, `sloppy`
- [ 4b] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 5c] GetGlobal value_feedback:2, dst:reg6, `Strict`
- [ 65] CallConstruct value_feedback:3, call_feedback:1, dst:reg6, callee:reg6
- [ 74] GetById value_feedback:4, dst:reg7, base:reg6, `method`
- [ 81] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg7, this_value:reg6
- [ 92] End value:reg5
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `Strict`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] SetLexicalEnvironment environment:reg4
+ [ 1f] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false, element_keys:[element_keys:String("method")]
+ [ 2f] DynamicInitializeLexicalBinding `Strict`, src:reg6
+ [ 36] GetGlobal value_feedback:0, dst:reg6, `sloppy`
+ [ 3f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 4a] GetGlobal value_feedback:2, dst:reg6, `Strict`
+ [ 53] CallConstruct value_feedback:3, call_feedback:1, dst:reg6, callee:reg6
+ [ 5d] GetById value_feedback:4, dst:reg7, base:reg6, `method`
+ [ 69] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg7, this_value:reg6
+ [ 74] End value:reg5
-sloppy$fb58848c parameter-environment-capacity.js:6:17
+sloppy$0ad3c759 parameter-environment-capacity.js:6:17
Registers: 6
Blocks: 3
Constants:
@@ -32,19 +32,19 @@ sloppy$fb58848c parameter-environment-capacity.js:6:17
block0:
[ 0] Enter
[ 1] CreateVariable `a`, is_immutable:false, is_global:false, is_strict:false
- [ b] CreateArguments is_immutable:false, creates_parameter_bindings:false
+ [ c] CreateArguments is_immutable:false, creates_parameter_bindings:false
[ 14] JumpUndefined condition:arg0, true_target:block1, false_target:block2
block1:
- [ 1f] Mov dst:arg0, src:Int32(1)
+ [ 1e] Mov dst:arg0, src:Int32(1)
block2:
- [ 24] InitializeLexicalBinding `a`, src:arg0
- [ 31] NewFunction dst:reg5, shared_function_data_index:0
- [ 3c] Return value:reg5
+ [ 21] InitializeLexicalBinding `a`, src:arg0
+ [ 2e] NewFunction dst:reg5, shared_function_data_index:0
+ [ 38] Return value:reg5
-Strict$4310f0d2
+Strict$3395ae05
Registers: 5
Blocks: 1
Constants:
@@ -55,7 +55,7 @@ block0:
[ 1] End value:Undefined
-method$17a59f42 parameter-environment-capacity.js:11:12
+method$082a5c75 parameter-environment-capacity.js:11:12
Registers: 7
Blocks: 3
Constants:
@@ -65,21 +65,21 @@ method$17a59f42 parameter-environment-capacity.js:11:12
block0:
[ 0] Enter
[ 1] CreateVariable `mode`, is_immutable:false, is_global:false, is_strict:false
- [ b] CreateVariable `index`, is_immutable:false, is_global:false, is_strict:false
- [ 15] GetLexicalEnvironment dst:reg4
- [ 18] JumpUndefined condition:arg0, true_target:block1, false_target:block2
+ [ c] CreateVariable `index`, is_immutable:false, is_global:false, is_strict:false
+ [ 17] GetLexicalEnvironment dst:reg4
+ [ 19] JumpUndefined condition:arg0, true_target:block1, false_target:block2
block1:
[ 23] Mov dst:arg0, src:String("x")
block2:
- [ 28] InitializeLexicalBinding `mode`, src:arg0
- [ 35] InitializeLexicalBinding `index`, src:arg1
- [ 42] CreateVariableEnvironment capacity:1
- [ 47] GetLexicalEnvironment dst:reg5
- [ 4a] CreateVariable `active`, is_immutable:true, is_global:false, is_strict:true
- [ 54] GetBinding value_feedback:0, dst:reg6, `mode`
- [ 63] StrictlyEquals arith_feedback:0, dst:reg6, lhs:reg6, rhs:String("a")
- [ 6c] InitializeLexicalBinding `active`, src:reg6
- [ 79] NewFunction dst:reg6, shared_function_data_index:0
- [ 84] Return value:reg6
+ [ 26] InitializeLexicalBinding `mode`, src:arg0
+ [ 33] InitializeLexicalBinding `index`, src:arg1
+ [ 40] CreateVariableEnvironment capacity:1
+ [ 45] GetLexicalEnvironment dst:reg5
+ [ 47] CreateVariable `active`, is_immutable:true, is_global:false, is_strict:true
+ [ 52] GetBinding value_feedback:0, dst:reg6, `mode`
+ [ 61] StrictlyEquals arith_feedback:0, dst:reg6, lhs:reg6, rhs:String("a")
+ [ 67] InitializeLexicalBinding `active`, src:reg6
+ [ 74] NewFunction dst:reg6, shared_function_data_index:0
+ [ 7e] Return value:reg6
diff --git a/Tests/LibJS/Bytecode/expected/postfix-increment-private-member.txt b/Tests/LibJS/Bytecode/expected/postfix-increment-private-member.txt
index ea25e06d5bf..a7e2d601464 100644
--- a/Tests/LibJS/Bytecode/expected/postfix-increment-private-member.txt
+++ b/Tests/LibJS/Bytecode/expected/postfix-increment-private-member.txt
@@ -1,4 +1,4 @@
-$22895847 postfix-increment-private-member.js:1:1
+$97bf28fc postfix-increment-private-member.js:1:1
Registers: 8
Blocks: 1
Constants:
@@ -8,23 +8,23 @@ $22895847 postfix-increment-private-member.js:1:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
- [ 21] CreatePrivateEnvironment
- [ 22] AddPrivateName `#c`
- [ 25] SetLexicalEnvironment environment:reg4
- [ 28] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys:[element_keys:String("nextId")]
- [ 41] LeavePrivateEnvironment
- [ 42] DynamicInitializeLexicalBinding `C`, src:reg6
- [ 49] GetGlobal value_feedback:0, dst:reg6, `C`
- [ 52] CallConstruct value_feedback:1, call_feedback:0, dst:reg6, callee:reg6
- [ 61] GetById value_feedback:2, dst:reg7, base:reg6, `nextId`
- [ 6e] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
- [ 7f] End value:reg5
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] CreatePrivateEnvironment
+ [ 1e] AddPrivateName `#c`
+ [ 22] SetLexicalEnvironment environment:reg4
+ [ 24] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false, element_keys:[element_keys:String("nextId")]
+ [ 35] LeavePrivateEnvironment
+ [ 36] DynamicInitializeLexicalBinding `C`, src:reg6
+ [ 3d] GetGlobal value_feedback:0, dst:reg6, `C`
+ [ 46] CallConstruct value_feedback:1, call_feedback:0, dst:reg6, callee:reg6
+ [ 50] GetById value_feedback:2, dst:reg7, base:reg6, `nextId`
+ [ 5c] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
+ [ 67] End value:reg5
-C$259e8512
+C$16234245
Registers: 5
Blocks: 1
Constants:
@@ -35,7 +35,7 @@ block0:
[ 1] End value:Undefined
-nextId$9d329af8 postfix-increment-private-member.js:4:9
+nextId$1384cf40 postfix-increment-private-member.js:4:9
Registers: 7
Blocks: 1
Constants:
@@ -44,7 +44,7 @@ nextId$9d329af8 postfix-increment-private-member.js:4:9
block0:
[ 0] Enter
[ 1] GetPrivateById dst:reg5, base:this, `#c`
- [ 8] PostfixIncrement arith_feedback:0, dst:reg6, src:reg5
- [ f] PutPrivateById base:this, `#c`, src:reg5
- [ 16] Add arith_feedback:1, dst:reg5, lhs:String("id-"), rhs:reg6
- [ 1f] Return value:reg5
+ [ 7] PostfixIncrement arith_feedback:0, dst:reg6, src:reg5
+ [ c] PutPrivateById base:this, `#c`, src:reg5
+ [ 12] Add arith_feedback:1, dst:reg5, lhs:String("id-"), rhs:reg6
+ [ 18] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/postfix-update-in-logical-and.txt b/Tests/LibJS/Bytecode/expected/postfix-update-in-logical-and.txt
index c239f9741e8..5f0429e6bd0 100644
--- a/Tests/LibJS/Bytecode/expected/postfix-update-in-logical-and.txt
+++ b/Tests/LibJS/Bytecode/expected/postfix-update-in-logical-and.txt
@@ -1,4 +1,4 @@
-$cd0e6045 postfix-update-in-logical-and.js:4:1
+$a5cc077b postfix-update-in-logical-and.js:4:1
Registers: 7
Blocks: 1
Constants:
@@ -8,23 +8,23 @@ $cd0e6045 postfix-update-in-logical-and.js:4:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `postfixInLogicalAnd`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(5)]
- [ 22] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `postfixInLogicalAnd`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(5)]
+ [ 19] End value:reg5
-postfixInLogicalAnd$6a4fc6d0 postfix-update-in-logical-and.js:2:5
+postfixInLogicalAnd$ee75b068 postfix-update-in-logical-and.js:2:5
Registers: 7
Blocks: 3
block0:
[ 0] Enter
[ 1] GreaterThanRhsInt32 arith_feedback:0, dst:reg5, lhs:arg0, rhs:0
- [ c] JumpFalse condition:reg5, target:block2
+ [ a] JumpFalse condition:reg5, target:block2
block1:
- [ 13] PostfixDecrement arith_feedback:1, dst:reg6, src:arg0
- [ 1a] Mov dst:reg5, src:reg6
+ [ 10] PostfixDecrement arith_feedback:1, dst:reg6, src:arg0
+ [ 15] Mov dst:reg5, src:reg6
block2:
- [ 1f] Return value:reg5
+ [ 18] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/private-identifier-access-patterns.txt b/Tests/LibJS/Bytecode/expected/private-identifier-access-patterns.txt
index 34134ecad25..ca0073953ab 100644
--- a/Tests/LibJS/Bytecode/expected/private-identifier-access-patterns.txt
+++ b/Tests/LibJS/Bytecode/expected/private-identifier-access-patterns.txt
@@ -1,4 +1,4 @@
-$a1b289a9 private-identifier-access-patterns.js:1:1
+$ffb27e0a private-identifier-access-patterns.js:1:1
Registers: 8
Blocks: 1
Constants:
@@ -8,13 +8,13 @@ $a1b289a9 private-identifier-access-patterns.js:1:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
- [ 21] CreatePrivateEnvironment
- [ 22] AddPrivateName `#x`
- [ 25] SetLexicalEnvironment environment:reg4
- [ 28] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys:[element_keys:String("method")]
- [ 41] LeavePrivateEnvironment
- [ 42] DynamicInitializeLexicalBinding `C`, src:reg6
- [ 49] End value:reg5
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] CreatePrivateEnvironment
+ [ 1e] AddPrivateName `#x`
+ [ 22] SetLexicalEnvironment environment:reg4
+ [ 24] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false, element_keys:[element_keys:String("method")]
+ [ 35] LeavePrivateEnvironment
+ [ 36] DynamicInitializeLexicalBinding `C`, src:reg6
+ [ 3d] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/private-logical-assignment-register-order.txt b/Tests/LibJS/Bytecode/expected/private-logical-assignment-register-order.txt
index 9402d6ba03f..5ffdf9cd3fc 100644
--- a/Tests/LibJS/Bytecode/expected/private-logical-assignment-register-order.txt
+++ b/Tests/LibJS/Bytecode/expected/private-logical-assignment-register-order.txt
@@ -1,4 +1,4 @@
-$22895847 private-logical-assignment-register-order.js:1:1
+$97bf28fc private-logical-assignment-register-order.js:1:1
Registers: 8
Blocks: 1
Constants:
@@ -8,23 +8,23 @@ $22895847 private-logical-assignment-register-order.js:1:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
- [ 21] CreatePrivateEnvironment
- [ 22] AddPrivateName `#x`
- [ 25] SetLexicalEnvironment environment:reg4
- [ 28] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys:[element_keys:String("f")]
- [ 41] LeavePrivateEnvironment
- [ 42] DynamicInitializeLexicalBinding `C`, src:reg6
- [ 49] GetGlobal value_feedback:0, dst:reg6, `C`
- [ 52] CallConstruct value_feedback:1, call_feedback:0, dst:reg6, callee:reg6
- [ 61] GetById value_feedback:2, dst:reg7, base:reg6, `f`
- [ 6e] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
- [ 7f] End value:reg5
-
-
-C$259e8512
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] CreatePrivateEnvironment
+ [ 1e] AddPrivateName `#x`
+ [ 22] SetLexicalEnvironment environment:reg4
+ [ 24] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false, element_keys:[element_keys:String("f")]
+ [ 35] LeavePrivateEnvironment
+ [ 36] DynamicInitializeLexicalBinding `C`, src:reg6
+ [ 3d] GetGlobal value_feedback:0, dst:reg6, `C`
+ [ 46] CallConstruct value_feedback:1, call_feedback:0, dst:reg6, callee:reg6
+ [ 50] GetById value_feedback:2, dst:reg7, base:reg6, `f`
+ [ 5c] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
+ [ 67] End value:reg5
+
+
+C$16234245
Registers: 5
Blocks: 1
Constants:
@@ -35,7 +35,7 @@ block0:
[ 1] End value:Undefined
-f$1b379b9b private-logical-assignment-register-order.js:3:16
+f$9711b203 private-logical-assignment-register-order.js:3:16
Registers: 7
Blocks: 3
Constants:
@@ -45,12 +45,12 @@ f$1b379b9b private-logical-assignment-register-order.js:3:16
block0:
[ 0] Enter
[ 1] GetPrivateById dst:reg5, base:this, `#x`
- [ 8] Mov dst:reg6, src:reg5
- [ d] JumpFalse condition:reg6, target:block2
+ [ 7] Mov dst:reg6, src:reg5
+ [ a] JumpFalse condition:reg6, target:block2
block1:
- [ 14] Mov dst:reg6, src:Int32(1)
- [ 19] PutPrivateById base:this, `#x`, src:reg6
+ [ 10] Mov dst:reg6, src:Int32(1)
+ [ 13] PutPrivateById base:this, `#x`, src:reg6
block2:
- [ 20] End value:Undefined
+ [ 19] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/private-method-call-description.txt b/Tests/LibJS/Bytecode/expected/private-method-call-description.txt
index 414064001c4..87a9a17172d 100644
--- a/Tests/LibJS/Bytecode/expected/private-method-call-description.txt
+++ b/Tests/LibJS/Bytecode/expected/private-method-call-description.txt
@@ -1,4 +1,4 @@
-$22895847 private-method-call-description.js:1:1
+$97bf28fc private-method-call-description.js:1:1
Registers: 8
Blocks: 1
Constants:
@@ -8,23 +8,23 @@ $22895847 private-method-call-description.js:1:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
- [ 21] CreatePrivateEnvironment
- [ 22] AddPrivateName `#m`
- [ 25] SetLexicalEnvironment environment:reg4
- [ 28] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys:[element_keys:String("call")]
- [ 41] LeavePrivateEnvironment
- [ 42] DynamicInitializeLexicalBinding `C`, src:reg6
- [ 49] GetGlobal value_feedback:0, dst:reg6, `C`
- [ 52] CallConstruct value_feedback:1, call_feedback:0, dst:reg6, callee:reg6
- [ 61] GetById value_feedback:2, dst:reg7, base:reg6, `call`
- [ 6e] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
- [ 7f] End value:reg5
-
-
-C$259e8512
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] CreatePrivateEnvironment
+ [ 1e] AddPrivateName `#m`
+ [ 22] SetLexicalEnvironment environment:reg4
+ [ 24] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false, element_keys:[element_keys:String("call")]
+ [ 35] LeavePrivateEnvironment
+ [ 36] DynamicInitializeLexicalBinding `C`, src:reg6
+ [ 3d] GetGlobal value_feedback:0, dst:reg6, `C`
+ [ 46] CallConstruct value_feedback:1, call_feedback:0, dst:reg6, callee:reg6
+ [ 50] GetById value_feedback:2, dst:reg7, base:reg6, `call`
+ [ 5c] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
+ [ 67] End value:reg5
+
+
+C$16234245
Registers: 5
Blocks: 1
Constants:
@@ -35,18 +35,18 @@ block0:
[ 1] End value:Undefined
-call$ff60314c private-method-call-description.js:6:9
+call$7dfe38c4 private-method-call-description.js:6:9
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] GetPrivateById dst:reg5, base:this, `#m`
- [ 8] Call value_feedback:0, call_feedback:0, dst:reg5, callee:reg5, this_value:this
- [ 19] Return value:reg5
+ [ 7] Call value_feedback:0, call_feedback:0, dst:reg5, callee:reg5, this_value:this
+ [ 12] Return value:reg5
-#m$6381fa9d private-method-call-description.js:3:9
+#m$72fd3d6a private-method-call-description.js:3:9
Registers: 5
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/regex-literals.txt b/Tests/LibJS/Bytecode/expected/regex-literals.txt
index cc75d956e4f..b9b8c0e2e62 100644
--- a/Tests/LibJS/Bytecode/expected/regex-literals.txt
+++ b/Tests/LibJS/Bytecode/expected/regex-literals.txt
@@ -1,4 +1,4 @@
-$89a42c88 regex-literals.js:2:5
+$f8c6f133 regex-literals.js:2:5
Registers: 7
Blocks: 1
Constants:
@@ -8,25 +8,25 @@ $89a42c88 regex-literals.js:2:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] NewRegExp dst:reg6, foo,
- [ d] DynamicInitializeLexicalBinding `a`, src:reg6
- [ 14] NewRegExp dst:reg6, bar, gi
+ [ 4] NewRegExp dst:reg6, foo,
+ [ c] DynamicInitializeLexicalBinding `a`, src:reg6
+ [ 13] NewRegExp dst:reg6, bar, gi
[ 1b] DynamicInitializeLexicalBinding `b`, src:reg6
[ 22] NewRegExp dst:reg6, baz, i
- [ 29] AddLhsInt32 arith_feedback:0, dst:reg6, lhs:1, rhs:reg6
- [ 34] DynamicInitializeLexicalBinding `c`, src:reg6
- [ 3b] GetGlobal value_feedback:0, dst:reg6, `matchDigits`
- [ 44] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[String("abc123")]
- [ 57] End value:reg5
+ [ 2a] AddLhsInt32 arith_feedback:0, dst:reg6, lhs:1, rhs:reg6
+ [ 33] DynamicInitializeLexicalBinding `c`, src:reg6
+ [ 3a] GetGlobal value_feedback:0, dst:reg6, `matchDigits`
+ [ 43] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[String("abc123")]
+ [ 4f] End value:reg5
-matchDigits$6910dc2c regex-literals.js:8:5
+matchDigits$e7aee3a4 regex-literals.js:8:5
Registers: 7
Blocks: 1
block0:
[ 0] Enter
[ 1] NewRegExp dst:reg5, \d+, g
- [ 8] GetById value_feedback:0, dst:reg6, base:reg5, `test`
+ [ 9] GetById value_feedback:0, dst:reg6, base:reg5, `test`
[ 15] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:reg5, arguments:[arg0]
- [ 28] Return value:reg5
+ [ 21] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/resolve-this-caching.txt b/Tests/LibJS/Bytecode/expected/resolve-this-caching.txt
index 1ffd9b4f999..dda0e8122bb 100644
--- a/Tests/LibJS/Bytecode/expected/resolve-this-caching.txt
+++ b/Tests/LibJS/Bytecode/expected/resolve-this-caching.txt
@@ -1,4 +1,4 @@
-$2cb5e223 resolve-this-caching.js:4:1
+$559fc86a resolve-this-caching.js:4:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $2cb5e223 resolve-this-caching.js:4:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `foo`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `foo`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-foo$17881964 resolve-this-caching.js:2:5
+foo$962620dc resolve-this-caching.js:2:5
Registers: 6
Blocks: 1
Constants:
@@ -21,11 +21,11 @@ foo$17881964 resolve-this-caching.js:2:5
block0:
[ 0] Enter
[ 1] NewFunction dst:reg5, shared_function_data_index:0
- [ c] Call value_feedback:0, call_feedback:0, dst:reg5, callee:reg5, this_value:Undefined
- [ 1d] Return value:reg5
+ [ b] Call value_feedback:0, call_feedback:0, dst:reg5, callee:reg5, this_value:Undefined
+ [ 16] Return value:reg5
-$259f4a12 resolve-this-caching.js:2:13
+$06a8c478 resolve-this-caching.js:2:13
Registers: 7
Blocks: 1
@@ -33,6 +33,6 @@ block0:
[ 0] Enter
[ 1] ResolveThisBinding
[ 2] GetById value_feedback:0, dst:reg5, base:this, `x`
- [ f] GetById value_feedback:1, dst:reg6, base:this, `y`
- [ 1c] Add arith_feedback:0, dst:reg5, lhs:reg5, rhs:reg6
- [ 25] Return value:reg5
+ [ e] GetById value_feedback:1, dst:reg6, base:this, `y`
+ [ 1a] Add arith_feedback:0, dst:reg5, lhs:reg5, rhs:reg6
+ [ 20] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/right-shift-by-zero.txt b/Tests/LibJS/Bytecode/expected/right-shift-by-zero.txt
index b3ecd7a9e25..4c6a789084c 100644
--- a/Tests/LibJS/Bytecode/expected/right-shift-by-zero.txt
+++ b/Tests/LibJS/Bytecode/expected/right-shift-by-zero.txt
@@ -1,4 +1,4 @@
-$13ec3034 right-shift-by-zero.js:5:1
+$eca9d76a right-shift-by-zero.js:5:1
Registers: 7
Blocks: 1
Constants:
@@ -8,16 +8,16 @@ $13ec3034 right-shift-by-zero.js:5:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `foo`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Double(1.5)]
- [ 22] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `foo`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Double(1.5)]
+ [ 19] End value:reg5
-foo$83e6ecff right-shift-by-zero.js:2:5
+foo$93622fcc right-shift-by-zero.js:2:5
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] ToInt32 arith_feedback:0, dst:reg5, value:arg0
- [ 8] Return value:reg5
+ [ 6] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/sequential-try-blocks.txt b/Tests/LibJS/Bytecode/expected/sequential-try-blocks.txt
index 52e68456add..6bedf9d73ae 100644
--- a/Tests/LibJS/Bytecode/expected/sequential-try-blocks.txt
+++ b/Tests/LibJS/Bytecode/expected/sequential-try-blocks.txt
@@ -1,4 +1,4 @@
-$da798cb9 sequential-try-blocks.js:17:1
+$73a29b3e sequential-try-blocks.js:17:1
Registers: 9
Blocks: 1
Constants:
@@ -7,15 +7,15 @@ $da798cb9 sequential-try-blocks.js:17:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `console`
- [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1c] GetGlobal value_feedback:2, dst:reg8, `sequentialTryCatch`
- [ 25] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
- [ 36] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 49] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ d] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 19] GetGlobal value_feedback:2, dst:reg8, `sequentialTryCatch`
+ [ 22] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
+ [ 2d] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 39] End value:reg5
-sequentialTryCatch$94dc1eee sequential-try-blocks.js:2:9
+sequentialTryCatch$c611d865 sequential-try-blocks.js:2:9
Registers: 6
Blocks: 6
Locals: result~0, e~1, e~2
@@ -34,33 +34,33 @@ block0:
[ 1] Mov dst:result~0, src:String("")
block1:
- [ 6] Add arith_feedback:0, dst:result~0, lhs:result~0, rhs:String("a")
- [ f] Throw src:Int32(1)
+ [ 4] Add arith_feedback:0, dst:result~0, lhs:result~0, rhs:String("a")
+ [ a] Throw src:Int32(1)
block2:
- [ 12] Catch value_feedback:0, dst:reg5
- [ 17] Mov dst:e~1, src:<Empty>
- [ 1c] Mov dst:e~1, src:reg5
- [ 21] Add arith_feedback:1, dst:result~0, lhs:result~0, rhs:String("b")
- [ 2a] Jump target:block3
+ [ c] Catch value_feedback:0, dst:reg5
+ [ 10] Mov dst:e~1, src:<Empty>
+ [ 13] Mov dst:e~1, src:reg5
+ [ 16] Add arith_feedback:1, dst:result~0, lhs:result~0, rhs:String("b")
+ [ 1c] Jump target:block3
block3:
- [ 2f] Add arith_feedback:2, dst:result~0, lhs:result~0, rhs:String("c")
- [ 38] Throw src:Int32(2)
+ [ 21] Add arith_feedback:2, dst:result~0, lhs:result~0, rhs:String("c")
+ [ 27] Throw src:Int32(2)
block4:
- [ 3b] Catch value_feedback:1, dst:reg5
- [ 40] Mov dst:e~2, src:<Empty>
- [ 45] Mov dst:e~2, src:reg5
- [ 4a] Add arith_feedback:3, dst:result~0, lhs:result~0, rhs:String("d")
- [ 53] Jump target:block5
+ [ 29] Catch value_feedback:1, dst:reg5
+ [ 2d] Mov dst:e~2, src:<Empty>
+ [ 30] Mov dst:e~2, src:reg5
+ [ 33] Add arith_feedback:3, dst:result~0, lhs:result~0, rhs:String("d")
+ [ 39] Jump target:block5
block5:
- [ 58] Return value:result~0
+ [ 3e] Return value:result~0
Exception handlers:
- [ 6 .. 12] => handler block2
- [ 2f .. 3b] => handler block4
+ [ 4 .. c] => handler block2
+ [ 21 .. 29] => handler block4
"abcd"
diff --git a/Tests/LibJS/Bytecode/expected/strict-global-assignment.txt b/Tests/LibJS/Bytecode/expected/strict-global-assignment.txt
index d0cb541766d..b885107649f 100644
--- a/Tests/LibJS/Bytecode/expected/strict-global-assignment.txt
+++ b/Tests/LibJS/Bytecode/expected/strict-global-assignment.txt
@@ -1,4 +1,4 @@
-$3553b60e strict-global-assignment.js:1:1
+$4792e9eb strict-global-assignment.js:1:1
Registers: 8
Blocks: 7
Constants:
@@ -10,32 +10,32 @@ $3553b60e strict-global-assignment.js:1:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg5, src:String("use strict")
- [ b] ResolveGlobalBinding dst:reg6, `counter`
- [ 12] JumpIf condition:reg6, true_target:block1, false_target:block2
+ [ 4] Mov dst:reg5, src:String("use strict")
+ [ 7] ResolveGlobalBinding dst:reg6, `counter`
+ [ e] JumpIf condition:reg6, true_target:block1, false_target:block2
block1:
- [ 1d] SetGlobal `counter`, src:Int32(0)
- [ 24] Jump target:block3
+ [ 18] SetGlobal `counter`, src:Int32(0)
+ [ 1f] Jump target:block3
block2:
- [ 29] SetResolvedBinding environment:Null, `counter`, src:Int32(0)
- [ 30] Jump target:block3
+ [ 24] SetResolvedBinding environment:Null, `counter`, src:Int32(0)
+ [ 2a] Jump target:block3
block3:
- [ 35] ResolveGlobalBinding dst:reg6, `counter`
- [ 3c] GetGlobal value_feedback:0, dst:reg7, `counter`
- [ 45] AddRhsInt32 arith_feedback:0, dst:reg7, lhs:reg7, rhs:1
- [ 50] JumpIf condition:reg6, true_target:block4, false_target:block5
+ [ 2f] ResolveGlobalBinding dst:reg6, `counter`
+ [ 36] GetGlobal value_feedback:0, dst:reg7, `counter`
+ [ 3f] AddRhsInt32 arith_feedback:0, dst:reg7, lhs:reg7, rhs:1
+ [ 48] JumpIf condition:reg6, true_target:block4, false_target:block5
block4:
- [ 5b] SetGlobal `counter`, src:reg7
- [ 62] Jump target:block6
+ [ 52] SetGlobal `counter`, src:reg7
+ [ 59] Jump target:block6
block5:
- [ 67] SetResolvedBinding environment:Null, `counter`, src:reg7
- [ 6e] Jump target:block6
+ [ 5e] SetResolvedBinding environment:Null, `counter`, src:reg7
+ [ 64] Jump target:block6
block6:
- [ 73] Mov dst:reg5, src:reg7
- [ 78] End value:reg5
+ [ 69] Mov dst:reg5, src:reg7
+ [ 6c] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/super-call-spread-register-order.txt b/Tests/LibJS/Bytecode/expected/super-call-spread-register-order.txt
index 0e1c304be08..23c49e84686 100644
--- a/Tests/LibJS/Bytecode/expected/super-call-spread-register-order.txt
+++ b/Tests/LibJS/Bytecode/expected/super-call-spread-register-order.txt
@@ -1,4 +1,4 @@
-$97bf28fc super-call-spread-register-order.js:1:1
+$bde51e33 super-call-spread-register-order.js:1:1
Registers: 11
Blocks: 1
Constants:
@@ -7,20 +7,20 @@ $97bf28fc super-call-spread-register-order.js:1:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
- [ 21] GetGlobal value_feedback:0, dst:reg9, `Object`
- [ 2a] GetClassProtoParent dst:reg10, super_class:reg9
- [ 2f] SetLexicalEnvironment environment:reg4
- [ 32] NewClass dst:reg6, super_class:reg9, proto_parent:reg10, class_environment:reg7, class_blueprint_index:0
- [ 47] DynamicInitializeLexicalBinding `C`, src:reg6
- [ 4e] GetGlobal value_feedback:1, dst:reg6, `C`
- [ 57] CallConstruct value_feedback:2, call_feedback:0, dst:reg5, callee:reg6
- [ 66] End value:reg5
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] GetGlobal value_feedback:0, dst:reg9, `Object`
+ [ 26] GetClassProtoParent dst:reg10, super_class:reg9
+ [ 29] SetLexicalEnvironment environment:reg4
+ [ 2b] NewClass dst:reg6, super_class:reg9, proto_parent:reg10, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false
+ [ 3a] DynamicInitializeLexicalBinding `C`, src:reg6
+ [ 41] GetGlobal value_feedback:1, dst:reg6, `C`
+ [ 4a] CallConstruct value_feedback:2, call_feedback:0, dst:reg5, callee:reg6
+ [ 54] End value:reg5
-C$dafa8372 super-call-spread-register-order.js:2:17
+C$9fd1694e super-call-spread-register-order.js:2:17
Registers: 7
Blocks: 1
Constants:
@@ -29,8 +29,8 @@ C$dafa8372 super-call-spread-register-order.js:2:17
block0:
[ 0] Enter
[ 1] CreateRestParams dst:arg0, rest_index:0
- [ 8] GetSuperConstructor dst:reg5
- [ b] NewArray dst:reg6
- [ 12] ArrayAppend dst:reg6, src:arg0, is_spread:true
- [ 18] SuperCallWithArgumentArray value_feedback:0, call_feedback:0, dst:reg5, super_constructor:reg5, arguments:reg6, is_synthetic:false
- [ 24] End value:Undefined
+ [ 7] GetSuperConstructor dst:reg5
+ [ 9] NewArray dst:reg6
+ [ c] ArrayAppend dst:reg6, src:arg0, is_spread:true
+ [ 10] SuperCallWithArgumentArray value_feedback:0, call_feedback:0, dst:reg5, super_constructor:reg5, arguments:reg6, is_synthetic:false
+ [ 19] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/super-computed-eval-order.txt b/Tests/LibJS/Bytecode/expected/super-computed-eval-order.txt
index b8d603308e4..b54e2d03b71 100644
--- a/Tests/LibJS/Bytecode/expected/super-computed-eval-order.txt
+++ b/Tests/LibJS/Bytecode/expected/super-computed-eval-order.txt
@@ -1,4 +1,4 @@
-$772115e5 super-computed-eval-order.js:1:1
+$6ff1a648 super-computed-eval-order.js:1:1
Registers: 11
Blocks: 1
Constants:
@@ -8,27 +8,27 @@ $772115e5 super-computed-eval-order.js:1:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `Base`, is_immutable:true, is_global:false, is_strict:true
- [ 21] SetLexicalEnvironment environment:reg4
- [ 24] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0
- [ 39] DynamicInitializeLexicalBinding `Base`, src:reg6
- [ 40] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 4e] CreateVariable `Derived`, is_immutable:true, is_global:false, is_strict:true
- [ 58] GetGlobal value_feedback:0, dst:reg9, `Base`
- [ 61] GetClassProtoParent dst:reg10, super_class:reg9
- [ 66] SetLexicalEnvironment environment:reg4
- [ 69] NewClass dst:reg6, super_class:reg9, proto_parent:reg10, class_environment:reg7, class_blueprint_index:1, element_keys:[element_keys:String("test")]
- [ 80] DynamicInitializeLexicalBinding `Derived`, src:reg6
- [ 87] GetGlobal value_feedback:1, dst:reg6, `Derived`
- [ 90] CallConstruct value_feedback:2, call_feedback:0, dst:reg6, callee:reg6
- [ 9f] GetById value_feedback:3, dst:reg7, base:reg6, `test`
- [ ac] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
- [ bd] End value:reg5
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `Base`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] SetLexicalEnvironment environment:reg4
+ [ 1f] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false
+ [ 2e] DynamicInitializeLexicalBinding `Base`, src:reg6
+ [ 35] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 41] CreateVariable `Derived`, is_immutable:true, is_global:false, is_strict:true
+ [ 4c] GetGlobal value_feedback:0, dst:reg9, `Base`
+ [ 55] GetClassProtoParent dst:reg10, super_class:reg9
+ [ 58] SetLexicalEnvironment environment:reg4
+ [ 5a] NewClass dst:reg6, super_class:reg9, proto_parent:reg10, class_environment:reg7, class_blueprint_index:1, element_keys_are_in_array:false, element_keys:[element_keys:String("test")]
+ [ 6a] DynamicInitializeLexicalBinding `Derived`, src:reg6
+ [ 71] GetGlobal value_feedback:1, dst:reg6, `Derived`
+ [ 7a] CallConstruct value_feedback:2, call_feedback:0, dst:reg6, callee:reg6
+ [ 84] GetById value_feedback:3, dst:reg7, base:reg6, `test`
+ [ 90] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
+ [ 9b] End value:reg5
-Derived$d57a3260 super-computed-eval-order.js:4:14
+Derived$4760e81b super-computed-eval-order.js:4:14
Registers: 7
Blocks: 1
Constants:
@@ -37,12 +37,12 @@ Derived$d57a3260 super-computed-eval-order.js:4:14
block0:
[ 0] Enter
[ 1] GetSuperConstructor dst:reg5
- [ 4] NewArray dst:reg6
- [ b] SuperCallWithArgumentArray value_feedback:0, call_feedback:0, dst:reg5, super_constructor:reg5, arguments:reg6, is_synthetic:false
- [ 17] End value:Undefined
+ [ 3] NewArray dst:reg6
+ [ 6] SuperCallWithArgumentArray value_feedback:0, call_feedback:0, dst:reg5, super_constructor:reg5, arguments:reg6, is_synthetic:false
+ [ f] End value:Undefined
-Base$63b0b4c4
+Base$138475b3
Registers: 5
Blocks: 1
Constants:
@@ -53,7 +53,7 @@ block0:
[ 1] End value:Undefined
-test$8d7e9246 super-computed-eval-order.js:7:9
+test$309b0178 super-computed-eval-order.js:7:9
Registers: 7
Blocks: 1
Constants:
@@ -63,5 +63,5 @@ block0:
[ 0] Enter
[ 1] ResolveThisBinding
[ 2] ResolveSuperBase dst:reg5
- [ 5] GetByValueWithThis value_feedback:0, dst:reg6, base:reg5, property:Int32(0), this_value:this
- [ 10] Return value:reg6
+ [ 4] GetByValueWithThis value_feedback:0, dst:reg6, base:reg5, property:Int32(0), this_value:this
+ [ b] Return value:reg6
diff --git a/Tests/LibJS/Bytecode/expected/super-computed-string-to-id.txt b/Tests/LibJS/Bytecode/expected/super-computed-string-to-id.txt
index 745a5f60364..38dcfc406e5 100644
--- a/Tests/LibJS/Bytecode/expected/super-computed-string-to-id.txt
+++ b/Tests/LibJS/Bytecode/expected/super-computed-string-to-id.txt
@@ -1,4 +1,4 @@
-$97bf28fc super-computed-string-to-id.js:1:1
+$bde51e33 super-computed-string-to-id.js:1:1
Registers: 11
Blocks: 1
Constants:
@@ -7,20 +7,20 @@ $97bf28fc super-computed-string-to-id.js:1:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
- [ 21] GetGlobal value_feedback:0, dst:reg9, `Object`
- [ 2a] GetClassProtoParent dst:reg10, super_class:reg9
- [ 2f] SetLexicalEnvironment environment:reg4
- [ 32] NewClass dst:reg6, super_class:reg9, proto_parent:reg10, class_environment:reg7, class_blueprint_index:0
- [ 47] DynamicInitializeLexicalBinding `C`, src:reg6
- [ 4e] GetGlobal value_feedback:1, dst:reg6, `C`
- [ 57] CallConstruct value_feedback:2, call_feedback:0, dst:reg5, callee:reg6
- [ 66] End value:reg5
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] GetGlobal value_feedback:0, dst:reg9, `Object`
+ [ 26] GetClassProtoParent dst:reg10, super_class:reg9
+ [ 29] SetLexicalEnvironment environment:reg4
+ [ 2b] NewClass dst:reg6, super_class:reg9, proto_parent:reg10, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false
+ [ 3a] DynamicInitializeLexicalBinding `C`, src:reg6
+ [ 41] GetGlobal value_feedback:1, dst:reg6, `C`
+ [ 4a] CallConstruct value_feedback:2, call_feedback:0, dst:reg5, callee:reg6
+ [ 54] End value:reg5
-C$b72b4336 super-computed-string-to-id.js:3:14
+C$f7dc3f7a super-computed-string-to-id.js:3:14
Registers: 7
Blocks: 1
Constants:
@@ -30,9 +30,9 @@ C$b72b4336 super-computed-string-to-id.js:3:14
block0:
[ 0] Enter
[ 1] GetSuperConstructor dst:reg5
- [ 4] NewArray dst:reg6
- [ b] SuperCallWithArgumentArray value_feedback:0, call_feedback:0, dst:reg5, super_constructor:reg5, arguments:reg6, is_synthetic:false
- [ 17] ResolveThisBinding
- [ 18] ResolveSuperBase dst:reg5
- [ 1b] PutByIdWithThis base:reg5, this_value:this, `foo`, src:Int32(1), kind:Normal
- [ 2a] End value:Undefined
+ [ 3] NewArray dst:reg6
+ [ 6] SuperCallWithArgumentArray value_feedback:0, call_feedback:0, dst:reg5, super_constructor:reg5, arguments:reg6, is_synthetic:false
+ [ f] ResolveThisBinding
+ [ 10] ResolveSuperBase dst:reg5
+ [ 12] PutByIdWithThis base:reg5, this_value:this, `foo`, src:Int32(1), kind:Normal
+ [ 1f] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/super-constructor-call.txt b/Tests/LibJS/Bytecode/expected/super-constructor-call.txt
index 9efaec6bfab..e5aab383650 100644
--- a/Tests/LibJS/Bytecode/expected/super-constructor-call.txt
+++ b/Tests/LibJS/Bytecode/expected/super-constructor-call.txt
@@ -1,4 +1,4 @@
-$28113a67 super-constructor-call.js:1:1
+$e1d85c03 super-constructor-call.js:1:1
Registers: 11
Blocks: 1
Constants:
@@ -8,25 +8,25 @@ $28113a67 super-constructor-call.js:1:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `Base`, is_immutable:true, is_global:false, is_strict:true
- [ 21] SetLexicalEnvironment environment:reg4
- [ 24] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0
- [ 39] DynamicInitializeLexicalBinding `Base`, src:reg6
- [ 40] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 4e] CreateVariable `Derived`, is_immutable:true, is_global:false, is_strict:true
- [ 58] GetGlobal value_feedback:0, dst:reg9, `Base`
- [ 61] GetClassProtoParent dst:reg10, super_class:reg9
- [ 66] SetLexicalEnvironment environment:reg4
- [ 69] NewClass dst:reg6, super_class:reg9, proto_parent:reg10, class_environment:reg7, class_blueprint_index:1
- [ 7e] DynamicInitializeLexicalBinding `Derived`, src:reg6
- [ 85] GetGlobal value_feedback:1, dst:reg6, `Derived`
- [ 8e] CallConstruct value_feedback:2, call_feedback:0, dst:reg5, callee:reg6, arguments:[Int32(1)]
- [ 9f] End value:reg5
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `Base`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] SetLexicalEnvironment environment:reg4
+ [ 1f] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false
+ [ 2e] DynamicInitializeLexicalBinding `Base`, src:reg6
+ [ 35] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 41] CreateVariable `Derived`, is_immutable:true, is_global:false, is_strict:true
+ [ 4c] GetGlobal value_feedback:0, dst:reg9, `Base`
+ [ 55] GetClassProtoParent dst:reg10, super_class:reg9
+ [ 58] SetLexicalEnvironment environment:reg4
+ [ 5a] NewClass dst:reg6, super_class:reg9, proto_parent:reg10, class_environment:reg7, class_blueprint_index:1, element_keys_are_in_array:false
+ [ 69] DynamicInitializeLexicalBinding `Derived`, src:reg6
+ [ 70] GetGlobal value_feedback:1, dst:reg6, `Derived`
+ [ 79] CallConstruct value_feedback:2, call_feedback:0, dst:reg5, callee:reg6, arguments:[Int32(1)]
+ [ 84] End value:reg5
-Derived$b683acc6 super-constructor-call.js:4:14
+Derived$56dc2ae8 super-constructor-call.js:4:14
Registers: 7
Blocks: 1
Constants:
@@ -35,12 +35,12 @@ Derived$b683acc6 super-constructor-call.js:4:14
block0:
[ 0] Enter
[ 1] GetSuperConstructor dst:reg5
- [ 4] NewArray dst:reg6, elements:[arg0]
- [ d] SuperCallWithArgumentArray value_feedback:0, call_feedback:0, dst:reg5, super_constructor:reg5, arguments:reg6, is_synthetic:false
- [ 19] End value:Undefined
+ [ 3] NewArray dst:reg6, elements:[arg0]
+ [ 7] SuperCallWithArgumentArray value_feedback:0, call_feedback:0, dst:reg5, super_constructor:reg5, arguments:reg6, is_synthetic:false
+ [ 10] End value:Undefined
-Base$63b0b4c4
+Base$138475b3
Registers: 5
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/super-evaluation-order.txt b/Tests/LibJS/Bytecode/expected/super-evaluation-order.txt
index bef82229bfc..aea2a1d676a 100644
--- a/Tests/LibJS/Bytecode/expected/super-evaluation-order.txt
+++ b/Tests/LibJS/Bytecode/expected/super-evaluation-order.txt
@@ -1,4 +1,4 @@
-$ab1ac06c super-evaluation-order.js:1:1
+$367019a1 super-evaluation-order.js:1:1
Registers: 11
Blocks: 1
Constants:
@@ -10,42 +10,42 @@ $ab1ac06c super-evaluation-order.js:1:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `A`, is_immutable:true, is_global:false, is_strict:true
- [ 21] GetGlobal value_feedback:0, dst:reg9, `Object`
- [ 2a] GetClassProtoParent dst:reg10, super_class:reg9
- [ 2f] SetLexicalEnvironment environment:reg4
- [ 32] NewClass dst:reg6, super_class:reg9, proto_parent:reg10, class_environment:reg7, class_blueprint_index:0, element_keys:[element_keys:String("read"), element_keys:String("write"), element_keys:String("update")]
- [ 4d] DynamicInitializeLexicalBinding `A`, src:reg6
- [ 54] GetGlobal value_feedback:1, dst:reg6, `A`
- [ 5d] CallConstruct value_feedback:2, call_feedback:0, dst:reg6, callee:reg6
- [ 6c] GetById value_feedback:3, dst:reg7, base:reg6, `read`
- [ 79] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
- [ 8a] GetGlobal value_feedback:5, dst:reg6, `A`
- [ 93] CallConstruct value_feedback:6, call_feedback:2, dst:reg6, callee:reg6
- [ a2] GetById value_feedback:7, dst:reg7, base:reg6, `write`
- [ af] Call value_feedback:8, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6
- [ c0] GetGlobal value_feedback:9, dst:reg6, `A`
- [ c9] CallConstruct value_feedback:10, call_feedback:4, dst:reg6, callee:reg6
- [ d8] GetById value_feedback:11, dst:reg7, base:reg6, `update`
- [ e5] Call value_feedback:12, call_feedback:5, dst:reg5, callee:reg7, this_value:reg6
- [ f6] End value:reg5
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `A`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] GetGlobal value_feedback:0, dst:reg9, `Object`
+ [ 26] GetClassProtoParent dst:reg10, super_class:reg9
+ [ 29] SetLexicalEnvironment environment:reg4
+ [ 2b] NewClass dst:reg6, super_class:reg9, proto_parent:reg10, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false, element_keys:[element_keys:String("read"), element_keys:String("write"), element_keys:String("update")]
+ [ 3d] DynamicInitializeLexicalBinding `A`, src:reg6
+ [ 44] GetGlobal value_feedback:1, dst:reg6, `A`
+ [ 4d] CallConstruct value_feedback:2, call_feedback:0, dst:reg6, callee:reg6
+ [ 57] GetById value_feedback:3, dst:reg7, base:reg6, `read`
+ [ 63] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
+ [ 6e] GetGlobal value_feedback:5, dst:reg6, `A`
+ [ 77] CallConstruct value_feedback:6, call_feedback:2, dst:reg6, callee:reg6
+ [ 81] GetById value_feedback:7, dst:reg7, base:reg6, `write`
+ [ 8d] Call value_feedback:8, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6
+ [ 98] GetGlobal value_feedback:9, dst:reg6, `A`
+ [ a1] CallConstruct value_feedback:10, call_feedback:4, dst:reg6, callee:reg6
+ [ ab] GetById value_feedback:11, dst:reg7, base:reg6, `update`
+ [ b7] Call value_feedback:12, call_feedback:5, dst:reg5, callee:reg7, this_value:reg6
+ [ c2] End value:reg5
-A$d50f708e super-evaluation-order.js:1:1
+A$72a3fda0 super-evaluation-order.js:1:1
Registers: 8
Blocks: 1
block0:
[ 0] Enter
[ 1] CreateRestParams dst:reg5, rest_index:0
- [ 8] GetSuperConstructor dst:reg6
- [ b] SuperCallWithArgumentArray value_feedback:0, call_feedback:0, dst:reg7, super_constructor:reg6, arguments:reg5, is_synthetic:true
- [ 17] Return value:reg7
+ [ 7] GetSuperConstructor dst:reg6
+ [ 9] SuperCallWithArgumentArray value_feedback:0, call_feedback:0, dst:reg7, super_constructor:reg6, arguments:reg5, is_synthetic:true
+ [ 12] Return value:reg7
-read$c75eacc0 super-evaluation-order.js:3:9
+read$080fa904 super-evaluation-order.js:3:9
Registers: 7
Blocks: 1
@@ -53,11 +53,11 @@ block0:
[ 0] Enter
[ 1] ResolveThisBinding
[ 2] ResolveSuperBase dst:reg5
- [ 5] GetByIdWithThis value_feedback:0, dst:reg6, base:reg5, `x`, this_value:this
- [ 12] Return value:reg6
+ [ 4] GetByIdWithThis value_feedback:0, dst:reg6, base:reg5, `x`, this_value:this
+ [ f] Return value:reg6
-write$8774a270 super-evaluation-order.js:6:9
+write$c8259eb4 super-evaluation-order.js:6:9
Registers: 6
Blocks: 1
Constants:
@@ -68,11 +68,11 @@ block0:
[ 0] Enter
[ 1] ResolveThisBinding
[ 2] ResolveSuperBase dst:reg5
- [ 5] PutByIdWithThis base:reg5, this_value:this, `x`, src:Int32(42), kind:Normal
- [ 14] End value:Undefined
+ [ 4] PutByIdWithThis base:reg5, this_value:this, `x`, src:Int32(42), kind:Normal
+ [ 11] End value:Undefined
-update$7a2fe82f super-evaluation-order.js:9:9
+update$f8cdefa7 super-evaluation-order.js:9:9
Registers: 8
Blocks: 1
Constants:
@@ -82,7 +82,7 @@ block0:
[ 0] Enter
[ 1] ResolveThisBinding
[ 2] ResolveSuperBase dst:reg5
- [ 5] GetByIdWithThis value_feedback:0, dst:reg6, base:reg5, `x`, this_value:this
- [ 12] PostfixIncrement arith_feedback:0, dst:reg7, src:reg6
- [ 19] PutByIdWithThis base:reg5, this_value:this, `x`, src:reg6, kind:Normal
- [ 28] End value:Undefined
+ [ 4] GetByIdWithThis value_feedback:0, dst:reg6, base:reg5, `x`, this_value:this
+ [ f] PostfixIncrement arith_feedback:0, dst:reg7, src:reg6
+ [ 14] PutByIdWithThis base:reg5, this_value:this, `x`, src:reg6, kind:Normal
+ [ 21] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/super-for-of-resolve-order.txt b/Tests/LibJS/Bytecode/expected/super-for-of-resolve-order.txt
index c0b0fd91beb..89c52769119 100644
--- a/Tests/LibJS/Bytecode/expected/super-for-of-resolve-order.txt
+++ b/Tests/LibJS/Bytecode/expected/super-for-of-resolve-order.txt
@@ -1,4 +1,4 @@
-$2fcbd3ee super-for-of-resolve-order.js:1:1
+$82bc040f super-for-of-resolve-order.js:1:1
Registers: 8
Blocks: 1
Constants:
@@ -7,18 +7,18 @@ $2fcbd3ee super-for-of-resolve-order.js:1:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
- [ 21] SetLexicalEnvironment environment:reg4
- [ 24] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0
- [ 39] DynamicInitializeLexicalBinding `C`, src:reg6
- [ 40] GetGlobal value_feedback:0, dst:reg6, `C`
- [ 49] CallConstruct value_feedback:1, call_feedback:0, dst:reg5, callee:reg6
- [ 58] End value:reg5
-
-
-C$fc47be07 super-for-of-resolve-order.js:3:14
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] SetLexicalEnvironment environment:reg4
+ [ 1f] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false
+ [ 2e] DynamicInitializeLexicalBinding `C`, src:reg6
+ [ 35] GetGlobal value_feedback:0, dst:reg6, `C`
+ [ 3e] CallConstruct value_feedback:1, call_feedback:0, dst:reg5, callee:reg6
+ [ 48] End value:reg5
+
+
+C$8fe8ea6c super-for-of-resolve-order.js:3:14
Registers: 12
Blocks: 5
Constants:
@@ -27,25 +27,25 @@ C$fc47be07 super-for-of-resolve-order.js:3:14
block0:
[ 0] Enter
[ 1] NewPrimitiveArray dst:reg5, elements:[1, 2]
- [ 18] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:true
+ [ 17] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:true
block1:
- [ 28] IteratorNextUnpack dst_value:reg9, dst_done:reg10, iterator_object:reg6, iterator_next:reg7, iterator_done:reg8
- [ 33] JumpTrue condition:reg10, target:block4
+ [ 23] IteratorNextUnpack dst_value:reg9, dst_done:reg10, iterator_object:reg6, iterator_next:reg7, iterator_done:reg8
+ [ 29] JumpTrue condition:reg10, target:block4
block2:
- [ 3a] ResolveThisBinding
- [ 3b] ResolveSuperBase dst:reg11
- [ 3e] PutByIdWithThis base:reg11, this_value:this, `prop`, src:reg9, kind:Normal
- [ 4d] JumpLoop target:block1
+ [ 2f] ResolveThisBinding
+ [ 30] ResolveSuperBase dst:reg11
+ [ 32] PutByIdWithThis base:reg11, this_value:this, `prop`, src:reg9, kind:Normal
+ [ 3f] JumpLoop target:block1
block3:
- [ 52] Catch value_feedback:0, dst:reg11
- [ 57] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:reg11
- [ 66] Throw src:reg11
+ [ 44] Catch value_feedback:0, dst:reg11
+ [ 48] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:reg11
+ [ 53] Throw src:reg11
block4:
- [ 69] End value:Undefined
+ [ 55] End value:Undefined
Exception handlers:
- [ 3a .. 52] => handler block3
+ [ 2f .. 44] => handler block3
diff --git a/Tests/LibJS/Bytecode/expected/super-length-access.txt b/Tests/LibJS/Bytecode/expected/super-length-access.txt
index 9e29593c561..8f3991e7351 100644
--- a/Tests/LibJS/Bytecode/expected/super-length-access.txt
+++ b/Tests/LibJS/Bytecode/expected/super-length-access.txt
@@ -1,4 +1,4 @@
-$67c1efa5 super-length-access.js:3:1
+$9a9f3699 super-length-access.js:3:1
Registers: 11
Blocks: 1
Constants:
@@ -9,39 +9,39 @@ $67c1efa5 super-length-access.js:3:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `A`, is_immutable:true, is_global:false, is_strict:true
- [ 21] SetLexicalEnvironment environment:reg4
- [ 24] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys:[element_keys:String("length")]
- [ 3b] DynamicInitializeLexicalBinding `A`, src:reg6
- [ 42] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 50] CreateVariable `B`, is_immutable:true, is_global:false, is_strict:true
- [ 5a] GetGlobal value_feedback:0, dst:reg9, `A`
- [ 63] GetClassProtoParent dst:reg10, super_class:reg9
- [ 68] SetLexicalEnvironment environment:reg4
- [ 6b] NewClass dst:reg6, super_class:reg9, proto_parent:reg10, class_environment:reg7, class_blueprint_index:1, element_keys:[element_keys:String("m")]
- [ 82] DynamicInitializeLexicalBinding `B`, src:reg6
- [ 89] GetGlobal value_feedback:1, dst:reg6, `B`
- [ 92] CallConstruct value_feedback:2, call_feedback:0, dst:reg6, callee:reg6
- [ a1] GetById value_feedback:3, dst:reg7, base:reg6, `m`
- [ ae] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
- [ bf] End value:reg5
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `A`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] SetLexicalEnvironment environment:reg4
+ [ 1f] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false, element_keys:[element_keys:String("length")]
+ [ 2f] DynamicInitializeLexicalBinding `A`, src:reg6
+ [ 36] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 42] CreateVariable `B`, is_immutable:true, is_global:false, is_strict:true
+ [ 4d] GetGlobal value_feedback:0, dst:reg9, `A`
+ [ 56] GetClassProtoParent dst:reg10, super_class:reg9
+ [ 59] SetLexicalEnvironment environment:reg4
+ [ 5b] NewClass dst:reg6, super_class:reg9, proto_parent:reg10, class_environment:reg7, class_blueprint_index:1, element_keys_are_in_array:false, element_keys:[element_keys:String("m")]
+ [ 6b] DynamicInitializeLexicalBinding `B`, src:reg6
+ [ 72] GetGlobal value_feedback:1, dst:reg6, `B`
+ [ 7b] CallConstruct value_feedback:2, call_feedback:0, dst:reg6, callee:reg6
+ [ 85] GetById value_feedback:3, dst:reg7, base:reg6, `m`
+ [ 91] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
+ [ 9c] End value:reg5
-B$7f8cb8a3 super-length-access.js:7:1
+B$a1472f4d super-length-access.js:7:1
Registers: 8
Blocks: 1
block0:
[ 0] Enter
[ 1] CreateRestParams dst:reg5, rest_index:0
- [ 8] GetSuperConstructor dst:reg6
- [ b] SuperCallWithArgumentArray value_feedback:0, call_feedback:0, dst:reg7, super_constructor:reg6, arguments:reg5, is_synthetic:true
- [ 17] Return value:reg7
+ [ 7] GetSuperConstructor dst:reg6
+ [ 9] SuperCallWithArgumentArray value_feedback:0, call_feedback:0, dst:reg7, super_constructor:reg6, arguments:reg5, is_synthetic:true
+ [ 12] Return value:reg7
-A$2cf29520
+A$5e284e97
Registers: 5
Blocks: 1
Constants:
@@ -52,7 +52,7 @@ block0:
[ 1] End value:Undefined
-m$62ba6a1b super-length-access.js:9:9
+m$d4a11fd6 super-length-access.js:9:9
Registers: 7
Blocks: 1
@@ -60,11 +60,11 @@ block0:
[ 0] Enter
[ 1] ResolveThisBinding
[ 2] ResolveSuperBase dst:reg5
- [ 5] GetLengthWithThis value_feedback:0, dst:reg6, base:reg5, this_value:this
- [ 10] Return value:reg6
+ [ 4] GetLengthWithThis value_feedback:0, dst:reg6, base:reg5, this_value:this
+ [ c] Return value:reg6
-get length$26cb9903 super-length-access.js:4:20
+get length$76f7d814 super-length-access.js:4:20
Registers: 5
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/super-method-call-order.txt b/Tests/LibJS/Bytecode/expected/super-method-call-order.txt
index 854c85922fd..288005eba14 100644
--- a/Tests/LibJS/Bytecode/expected/super-method-call-order.txt
+++ b/Tests/LibJS/Bytecode/expected/super-method-call-order.txt
@@ -1,4 +1,4 @@
-$25f7459f super-method-call-order.js:1:5
+$9ea4fc89 super-method-call-order.js:1:5
Registers: 8
Blocks: 1
Constants:
@@ -7,32 +7,32 @@ $25f7459f super-method-call-order.js:1:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] NewObject dst:reg6
- [ b] NewFunction dst:reg7, shared_function_data_index:0 (m), home_object:reg6
- [ 16] PutById base:reg6, `m`, src:reg7, kind:Own
- [ 25] SetGlobal `proto`, src:reg6
- [ 2c] NewObject dst:reg6
- [ 31] GetGlobal value_feedback:0, dst:reg7, `proto`
- [ 3a] PutById base:reg6, `__proto__`, src:reg7, kind:Prototype
- [ 49] NewFunction dst:reg7, shared_function_data_index:1 (test), home_object:reg6
- [ 54] PutById base:reg6, `test`, src:reg7, kind:Own
- [ 63] NewFunction dst:reg7, shared_function_data_index:2 (get x), home_object:reg6
- [ 6e] PutById base:reg6, `x`, src:reg7, kind:Getter
- [ 7d] NewFunction dst:reg7, shared_function_data_index:3 (test2), home_object:reg6
- [ 88] PutById base:reg6, `test2`, src:reg7, kind:Own
- [ 97] SetGlobal `obj`, src:reg6
- [ 9e] GetGlobal value_feedback:1, dst:reg6, `obj`
- [ a7] GetById value_feedback:2, dst:reg7, base:reg6, `test`
- [ b4] Call value_feedback:3, call_feedback:0, dst:reg5, callee:reg7, this_value:reg6
- [ c5] GetGlobal value_feedback:4, dst:reg6, `obj`
- [ ce] GetById value_feedback:5, dst:reg5, base:reg6, `x`
- [ db] GetGlobal value_feedback:6, dst:reg6, `obj`
- [ e4] GetById value_feedback:7, dst:reg7, base:reg6, `test2`
- [ f1] Call value_feedback:8, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
- [ 102] End value:reg5
+ [ 4] NewObject dst:reg6
+ [ 8] NewFunction dst:reg7, shared_function_data_index:0 (m), home_object:reg6
+ [ 12] PutById base:reg6, `m`, src:reg7, kind:Own
+ [ 20] SetGlobal `proto`, src:reg6
+ [ 27] NewObject dst:reg6
+ [ 2b] GetGlobal value_feedback:0, dst:reg7, `proto`
+ [ 34] PutById base:reg6, `__proto__`, src:reg7, kind:Prototype
+ [ 42] NewFunction dst:reg7, shared_function_data_index:1 (test), home_object:reg6
+ [ 4c] PutById base:reg6, `test`, src:reg7, kind:Own
+ [ 5a] NewFunction dst:reg7, shared_function_data_index:2 (get x), home_object:reg6
+ [ 64] PutById base:reg6, `x`, src:reg7, kind:Getter
+ [ 72] NewFunction dst:reg7, shared_function_data_index:3 (test2), home_object:reg6
+ [ 7c] PutById base:reg6, `test2`, src:reg7, kind:Own
+ [ 8a] SetGlobal `obj`, src:reg6
+ [ 91] GetGlobal value_feedback:1, dst:reg6, `obj`
+ [ 9a] GetById value_feedback:2, dst:reg7, base:reg6, `test`
+ [ a6] Call value_feedback:3, call_feedback:0, dst:reg5, callee:reg7, this_value:reg6
+ [ b1] GetGlobal value_feedback:4, dst:reg6, `obj`
+ [ ba] GetById value_feedback:5, dst:reg5, base:reg6, `x`
+ [ c6] GetGlobal value_feedback:6, dst:reg6, `obj`
+ [ cf] GetById value_feedback:7, dst:reg7, base:reg6, `test2`
+ [ db] Call value_feedback:8, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
+ [ e6] End value:reg5
-test$009dc821 super-method-call-order.js:5:9
+test$251c2fdb super-method-call-order.js:5:9
Registers: 7
Blocks: 1
@@ -40,12 +40,12 @@ block0:
[ 0] Enter
[ 1] ResolveThisBinding
[ 2] ResolveSuperBase dst:reg5
- [ 5] GetByIdWithThis value_feedback:0, dst:reg6, base:reg5, `m`, this_value:this
- [ 12] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:this
- [ 23] Return value:reg5
+ [ 4] GetByIdWithThis value_feedback:0, dst:reg6, base:reg5, `m`, this_value:this
+ [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:this
+ [ 1a] Return value:reg5
-m$2a6b6cac
+m$da3f2d9b
Registers: 5
Blocks: 1
Constants:
@@ -56,7 +56,7 @@ block0:
[ 1] End value:Undefined
-get x$b67dddfc super-method-call-order.js:8:9
+get x$cd289066 super-method-call-order.js:8:9
Registers: 7
Blocks: 1
@@ -64,12 +64,12 @@ block0:
[ 0] Enter
[ 1] ResolveThisBinding
[ 2] ResolveSuperBase dst:reg5
- [ 5] GetByIdWithThis value_feedback:0, dst:reg6, base:reg5, `m`, this_value:this
- [ 12] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:this
- [ 23] Return value:reg5
+ [ 4] GetByIdWithThis value_feedback:0, dst:reg6, base:reg5, `m`, this_value:this
+ [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:this
+ [ 1a] Return value:reg5
-test2$8f81d445 super-method-call-order.js:11:9
+test2$a8f077bf super-method-call-order.js:11:9
Registers: 7
Blocks: 1
@@ -77,6 +77,6 @@ block0:
[ 0] Enter
[ 1] ResolveThisBinding
[ 2] ResolveSuperBase dst:reg5
- [ 5] GetByIdWithThis value_feedback:0, dst:reg6, base:reg5, `m`, this_value:this
- [ 12] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:this
- [ 23] Return value:reg5
+ [ 4] GetByIdWithThis value_feedback:0, dst:reg6, base:reg5, `m`, this_value:this
+ [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:this
+ [ 1a] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/super-optional-call-this.txt b/Tests/LibJS/Bytecode/expected/super-optional-call-this.txt
index 8f48cc94505..ce030b5d66a 100644
--- a/Tests/LibJS/Bytecode/expected/super-optional-call-this.txt
+++ b/Tests/LibJS/Bytecode/expected/super-optional-call-this.txt
@@ -1,4 +1,4 @@
-$17799407 super-optional-call-this.js:1:1
+$6076637b super-optional-call-this.js:1:1
Registers: 11
Blocks: 1
Constants:
@@ -8,39 +8,39 @@ $17799407 super-optional-call-this.js:1:1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:Undefined
- [ 9] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `Base`, is_immutable:true, is_global:false, is_strict:true
- [ 21] SetLexicalEnvironment environment:reg4
- [ 24] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys:[element_keys:String("method")]
- [ 3b] DynamicInitializeLexicalBinding `Base`, src:reg6
- [ 42] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
- [ 50] CreateVariable `Foo`, is_immutable:true, is_global:false, is_strict:true
- [ 5a] GetGlobal value_feedback:0, dst:reg9, `Base`
- [ 63] GetClassProtoParent dst:reg10, super_class:reg9
- [ 68] SetLexicalEnvironment environment:reg4
- [ 6b] NewClass dst:reg6, super_class:reg9, proto_parent:reg10, class_environment:reg7, class_blueprint_index:1, element_keys:[element_keys:String("method")]
- [ 82] DynamicInitializeLexicalBinding `Foo`, src:reg6
- [ 89] GetGlobal value_feedback:1, dst:reg6, `Foo`
- [ 92] CallConstruct value_feedback:2, call_feedback:0, dst:reg6, callee:reg6
- [ a1] GetById value_feedback:3, dst:reg7, base:reg6, `method`
- [ ae] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
- [ bf] End value:reg5
-
-
-Foo$6beefc3c super-optional-call-this.js:4:1
+ [ 3] Mov dst:reg5, src:Undefined
+ [ 6] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `Base`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] SetLexicalEnvironment environment:reg4
+ [ 1f] NewClass dst:reg6, class_environment:reg7, class_blueprint_index:0, element_keys_are_in_array:false, element_keys:[element_keys:String("method")]
+ [ 2f] DynamicInitializeLexicalBinding `Base`, src:reg6
+ [ 36] CreateLexicalEnvironment dst:reg7, parent:reg4, capacity:1, is_catch_environment:false
+ [ 42] CreateVariable `Foo`, is_immutable:true, is_global:false, is_strict:true
+ [ 4d] GetGlobal value_feedback:0, dst:reg9, `Base`
+ [ 56] GetClassProtoParent dst:reg10, super_class:reg9
+ [ 59] SetLexicalEnvironment environment:reg4
+ [ 5b] NewClass dst:reg6, super_class:reg9, proto_parent:reg10, class_environment:reg7, class_blueprint_index:1, element_keys_are_in_array:false, element_keys:[element_keys:String("method")]
+ [ 6b] DynamicInitializeLexicalBinding `Foo`, src:reg6
+ [ 72] GetGlobal value_feedback:1, dst:reg6, `Foo`
+ [ 7b] CallConstruct value_feedback:2, call_feedback:0, dst:reg6, callee:reg6
+ [ 85] GetById value_feedback:3, dst:reg7, base:reg6, `method`
+ [ 91] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6
+ [ 9c] End value:reg5
+
+
+Foo$4a348592 super-optional-call-this.js:4:1
Registers: 8
Blocks: 1
block0:
[ 0] Enter
[ 1] CreateRestParams dst:reg5, rest_index:0
- [ 8] GetSuperConstructor dst:reg6
- [ b] SuperCallWithArgumentArray value_feedback:0, call_feedback:0, dst:reg7, super_constructor:reg6, arguments:reg5, is_synthetic:true
- [ 17] Return value:reg7
+ [ 7] GetSuperConstructor dst:reg6
+ [ 9] SuperCallWithArgumentArray value_feedback:0, call_feedback:0, dst:reg7, super_constructor:reg6, arguments:reg5, is_synthetic:true
+ [ 12] Return value:reg7
-Base$63b0b4c4
+Base$138475b3
Registers: 5
Blocks: 1
Constants:
@@ -51,7 +51,7 @@ block0:
[ 1] End value:Undefined
-method$8c0bc046 super-optional-call-this.js:6:9
+method$9e4af423 super-optional-call-this.js:6:9
Registers: 7
Blocks: 4
Constants:
@@ -61,21 +61,21 @@ block0:
[ 0] Enter
[ 1] ResolveThisBinding
[ 2] ResolveSuperBase dst:reg5
- [ 5] GetByIdWithThis value_feedback:0, dst:reg6, base:reg5, `method`, this_value:this
- [ 12] JumpNullish condition:reg6, true_target:block2, false_target:block1
+ [ 4] GetByIdWithThis value_feedback:0, dst:reg6, base:reg5, `method`, this_value:this
+ [ f] JumpNullish condition:reg6, true_target:block2, false_target:block1
block1:
- [ 1d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:this
- [ 2e] Jump target:block3
+ [ 19] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:this
+ [ 24] Jump target:block3
block2:
- [ 33] Mov dst:reg5, src:Undefined
+ [ 29] Mov dst:reg5, src:Undefined
block3:
- [ 38] Return value:reg5
+ [ 2c] Return value:reg5
-method$2b71b226
+method$9a9476d1
Registers: 5
Blocks: 1
Constants:
diff --git a/Tests/LibJS/Bytecode/expected/switch-completion-value.txt b/Tests/LibJS/Bytecode/expected/switch-completion-value.txt
index 26b9500a2fe..02b6d49ebbd 100644
--- a/Tests/LibJS/Bytecode/expected/switch-completion-value.txt
+++ b/Tests/LibJS/Bytecode/expected/switch-completion-value.txt
@@ -1,4 +1,4 @@
-$55669f3b switch-completion-value.js:1:1
+$5946f3de switch-completion-value.js:1:1
Registers: 10
Blocks: 1
Constants:
@@ -10,25 +10,25 @@ $55669f3b switch-completion-value.js:1:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] DynamicGetBinding value_feedback:0, dst:reg6, `console`
- [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1c] DynamicGetCalleeAndThisFromEnvironment value_feedback:2, callee:reg8, this_value:reg9, `eval`
- [ 27] CallDirectEval value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:reg9, arguments:[String("switch(1) { case 1: 'hello'; let x = 1; }")]
- [ 3a] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 4d] DynamicGetBinding value_feedback:5, dst:reg6, `console`
- [ 56] GetById value_feedback:6, dst:reg7, base:reg6, `log`
- [ 63] DynamicGetCalleeAndThisFromEnvironment value_feedback:7, callee:reg8, this_value:reg9, `eval`
- [ 6e] CallDirectEval value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:reg9, arguments:[String("switch(1) { case 1: 'first'; 'second'; }")]
- [ 81] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 94] DynamicGetBinding value_feedback:10, dst:reg6, `console`
- [ 9d] GetById value_feedback:11, dst:reg7, base:reg6, `log`
- [ aa] DynamicGetCalleeAndThisFromEnvironment value_feedback:12, callee:reg8, this_value:reg9, `eval`
- [ b5] CallDirectEval value_feedback:13, call_feedback:4, dst:reg8, callee:reg8, this_value:reg9, arguments:[String("switch(1) { case 1: 'matched'; break; default: 'default'; }")]
- [ c8] Call value_feedback:14, call_feedback:5, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ db] End value:reg5
-
-
-eval$bd4616f4 line 1, column 8
+ [ 4] DynamicGetBinding value_feedback:0, dst:reg6, `console`
+ [ d] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 19] DynamicGetCalleeAndThisFromEnvironment value_feedback:2, callee:reg8, this_value:reg9, `eval`
+ [ 23] CallDirectEval value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:reg9, arguments:[String("switch(1) { case 1: 'hello'; let x = 1; }")]
+ [ 2f] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 3b] DynamicGetBinding value_feedback:5, dst:reg6, `console`
+ [ 44] GetById value_feedback:6, dst:reg7, base:reg6, `log`
+ [ 50] DynamicGetCalleeAndThisFromEnvironment value_feedback:7, callee:reg8, this_value:reg9, `eval`
+ [ 5a] CallDirectEval value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:reg9, arguments:[String("switch(1) { case 1: 'first'; 'second'; }")]
+ [ 66] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 72] DynamicGetBinding value_feedback:10, dst:reg6, `console`
+ [ 7b] GetById value_feedback:11, dst:reg7, base:reg6, `log`
+ [ 87] DynamicGetCalleeAndThisFromEnvironment value_feedback:12, callee:reg8, this_value:reg9, `eval`
+ [ 91] CallDirectEval value_feedback:13, call_feedback:4, dst:reg8, callee:reg8, this_value:reg9, arguments:[String("switch(1) { case 1: 'matched'; break; default: 'default'; }")]
+ [ 9d] Call value_feedback:14, call_feedback:5, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ a9] End value:reg5
+
+
+eval$0aae64f5 line 1, column 8
Registers: 8
Blocks: 4
Locals: x~0
@@ -41,23 +41,23 @@ eval$bd4616f4 line 1, column 8
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg6, src:Int32(1)
- [ b] Mov dst:reg5, src:Undefined
- [ 10] Mov dst:x~0, src:<Empty>
- [ 15] JumpStrictlyEquals arith_feedback:0, lhs:Int32(1), rhs:reg6, true_target:block2, false_target:block1
+ [ 4] Mov dst:reg6, src:Int32(1)
+ [ 7] Mov dst:reg5, src:Undefined
+ [ a] Mov dst:x~0, src:<Empty>
+ [ d] JumpStrictlyEquals arith_feedback:0, lhs:Int32(1), rhs:reg6, true_target:block2, false_target:block1
block1:
- [ 24] Jump target:block3
+ [ 1a] Jump target:block3
block2:
- [ 29] Mov dst:reg5, src:String("hello")
- [ 2e] Mov dst:x~0, src:Int32(1)
+ [ 1f] Mov dst:reg5, src:String("hello")
+ [ 22] Mov dst:x~0, src:Int32(1)
block3:
- [ 33] End value:reg5
+ [ 25] End value:reg5
-eval$6d19d7e3 line 1, column 8
+eval$5adaa406 line 1, column 8
Registers: 8
Blocks: 4
Constants:
@@ -69,22 +69,22 @@ eval$6d19d7e3 line 1, column 8
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg6, src:Int32(1)
- [ b] Mov dst:reg5, src:Undefined
- [ 10] JumpStrictlyEquals arith_feedback:0, lhs:Int32(1), rhs:reg6, true_target:block2, false_target:block1
+ [ 4] Mov dst:reg6, src:Int32(1)
+ [ 7] Mov dst:reg5, src:Undefined
+ [ a] JumpStrictlyEquals arith_feedback:0, lhs:Int32(1), rhs:reg6, true_target:block2, false_target:block1
block1:
- [ 1f] Jump target:block3
+ [ 17] Jump target:block3
block2:
- [ 24] Mov dst:reg5, src:String("first")
- [ 29] Mov dst:reg5, src:String("second")
+ [ 1c] Mov dst:reg5, src:String("first")
+ [ 1f] Mov dst:reg5, src:String("second")
block3:
- [ 2e] End value:reg5
+ [ 22] End value:reg5
-eval$bd4616f4 line 1, column 8
+eval$ebb7df5b line 1, column 8
Registers: 8
Blocks: 5
Constants:
@@ -96,22 +96,22 @@ eval$bd4616f4 line 1, column 8
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg6, src:Int32(1)
- [ b] Mov dst:reg5, src:Undefined
- [ 10] JumpStrictlyEquals arith_feedback:0, lhs:Int32(1), rhs:reg6, true_target:block2, false_target:block1
+ [ 4] Mov dst:reg6, src:Int32(1)
+ [ 7] Mov dst:reg5, src:Undefined
+ [ a] JumpStrictlyEquals arith_feedback:0, lhs:Int32(1), rhs:reg6, true_target:block2, false_target:block1
block1:
- [ 1f] Jump target:block3
+ [ 17] Jump target:block3
block2:
- [ 24] Mov dst:reg5, src:String("matched")
- [ 29] Jump target:block4
+ [ 1c] Mov dst:reg5, src:String("matched")
+ [ 1f] Jump target:block4
block3:
- [ 2e] Mov dst:reg5, src:String("default")
+ [ 24] Mov dst:reg5, src:String("default")
block4:
- [ 33] End value:reg5
+ [ 27] End value:reg5
"hello"
diff --git a/Tests/LibJS/Bytecode/expected/switch-local-only-let.txt b/Tests/LibJS/Bytecode/expected/switch-local-only-let.txt
index be676faffdb..031390273dd 100644
--- a/Tests/LibJS/Bytecode/expected/switch-local-only-let.txt
+++ b/Tests/LibJS/Bytecode/expected/switch-local-only-let.txt
@@ -1,4 +1,4 @@
-$fe6555f3 switch-local-only-let.js:15:1
+$fba164e3 switch-local-only-let.js:15:1
Registers: 9
Blocks: 1
Constants:
@@ -10,25 +10,25 @@ $fe6555f3 switch-local-only-let.js:15:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `console`
- [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1c] GetGlobal value_feedback:2, dst:reg8, `switchLocalOnly`
- [ 25] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Int32(1)]
- [ 38] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 4b] GetGlobal value_feedback:5, dst:reg6, `console`
- [ 54] GetById value_feedback:6, dst:reg7, base:reg6, `log`
- [ 61] GetGlobal value_feedback:7, dst:reg8, `switchLocalOnly`
- [ 6a] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Int32(2)]
- [ 7d] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 90] GetGlobal value_feedback:10, dst:reg6, `console`
- [ 99] GetById value_feedback:11, dst:reg7, base:reg6, `log`
- [ a6] GetGlobal value_feedback:12, dst:reg8, `switchLocalOnly`
- [ af] Call value_feedback:13, call_feedback:4, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Int32(3)]
- [ c2] Call value_feedback:14, call_feedback:5, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ d5] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ d] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 19] GetGlobal value_feedback:2, dst:reg8, `switchLocalOnly`
+ [ 22] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Int32(1)]
+ [ 2e] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 3a] GetGlobal value_feedback:5, dst:reg6, `console`
+ [ 43] GetById value_feedback:6, dst:reg7, base:reg6, `log`
+ [ 4f] GetGlobal value_feedback:7, dst:reg8, `switchLocalOnly`
+ [ 58] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Int32(2)]
+ [ 64] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 70] GetGlobal value_feedback:10, dst:reg6, `console`
+ [ 79] GetById value_feedback:11, dst:reg7, base:reg6, `log`
+ [ 85] GetGlobal value_feedback:12, dst:reg8, `switchLocalOnly`
+ [ 8e] Call value_feedback:13, call_feedback:4, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Int32(3)]
+ [ 9a] Call value_feedback:14, call_feedback:5, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ a6] End value:reg5
-switchLocalOnly$a949ad11 switch-local-only-let.js:4:13
+switchLocalOnly$0cd18392 switch-local-only-let.js:4:13
Registers: 7
Blocks: 6
Locals: a~0, b~1
@@ -43,26 +43,26 @@ switchLocalOnly$a949ad11 switch-local-only-let.js:4:13
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:arg0
- [ 6] Mov dst:a~0, src:<Empty>
- [ b] Mov dst:b~1, src:<Empty>
- [ 10] JumpStrictlyEquals arith_feedback:0, lhs:Int32(1), rhs:reg5, true_target:block3, false_target:block1
+ [ 4] Mov dst:a~0, src:<Empty>
+ [ 7] Mov dst:b~1, src:<Empty>
+ [ a] JumpStrictlyEquals arith_feedback:0, lhs:Int32(1), rhs:reg5, true_target:block3, false_target:block1
block1:
- [ 1f] JumpStrictlyEquals arith_feedback:1, lhs:Int32(2), rhs:reg5, true_target:block4, false_target:block2
+ [ 17] JumpStrictlyEquals arith_feedback:1, lhs:Int32(2), rhs:reg5, true_target:block4, false_target:block2
block2:
- [ 2e] Jump target:block5
+ [ 24] Jump target:block5
block3:
- [ 33] Mov dst:a~0, src:Int32(10)
- [ 38] Return value:a~0
+ [ 29] Mov dst:a~0, src:Int32(10)
+ [ 2c] Return value:a~0
block4:
- [ 3b] Mov dst:b~1, src:Int32(20)
- [ 40] Return value:b~1
+ [ 2e] Mov dst:b~1, src:Int32(20)
+ [ 31] Return value:b~1
block5:
- [ 43] Return value:Int32(0)
+ [ 33] Return value:Int32(0)
10
diff --git a/Tests/LibJS/Bytecode/expected/switch-scoping.txt b/Tests/LibJS/Bytecode/expected/switch-scoping.txt
index 1588c9f4bcb..6b61fdd59af 100644
--- a/Tests/LibJS/Bytecode/expected/switch-scoping.txt
+++ b/Tests/LibJS/Bytecode/expected/switch-scoping.txt
@@ -1,4 +1,4 @@
-$8432cd08 switch-scoping.js:15:1
+$ced729f9 switch-scoping.js:15:1
Registers: 9
Blocks: 1
Constants:
@@ -9,20 +9,20 @@ $8432cd08 switch-scoping.js:15:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `console`
- [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1c] GetGlobal value_feedback:2, dst:reg8, `switchWithBlockDecl`
- [ 25] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Int32(1)]
- [ 38] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 4b] GetGlobal value_feedback:5, dst:reg6, `console`
- [ 54] GetById value_feedback:6, dst:reg7, base:reg6, `log`
- [ 61] GetGlobal value_feedback:7, dst:reg8, `switchWithBlockDecl`
- [ 6a] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Int32(2)]
- [ 7d] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 90] End value:reg5
-
-
-switchWithBlockDecl$76246e76 switch-scoping.js:2:9
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ d] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 19] GetGlobal value_feedback:2, dst:reg8, `switchWithBlockDecl`
+ [ 22] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Int32(1)]
+ [ 2e] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 3a] GetGlobal value_feedback:5, dst:reg6, `console`
+ [ 43] GetById value_feedback:6, dst:reg7, base:reg6, `log`
+ [ 4f] GetGlobal value_feedback:7, dst:reg8, `switchWithBlockDecl`
+ [ 58] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Int32(2)]
+ [ 64] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 70] End value:reg5
+
+
+switchWithBlockDecl$23343e55 switch-scoping.js:2:9
Registers: 8
Blocks: 6
Locals: result~0
@@ -36,35 +36,35 @@ switchWithBlockDecl$76246e76 switch-scoping.js:2:9
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:result~0, src:Undefined
- [ 9] Mov dst:reg5, src:arg0
- [ e] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:2, is_catch_environment:false
- [ 1c] CreateVariable `a`, is_immutable:false, is_global:false, is_strict:false
- [ 26] CreateVariable `b`, is_immutable:false, is_global:false, is_strict:false
- [ 30] JumpStrictlyEquals arith_feedback:0, lhs:Int32(1), rhs:reg5, true_target:block3, false_target:block1
+ [ 3] Mov dst:result~0, src:Undefined
+ [ 6] Mov dst:reg5, src:arg0
+ [ 9] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:2, is_catch_environment:false
+ [ 15] CreateVariable `a`, is_immutable:false, is_global:false, is_strict:false
+ [ 20] CreateVariable `b`, is_immutable:false, is_global:false, is_strict:false
+ [ 2b] JumpStrictlyEquals arith_feedback:0, lhs:Int32(1), rhs:reg5, true_target:block3, false_target:block1
block1:
- [ 3f] JumpStrictlyEquals arith_feedback:1, lhs:Int32(2), rhs:reg5, true_target:block4, false_target:block2
+ [ 38] JumpStrictlyEquals arith_feedback:1, lhs:Int32(2), rhs:reg5, true_target:block4, false_target:block2
block2:
- [ 4e] Jump target:block5
+ [ 45] Jump target:block5
block3:
- [ 53] InitializeLexicalBinding `a`, src:String("one")
- [ 60] NewFunction dst:result~0, shared_function_data_index:0 (result)
- [ 6b] Jump target:block5
+ [ 4a] InitializeLexicalBinding `a`, src:String("one")
+ [ 57] NewFunction dst:result~0, shared_function_data_index:0 (result)
+ [ 61] Jump target:block5
block4:
- [ 70] InitializeLexicalBinding `b`, src:String("two")
- [ 7d] NewFunction dst:result~0, shared_function_data_index:1 (result)
+ [ 66] InitializeLexicalBinding `b`, src:String("two")
+ [ 73] NewFunction dst:result~0, shared_function_data_index:1 (result)
block5:
- [ 88] SetLexicalEnvironment environment:reg4
- [ 8b] Call value_feedback:0, call_feedback:0, dst:reg5, callee:result~0, this_value:Undefined
- [ 9c] Return value:reg5
+ [ 7d] SetLexicalEnvironment environment:reg4
+ [ 7f] Call value_feedback:0, call_feedback:0, dst:reg5, callee:result~0, this_value:Undefined
+ [ 8a] Return value:reg5
-result$318164ef switch-scoping.js:6:22
+result$e15525de switch-scoping.js:6:22
Registers: 6
Blocks: 1
@@ -74,7 +74,7 @@ block0:
[ 10] Return value:reg5
-result$f844ab23 switch-scoping.js:10:22
+result$a8186c12 switch-scoping.js:10:22
Registers: 6
Blocks: 1
diff --git a/Tests/LibJS/Bytecode/expected/switch-with-block-scope-return.txt b/Tests/LibJS/Bytecode/expected/switch-with-block-scope-return.txt
index 8ab072832bd..81fdfdcf543 100644
--- a/Tests/LibJS/Bytecode/expected/switch-with-block-scope-return.txt
+++ b/Tests/LibJS/Bytecode/expected/switch-with-block-scope-return.txt
@@ -1,4 +1,4 @@
-$6971e1cd switch-with-block-scope-return.js:12:1
+$3f6b97f3 switch-with-block-scope-return.js:12:1
Registers: 7
Blocks: 1
Constants:
@@ -8,12 +8,12 @@ $6971e1cd switch-with-block-scope-return.js:12:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
- [ 22] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[Int32(1)]
+ [ 19] End value:reg5
-f$35680f8b switch-with-block-scope-return.js:2:13
+f$2328dbae switch-with-block-scope-return.js:2:13
Registers: 8
Blocks: 6
Constants:
@@ -27,28 +27,28 @@ f$35680f8b switch-with-block-scope-return.js:2:13
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] Mov dst:reg5, src:arg0
- [ 9] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:1, is_catch_environment:false
- [ 17] CreateVariable `y`, is_immutable:true, is_global:false, is_strict:true
- [ 21] JumpStrictlyEquals arith_feedback:0, lhs:Int32(1), rhs:reg5, true_target:block3, false_target:block1
+ [ 3] Mov dst:reg5, src:arg0
+ [ 6] CreateLexicalEnvironment dst:reg6, parent:reg4, capacity:1, is_catch_environment:false
+ [ 12] CreateVariable `y`, is_immutable:true, is_global:false, is_strict:true
+ [ 1d] JumpStrictlyEquals arith_feedback:0, lhs:Int32(1), rhs:reg5, true_target:block3, false_target:block1
block1:
- [ 30] JumpStrictlyEquals arith_feedback:1, lhs:Int32(2), rhs:reg5, true_target:block4, false_target:block2
+ [ 2a] JumpStrictlyEquals arith_feedback:1, lhs:Int32(2), rhs:reg5, true_target:block4, false_target:block2
block2:
- [ 3f] Jump target:block5
+ [ 37] Jump target:block5
block3:
- [ 44] SetLexicalEnvironment environment:reg4
- [ 47] Return value:String("one")
+ [ 3c] SetLexicalEnvironment environment:reg4
+ [ 3e] Return value:String("one")
block4:
- [ 4a] InitializeLexicalBinding `y`, src:String("two")
- [ 57] NewFunction dst:reg7, shared_function_data_index:0
- [ 62] Call value_feedback:0, call_feedback:0, dst:reg7, callee:reg7, this_value:Undefined
- [ 73] SetLexicalEnvironment environment:reg4
- [ 76] Return value:reg7
+ [ 40] InitializeLexicalBinding `y`, src:String("two")
+ [ 4d] NewFunction dst:reg7, shared_function_data_index:0
+ [ 57] Call value_feedback:0, call_feedback:0, dst:reg7, callee:reg7, this_value:Undefined
+ [ 62] SetLexicalEnvironment environment:reg4
+ [ 64] Return value:reg7
block5:
- [ 79] SetLexicalEnvironment environment:reg4
- [ 7c] Return value:String("other")
+ [ 66] SetLexicalEnvironment environment:reg4
+ [ 68] Return value:String("other")
diff --git a/Tests/LibJS/Bytecode/expected/tagged-template-base-identifier.txt b/Tests/LibJS/Bytecode/expected/tagged-template-base-identifier.txt
index 67825c9ec24..93916a39fee 100644
--- a/Tests/LibJS/Bytecode/expected/tagged-template-base-identifier.txt
+++ b/Tests/LibJS/Bytecode/expected/tagged-template-base-identifier.txt
@@ -1,4 +1,4 @@
-$c936704d tagged-template-base-identifier.js:1:5
+$8039a0d9 tagged-template-base-identifier.js:1:5
Registers: 9
Blocks: 1
Constants:
@@ -8,19 +8,19 @@ $c936704d tagged-template-base-identifier.js:1:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] NewObject dst:reg6
- [ b] NewFunction dst:reg7, shared_function_data_index:0 (f)
- [ 16] InitObjectLiteralProperty object:reg6, `f`, src:reg7, shape_cache_index:0, property_slot:0
- [ 25] CacheObjectShape object:reg6
- [ 2a] SetGlobal `obj`, src:reg6
- [ 31] GetGlobal value_feedback:0, dst:reg6, `obj`
- [ 3a] GetById value_feedback:1, dst:reg7, base:reg6, `f`
- [ 47] GetTemplateObject dst:reg8, strings:[String(""), String("")]
- [ 56] Call value_feedback:2, call_feedback:0, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 69] End value:reg5
+ [ 4] NewObject dst:reg6
+ [ 8] NewFunction dst:reg7, shared_function_data_index:0 (f)
+ [ 12] InitObjectLiteralProperty object:reg6, `f`, src:reg7, shape_cache_index:0, property_slot:0
+ [ 20] CacheObjectShape object:reg6
+ [ 24] SetGlobal `obj`, src:reg6
+ [ 2b] GetGlobal value_feedback:0, dst:reg6, `obj`
+ [ 34] GetById value_feedback:1, dst:reg7, base:reg6, `f`
+ [ 40] GetTemplateObject dst:reg8, strings_are_in_array:false, strings:[String(""), String("")]
+ [ 4a] Call value_feedback:2, call_feedback:0, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 56] End value:reg5
-f$ae4850b5 tagged-template-base-identifier.js:3:9
+f$bdc39382 tagged-template-base-identifier.js:3:9
Registers: 5
Blocks: 1
diff --git a/Tests/LibJS/Bytecode/expected/tagged-template-if-register-order.txt b/Tests/LibJS/Bytecode/expected/tagged-template-if-register-order.txt
index 8fb6384d6df..ac196c26d40 100644
--- a/Tests/LibJS/Bytecode/expected/tagged-template-if-register-order.txt
+++ b/Tests/LibJS/Bytecode/expected/tagged-template-if-register-order.txt
@@ -1,4 +1,4 @@
-$f8830e6d tagged-template-if-register-order.js:1:1
+$f6db80f0 tagged-template-if-register-order.js:1:1
Registers: 9
Blocks: 6
Constants:
@@ -10,35 +10,35 @@ $f8830e6d tagged-template-if-register-order.js:1:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg5, src:String("use strict")
- [ b] GetGlobal value_feedback:0, dst:reg6, `String`
- [ 14] GetById value_feedback:1, dst:reg7, base:reg6, `raw`
- [ 21] GetTemplateObject dst:reg8, strings:[String("hello"), String("hello")]
- [ 30] Call value_feedback:2, call_feedback:0, dst:reg6, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 43] DynamicInitializeLexicalBinding `x`, src:reg6
- [ 4a] DynamicInitializeLexicalBinding `y`, src:Null
- [ 51] GetGlobal value_feedback:3, dst:reg6, `x`
- [ 5a] StrictlyEquals arith_feedback:0, dst:reg6, lhs:reg6, rhs:String("hello")
- [ 63] Mov dst:reg5, src:Undefined
- [ 68] JumpFalse condition:reg6, target:block5
+ [ 4] Mov dst:reg5, src:String("use strict")
+ [ 7] GetGlobal value_feedback:0, dst:reg6, `String`
+ [ 10] GetById value_feedback:1, dst:reg7, base:reg6, `raw`
+ [ 1c] GetTemplateObject dst:reg8, strings_are_in_array:false, strings:[String("hello"), String("hello")]
+ [ 26] Call value_feedback:2, call_feedback:0, dst:reg6, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 32] DynamicInitializeLexicalBinding `x`, src:reg6
+ [ 39] DynamicInitializeLexicalBinding `y`, src:Null
+ [ 40] GetGlobal value_feedback:3, dst:reg6, `x`
+ [ 49] StrictlyEquals arith_feedback:0, dst:reg6, lhs:reg6, rhs:String("hello")
+ [ 4f] Mov dst:reg5, src:Undefined
+ [ 52] JumpFalse condition:reg6, target:block5
block1:
- [ 6f] ResolveGlobalBinding dst:reg6, `y`
- [ 76] GetGlobal value_feedback:4, dst:reg7, `x`
- [ 7f] GetById value_feedback:5, dst:reg8, base:reg7, `toUpperCase`
- [ 8c] Call value_feedback:6, call_feedback:1, dst:reg7, callee:reg8, this_value:reg7
- [ 9d] JumpIf condition:reg6, true_target:block2, false_target:block3
+ [ 58] ResolveGlobalBinding dst:reg6, `y`
+ [ 5f] GetGlobal value_feedback:4, dst:reg7, `x`
+ [ 68] GetById value_feedback:5, dst:reg8, base:reg7, `toUpperCase`
+ [ 74] Call value_feedback:6, call_feedback:1, dst:reg7, callee:reg8, this_value:reg7
+ [ 7f] JumpIf condition:reg6, true_target:block2, false_target:block3
block2:
- [ a8] SetGlobal `y`, src:reg7
- [ af] Jump target:block4
+ [ 89] SetGlobal `y`, src:reg7
+ [ 90] Jump target:block4
block3:
- [ b4] SetResolvedBinding environment:Null, `y`, src:reg7
- [ bb] Jump target:block4
+ [ 95] SetResolvedBinding environment:Null, `y`, src:reg7
+ [ 9b] Jump target:block4
block4:
- [ c0] Mov dst:reg5, src:reg7
+ [ a0] Mov dst:reg5, src:reg7
block5:
- [ c5] End value:reg5
+ [ a3] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/tdz-reset-in-loop.txt b/Tests/LibJS/Bytecode/expected/tdz-reset-in-loop.txt
index 39b3e1f70fe..557a674ddad 100644
--- a/Tests/LibJS/Bytecode/expected/tdz-reset-in-loop.txt
+++ b/Tests/LibJS/Bytecode/expected/tdz-reset-in-loop.txt
@@ -1,4 +1,4 @@
-$937fa03d tdz-reset-in-loop.js:22:1
+$b41db354 tdz-reset-in-loop.js:22:1
Registers: 8
Blocks: 1
Constants:
@@ -7,16 +7,16 @@ $937fa03d tdz-reset-in-loop.js:22:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `checked`
- [ f] NewArray dst:reg7
- [ 16] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 29] GetGlobal value_feedback:2, dst:reg6, `nested`
- [ 32] NewArray dst:reg7
- [ 39] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 4c] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `checked`
+ [ d] NewArray dst:reg7
+ [ 10] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 1c] GetGlobal value_feedback:2, dst:reg6, `nested`
+ [ 25] NewArray dst:reg7
+ [ 28] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 34] End value:reg5
-checked$a3c7b690 tdz-reset-in-loop.js:5:10
+checked$10268a2b tdz-reset-in-loop.js:5:10
Registers: 8
Blocks: 4
Locals: i~0, value~1, plain~2
@@ -28,30 +28,30 @@ checked$a3c7b690 tdz-reset-in-loop.js:5:10
block0:
[ 0] Enter
[ 1] Mov dst:i~0, src:Int32(0)
- [ 6] Jump target:block2
+ [ 4] Jump target:block2
block1:
- [ b] Mov dst:value~1, src:<Empty>
- [ 10] GetByValue value_feedback:0, keyed_feedback:0, dst:reg5, base:arg0, property:i~0
- [ 1f] NewFunction dst:reg6, shared_function_data_index:0
- [ 2a] ThrowIfTDZ src:value~1
- [ 2d] Typeof dst:reg7, src:value~1
- [ 32] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg5, this_value:arg0, arguments:[reg6, reg7]
- [ 47] Mov dst:value~1, src:i~0
- [ 4c] AddRhsInt32 arith_feedback:0, dst:plain~2, lhs:value~1, rhs:1
- [ 57] GetByValue value_feedback:2, keyed_feedback:1, dst:reg5, base:arg0, property:i~0
- [ 66] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg5, this_value:arg0, arguments:[plain~2]
- [ 79] Increment arith_feedback:1, dst:i~0
+ [ 9] Mov dst:value~1, src:<Empty>
+ [ c] GetByValue value_feedback:0, keyed_feedback:0, dst:reg5, base:arg0, property:i~0
+ [ 18] NewFunction dst:reg6, shared_function_data_index:0
+ [ 22] ThrowIfTDZ src:value~1
+ [ 24] Typeof dst:reg7, src:value~1
+ [ 27] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg5, this_value:arg0, arguments:[reg6, reg7]
+ [ 34] Mov dst:value~1, src:i~0
+ [ 37] AddRhsInt32 arith_feedback:0, dst:plain~2, lhs:value~1, rhs:1
+ [ 40] GetByValue value_feedback:2, keyed_feedback:1, dst:reg5, base:arg0, property:i~0
+ [ 4c] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg5, this_value:arg0, arguments:[plain~2]
+ [ 58] Increment arith_feedback:1, dst:i~0
block2:
- [ 7e] GetLength value_feedback:4, keyed_feedback:2, dst:reg5, base:arg0
- [ 8b] JumpLessThanLoop arith_feedback:2, lhs:i~0, rhs:reg5, true_target:block1, false_target:block3
+ [ 5c] GetLength value_feedback:4, keyed_feedback:2, dst:reg5, base:arg0
+ [ 67] JumpLessThanLoop arith_feedback:2, lhs:i~0, rhs:reg5, true_target:block1, false_target:block3
block3:
- [ 9a] End value:Undefined
+ [ 74] End value:Undefined
-nested$1856aaa3 tdz-reset-in-loop.js:14:5
+nested$301dc0a0 tdz-reset-in-loop.js:14:5
Registers: 12
Blocks: 8
Locals: value~0, item~1
@@ -64,37 +64,37 @@ block0:
block1:
[ 1] GetLength value_feedback:0, keyed_feedback:0, dst:reg5, base:arg0
- [ e] JumpFalse condition:reg5, target:block7
+ [ c] JumpFalse condition:reg5, target:block7
block2:
- [ 15] Mov dst:value~0, src:<Empty>
- [ 1a] Mov dst:item~1, src:<Empty>
- [ 1f] Mov dst:reg5, src:arg0
- [ 24] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:true
+ [ 12] Mov dst:value~0, src:<Empty>
+ [ 15] Mov dst:item~1, src:<Empty>
+ [ 18] Mov dst:reg5, src:arg0
+ [ 1b] GetIterator dst_iterator_object:reg6, dst_iterator_next:reg7, dst_iterator_done:reg8, iterable:reg5, fast_array_mode_allowed:true
block3:
- [ 34] IteratorNextUnpack dst_value:reg9, dst_done:reg10, iterator_object:reg6, iterator_next:reg7, iterator_done:reg8
- [ 3f] JumpTrue condition:reg10, target:block6
+ [ 27] IteratorNextUnpack dst_value:reg9, dst_done:reg10, iterator_object:reg6, iterator_next:reg7, iterator_done:reg8
+ [ 2d] JumpTrue condition:reg10, target:block6
block4:
- [ 46] Mov dst:item~1, src:reg9
- [ 4b] ThrowIfTDZ src:value~0
- [ 4e] Typeof dst:reg11, src:value~0
- [ 53] Call value_feedback:1, call_feedback:0, dst:reg11, callee:item~1, this_value:Undefined, arguments:[reg11]
- [ 66] JumpLoop target:block3
+ [ 33] Mov dst:item~1, src:reg9
+ [ 36] ThrowIfTDZ src:value~0
+ [ 38] Typeof dst:reg11, src:value~0
+ [ 3b] Call value_feedback:1, call_feedback:0, dst:reg11, callee:item~1, this_value:Undefined, arguments:[reg11]
+ [ 47] JumpLoop target:block3
block5:
- [ 6b] Catch value_feedback:2, dst:reg11
- [ 70] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:reg11
- [ 7f] Throw src:reg11
+ [ 4c] Catch value_feedback:2, dst:reg11
+ [ 50] IteratorClose iterator_object:reg6, iterator_next:reg7, iterator_done:reg8, completion_value:reg11
+ [ 5b] Throw src:reg11
block6:
- [ 82] GetById value_feedback:3, dst:reg5, base:arg0, `pop`
- [ 8f] Call value_feedback:4, call_feedback:1, dst:value~0, callee:reg5, this_value:arg0
- [ a0] JumpLoop target:block1
+ [ 5d] GetById value_feedback:3, dst:reg5, base:arg0, `pop`
+ [ 69] Call value_feedback:4, call_feedback:1, dst:value~0, callee:reg5, this_value:arg0
+ [ 74] JumpLoop target:block1
block7:
- [ a5] End value:Undefined
+ [ 79] End value:Undefined
Exception handlers:
- [ 46 .. 6b] => handler block5
+ [ 33 .. 4c] => handler block5
diff --git a/Tests/LibJS/Bytecode/expected/this-base-identifier.txt b/Tests/LibJS/Bytecode/expected/this-base-identifier.txt
index 72c577f6165..20443e1618c 100644
--- a/Tests/LibJS/Bytecode/expected/this-base-identifier.txt
+++ b/Tests/LibJS/Bytecode/expected/this-base-identifier.txt
@@ -1,4 +1,4 @@
-$afce5154 this-base-identifier.js:16:1
+$14fdb552 this-base-identifier.js:16:1
Registers: 7
Blocks: 4
Constants:
@@ -7,40 +7,40 @@ $afce5154 this-base-identifier.js:16:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `get_from_this`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] GetGlobal value_feedback:2, dst:reg6, `set_on_this`
- [ 29] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
- [ 3a] Mov dst:reg5, src:Undefined
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `get_from_this`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] GetGlobal value_feedback:2, dst:reg6, `set_on_this`
+ [ 21] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
+ [ 2c] Mov dst:reg5, src:Undefined
block1:
- [ 3f] GetGlobal value_feedback:4, dst:reg6, `chained_this_access`
- [ 48] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined
- [ 59] Jump target:block3
+ [ 2f] GetGlobal value_feedback:4, dst:reg6, `chained_this_access`
+ [ 38] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined
+ [ 43] Jump target:block3
block2:
- [ 5e] Catch value_feedback:6, dst:reg6
- [ 63] Mov dst:reg5, src:Undefined
- [ 68] Jump target:block3
+ [ 48] Catch value_feedback:6, dst:reg6
+ [ 4c] Mov dst:reg5, src:Undefined
+ [ 4f] Jump target:block3
block3:
- [ 6d] End value:reg5
+ [ 54] End value:reg5
Exception handlers:
- [ 3f .. 5e] => handler block2
+ [ 2f .. 48] => handler block2
-get_from_this$b4ceee1a this-base-identifier.js:5:5
+get_from_this$d10182a4 this-base-identifier.js:5:5
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] GetById value_feedback:0, dst:reg5, base:this, `foo`
- [ e] Return value:reg5
+ [ d] Return value:reg5
-set_on_this$220be44c this-base-identifier.js:9:14
+set_on_this$c264626e this-base-identifier.js:9:14
Registers: 5
Blocks: 1
Constants:
@@ -50,15 +50,15 @@ set_on_this$220be44c this-base-identifier.js:9:14
block0:
[ 0] Enter
[ 1] PutById base:this, `bar`, src:Int32(1), kind:Normal
- [ 10] End value:Undefined
+ [ f] End value:Undefined
-chained_this_access$dfcf067d this-base-identifier.js:13:5
+chained_this_access$4ef1cb28 this-base-identifier.js:13:5
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] GetById value_feedback:0, dst:reg5, base:this, `a`
- [ e] GetById value_feedback:1, dst:reg5, base:reg5, `b`
- [ 1b] Return value:reg5
+ [ d] GetById value_feedback:1, dst:reg5, base:reg5, `b`
+ [ 19] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/try-catch-completion-ordering.txt b/Tests/LibJS/Bytecode/expected/try-catch-completion-ordering.txt
index bad0dc97ccc..cd59069c241 100644
--- a/Tests/LibJS/Bytecode/expected/try-catch-completion-ordering.txt
+++ b/Tests/LibJS/Bytecode/expected/try-catch-completion-ordering.txt
@@ -1,4 +1,4 @@
-$02766f1a try-catch-completion-ordering.js:1:1
+$719933c5 try-catch-completion-ordering.js:1:1
Registers: 7
Blocks: 4
Locals: e~0
@@ -11,21 +11,21 @@ $02766f1a try-catch-completion-ordering.js:1:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg5, src:Undefined
+ [ 4] Mov dst:reg5, src:Undefined
block1:
- [ b] Throw src:Null
+ [ 7] Throw src:Null
block2:
- [ e] Catch value_feedback:0, dst:reg6
- [ 13] Mov dst:reg5, src:Undefined
- [ 18] Mov dst:e~0, src:<Empty>
- [ 1d] Mov dst:e~0, src:reg6
- [ 22] Mov dst:reg5, src:Int32(42)
- [ 27] Jump target:block3
+ [ 9] Catch value_feedback:0, dst:reg6
+ [ d] Mov dst:reg5, src:Undefined
+ [ 10] Mov dst:e~0, src:<Empty>
+ [ 13] Mov dst:e~0, src:reg6
+ [ 16] Mov dst:reg5, src:Int32(42)
+ [ 19] Jump target:block3
block3:
- [ 2c] End value:reg5
+ [ 1e] End value:reg5
Exception handlers:
- [ b .. e] => handler block2
+ [ 7 .. 9] => handler block2
diff --git a/Tests/LibJS/Bytecode/expected/try-catch-finally-register.txt b/Tests/LibJS/Bytecode/expected/try-catch-finally-register.txt
index f0f4bbc154a..9a5e17d5c00 100644
--- a/Tests/LibJS/Bytecode/expected/try-catch-finally-register.txt
+++ b/Tests/LibJS/Bytecode/expected/try-catch-finally-register.txt
@@ -1,4 +1,4 @@
-$041dfc97 try-catch-finally-register.js:1:1
+$0e115d44 try-catch-finally-register.js:1:1
Registers: 9
Blocks: 7
Locals: e~0
@@ -13,39 +13,39 @@ $041dfc97 try-catch-finally-register.js:1:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg5, src:Undefined
+ [ 4] Mov dst:reg5, src:Undefined
block1:
- [ b] Mov dst:reg5, src:Int32(1)
- [ 10] Mov dst:reg6, src:Int32(0)
- [ 15] Jump target:block4
+ [ 7] Mov dst:reg5, src:Int32(1)
+ [ a] Mov dst:reg6, src:Int32(0)
+ [ d] Jump target:block4
block2:
- [ 1a] Catch value_feedback:0, dst:reg8
- [ 1f] Mov dst:reg5, src:Undefined
- [ 24] Mov dst:e~0, src:<Empty>
- [ 29] Mov dst:e~0, src:reg8
- [ 2e] Mov dst:reg5, src:Int32(2)
- [ 33] Mov dst:reg6, src:Int32(0)
- [ 38] Jump target:block4
+ [ 12] Catch value_feedback:0, dst:reg8
+ [ 16] Mov dst:reg5, src:Undefined
+ [ 19] Mov dst:e~0, src:<Empty>
+ [ 1c] Mov dst:e~0, src:reg8
+ [ 1f] Mov dst:reg5, src:Int32(2)
+ [ 22] Mov dst:reg6, src:Int32(0)
+ [ 25] Jump target:block4
block3:
- [ 3d] Catch value_feedback:1, dst:reg7
- [ 42] Mov dst:reg6, src:Int32(1)
+ [ 2a] Catch value_feedback:1, dst:reg7
+ [ 2e] Mov dst:reg6, src:Int32(1)
block4:
- [ 47] Mov dst:reg8, src:reg5
- [ 4c] Mov dst:reg5, src:Undefined
- [ 51] Mov dst:reg5, src:Int32(3)
- [ 56] Mov dst:reg5, src:reg8
- [ 5b] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:reg6, rhs:0, true_target:block6, false_target:block5
+ [ 31] Mov dst:reg8, src:reg5
+ [ 34] Mov dst:reg5, src:Undefined
+ [ 37] Mov dst:reg5, src:Int32(3)
+ [ 3a] Mov dst:reg5, src:reg8
+ [ 3d] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:reg6, rhs:0, true_target:block6, false_target:block5
block5:
- [ 6c] Throw src:reg7
+ [ 4d] Throw src:reg7
block6:
- [ 6f] End value:reg5
+ [ 4f] End value:reg5
Exception handlers:
- [ b .. 1a] => handler block2
- [ 1a .. 3d] => handler block3
+ [ 7 .. 12] => handler block2
+ [ 12 .. 2a] => handler block3
diff --git a/Tests/LibJS/Bytecode/expected/try-catch-scoping.txt b/Tests/LibJS/Bytecode/expected/try-catch-scoping.txt
index f4b4a60721e..b85902fcc34 100644
--- a/Tests/LibJS/Bytecode/expected/try-catch-scoping.txt
+++ b/Tests/LibJS/Bytecode/expected/try-catch-scoping.txt
@@ -1,4 +1,4 @@
-$a01270c2 try-catch-scoping.js:11:1
+$52aa22c1 try-catch-scoping.js:11:1
Registers: 7
Blocks: 1
Constants:
@@ -7,14 +7,14 @@ $a01270c2 try-catch-scoping.js:11:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `tryCatchWithBlocks`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] GetGlobal value_feedback:2, dst:reg6, `tryCatchFinallyWithBlocks`
- [ 29] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
- [ 3a] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `tryCatchWithBlocks`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] GetGlobal value_feedback:2, dst:reg6, `tryCatchFinallyWithBlocks`
+ [ 21] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
+ [ 2c] End value:reg5
-tryCatchWithBlocks$eb984891 try-catch-scoping.js:2:9
+tryCatchWithBlocks$035f5e8e try-catch-scoping.js:2:9
Registers: 9
Blocks: 4
Locals: x~0, y~1, e~2, z~3
@@ -30,29 +30,29 @@ block0:
[ 1] Mov dst:x~0, src:Int32(1)
block1:
- [ 6] Mov dst:y~1, src:Int32(2)
- [ b] Throw src:y~1
+ [ 4] Mov dst:y~1, src:Int32(2)
+ [ 7] Throw src:y~1
block2:
- [ e] Catch value_feedback:0, dst:reg5
- [ 13] Mov dst:e~2, src:<Empty>
- [ 18] Mov dst:e~2, src:reg5
- [ 1d] Mov dst:z~3, src:Int32(3)
- [ 22] GetGlobal value_feedback:1, dst:reg6, `console`
- [ 2b] GetById value_feedback:2, dst:reg7, base:reg6, `log`
- [ 38] Add arith_feedback:0, dst:reg8, lhs:x~0, rhs:e~2
- [ 41] Add arith_feedback:1, dst:reg8, lhs:reg8, rhs:z~3
- [ 4a] Call value_feedback:3, call_feedback:0, dst:reg6, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 5d] Jump target:block3
+ [ 9] Catch value_feedback:0, dst:reg5
+ [ d] Mov dst:e~2, src:<Empty>
+ [ 10] Mov dst:e~2, src:reg5
+ [ 13] Mov dst:z~3, src:Int32(3)
+ [ 16] GetGlobal value_feedback:1, dst:reg6, `console`
+ [ 1f] GetById value_feedback:2, dst:reg7, base:reg6, `log`
+ [ 2b] Add arith_feedback:0, dst:reg8, lhs:x~0, rhs:e~2
+ [ 31] Add arith_feedback:1, dst:reg8, lhs:reg8, rhs:z~3
+ [ 37] Call value_feedback:3, call_feedback:0, dst:reg6, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 43] Jump target:block3
block3:
- [ 62] End value:Undefined
+ [ 48] End value:Undefined
Exception handlers:
- [ 6 .. e] => handler block2
+ [ 4 .. 9] => handler block2
-tryCatchFinallyWithBlocks$17e7ceae try-catch-scoping.js:14:9
+tryCatchFinallyWithBlocks$bb8f67ca try-catch-scoping.js:14:9
Registers: 10
Blocks: 7
Locals: x~0, y~1, e~2, z~3
@@ -69,39 +69,39 @@ block0:
[ 1] Mov dst:x~0, src:Int32(1)
block1:
- [ 6] Mov dst:y~1, src:Int32(2)
- [ b] Throw src:y~1
+ [ 4] Mov dst:y~1, src:Int32(2)
+ [ 7] Throw src:y~1
block2:
- [ e] Catch value_feedback:0, dst:reg7
- [ 13] Mov dst:e~2, src:<Empty>
- [ 18] Mov dst:e~2, src:reg7
- [ 1d] GetGlobal value_feedback:1, dst:reg8, `console`
- [ 26] GetById value_feedback:2, dst:reg9, base:reg8, `log`
- [ 33] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg9, this_value:reg8, arguments:[e~2]
- [ 46] Mov dst:reg5, src:Int32(0)
- [ 4b] Jump target:block4
+ [ 9] Catch value_feedback:0, dst:reg7
+ [ d] Mov dst:e~2, src:<Empty>
+ [ 10] Mov dst:e~2, src:reg7
+ [ 13] GetGlobal value_feedback:1, dst:reg8, `console`
+ [ 1c] GetById value_feedback:2, dst:reg9, base:reg8, `log`
+ [ 28] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg9, this_value:reg8, arguments:[e~2]
+ [ 34] Mov dst:reg5, src:Int32(0)
+ [ 37] Jump target:block4
block3:
- [ 50] Catch value_feedback:4, dst:reg6
- [ 55] Mov dst:reg5, src:Int32(1)
+ [ 3c] Catch value_feedback:4, dst:reg6
+ [ 40] Mov dst:reg5, src:Int32(1)
block4:
- [ 5a] Mov dst:z~3, src:Int32(3)
- [ 5f] GetGlobal value_feedback:5, dst:reg7, `console`
- [ 68] GetById value_feedback:6, dst:reg8, base:reg7, `log`
- [ 75] Call value_feedback:7, call_feedback:1, dst:reg7, callee:reg8, this_value:reg7, arguments:[z~3]
- [ 88] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:reg5, rhs:0, true_target:block6, false_target:block5
+ [ 43] Mov dst:z~3, src:Int32(3)
+ [ 46] GetGlobal value_feedback:5, dst:reg7, `console`
+ [ 4f] GetById value_feedback:6, dst:reg8, base:reg7, `log`
+ [ 5b] Call value_feedback:7, call_feedback:1, dst:reg7, callee:reg8, this_value:reg7, arguments:[z~3]
+ [ 67] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:reg5, rhs:0, true_target:block6, false_target:block5
block5:
- [ 99] Throw src:reg6
+ [ 77] Throw src:reg6
block6:
- [ 9c] End value:Undefined
+ [ 79] End value:Undefined
Exception handlers:
- [ 6 .. e] => handler block2
- [ e .. 50] => handler block3
+ [ 4 .. 9] => handler block2
+ [ 9 .. 3c] => handler block3
6
diff --git a/Tests/LibJS/Bytecode/expected/try-catch-terminated.txt b/Tests/LibJS/Bytecode/expected/try-catch-terminated.txt
index 2855397fc47..dc90a456c32 100644
--- a/Tests/LibJS/Bytecode/expected/try-catch-terminated.txt
+++ b/Tests/LibJS/Bytecode/expected/try-catch-terminated.txt
@@ -1,4 +1,4 @@
-$c91963ab try-catch-terminated.js:12:1
+$ef3f58e2 try-catch-terminated.js:12:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $c91963ab try-catch-terminated.js:12:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `try_return`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `try_return`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-try_return$94f03981 try-catch-terminated.js:5:5
+try_return$c36201e8 try-catch-terminated.js:5:5
Registers: 6
Blocks: 3
Locals: e~0
@@ -27,10 +27,10 @@ block1:
[ 1] Throw src:Int32(1)
block2:
- [ 4] Catch value_feedback:0, dst:reg5
- [ 9] Mov dst:e~0, src:<Empty>
- [ e] Mov dst:e~0, src:reg5
- [ 13] Return value:e~0
+ [ 3] Catch value_feedback:0, dst:reg5
+ [ 7] Mov dst:e~0, src:<Empty>
+ [ a] Mov dst:e~0, src:reg5
+ [ d] Return value:e~0
Exception handlers:
- [ 1 .. 4] => handler block2
+ [ 1 .. 3] => handler block2
diff --git a/Tests/LibJS/Bytecode/expected/try-finally-continue.txt b/Tests/LibJS/Bytecode/expected/try-finally-continue.txt
index 8f43b2f2f68..355927fb5e3 100644
--- a/Tests/LibJS/Bytecode/expected/try-finally-continue.txt
+++ b/Tests/LibJS/Bytecode/expected/try-finally-continue.txt
@@ -1,4 +1,4 @@
-$b39eccb6 try-finally-continue.js:13:1
+$b1f73f39 try-finally-continue.js:13:1
Registers: 9
Blocks: 1
Constants:
@@ -7,20 +7,20 @@ $b39eccb6 try-finally-continue.js:13:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `console`
- [ f] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 1c] GetGlobal value_feedback:2, dst:reg8, `continueThroughFinally`
- [ 25] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
- [ 36] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 49] GetGlobal value_feedback:5, dst:reg6, `console`
- [ 52] GetById value_feedback:6, dst:reg7, base:reg6, `log`
- [ 5f] GetGlobal value_feedback:7, dst:reg8, `breakThroughFinally`
- [ 68] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined
- [ 79] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 8c] End value:reg5
-
-
-continueThroughFinally$7031fdd3 try-finally-continue.js:2:9
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `console`
+ [ d] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 19] GetGlobal value_feedback:2, dst:reg8, `continueThroughFinally`
+ [ 22] Call value_feedback:3, call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
+ [ 2d] Call value_feedback:4, call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 39] GetGlobal value_feedback:5, dst:reg6, `console`
+ [ 42] GetById value_feedback:6, dst:reg7, base:reg6, `log`
+ [ 4e] GetGlobal value_feedback:7, dst:reg8, `breakThroughFinally`
+ [ 57] Call value_feedback:8, call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined
+ [ 62] Call value_feedback:9, call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 6e] End value:reg5
+
+
+continueThroughFinally$90d010ea try-finally-continue.js:2:9
Registers: 8
Blocks: 12
Locals: result~0, i~1
@@ -32,52 +32,52 @@ continueThroughFinally$7031fdd3 try-finally-continue.js:2:9
block0:
[ 0] Enter
[ 1] Mov dst:result~0, src:Int32(0)
- [ 6] Mov dst:i~1, src:Int32(0)
- [ b] Jump target:block10
+ [ 4] Mov dst:i~1, src:Int32(0)
+ [ 7] Jump target:block10
block1:
- [ 10] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:i~1, rhs:1, true_target:block2, false_target:block3
+ [ c] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:i~1, rhs:1, true_target:block2, false_target:block3
block2:
- [ 21] Mov dst:reg5, src:Int32(2)
- [ 26] Jump target:block5
+ [ 1c] Mov dst:reg5, src:Int32(2)
+ [ 1f] Jump target:block5
block3:
- [ 2b] Add arith_feedback:1, dst:result~0, lhs:result~0, rhs:i~1
- [ 34] Mov dst:reg5, src:Int32(0)
- [ 39] Jump target:block5
+ [ 24] Add arith_feedback:1, dst:result~0, lhs:result~0, rhs:i~1
+ [ 2a] Mov dst:reg5, src:Int32(0)
+ [ 2d] Jump target:block5
block4:
- [ 3e] Catch value_feedback:0, dst:reg6
- [ 43] Mov dst:reg5, src:Int32(1)
+ [ 32] Catch value_feedback:0, dst:reg6
+ [ 36] Mov dst:reg5, src:Int32(1)
block5:
- [ 48] AddRhsInt32 arith_feedback:2, dst:result~0, lhs:result~0, rhs:10
- [ 53] JumpStrictlyEqualsRhsInt32 arith_feedback:3, lhs:reg5, rhs:0, true_target:block9, false_target:block6
+ [ 39] AddRhsInt32 arith_feedback:2, dst:result~0, lhs:result~0, rhs:10
+ [ 42] JumpStrictlyEqualsRhsInt32 arith_feedback:3, lhs:reg5, rhs:0, true_target:block9, false_target:block6
block6:
- [ 64] JumpStrictlyEqualsRhsInt32 arith_feedback:4, lhs:reg5, rhs:2, true_target:block7, false_target:block8
+ [ 52] JumpStrictlyEqualsRhsInt32 arith_feedback:4, lhs:reg5, rhs:2, true_target:block7, false_target:block8
block7:
- [ 75] Jump target:block9
+ [ 62] Jump target:block9
block8:
- [ 7a] Throw src:reg6
+ [ 67] Throw src:reg6
block9:
- [ 7d] Increment arith_feedback:5, dst:i~1
+ [ 69] Increment arith_feedback:5, dst:i~1
block10:
- [ 82] JumpLessThanLoopRhsInt32 arith_feedback:6, lhs:i~1, rhs:3, true_target:block1, false_target:block11
+ [ 6d] JumpLessThanLoopRhsInt32 arith_feedback:6, lhs:i~1, rhs:3, true_target:block1, false_target:block11
block11:
- [ 93] Return value:result~0
+ [ 7d] Return value:result~0
Exception handlers:
- [ 10 .. 3e] => handler block4
+ [ c .. 32] => handler block4
-breakThroughFinally$69d28f77 try-finally-continue.js:16:9
+breakThroughFinally$c1bf77ce try-finally-continue.js:16:9
Registers: 8
Blocks: 12
Locals: result~0, i~1
@@ -89,49 +89,49 @@ breakThroughFinally$69d28f77 try-finally-continue.js:16:9
block0:
[ 0] Enter
[ 1] Mov dst:result~0, src:Int32(0)
- [ 6] Mov dst:i~1, src:Int32(0)
- [ b] Jump target:block10
+ [ 4] Mov dst:i~1, src:Int32(0)
+ [ 7] Jump target:block10
block1:
- [ 10] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:i~1, rhs:2, true_target:block2, false_target:block3
+ [ c] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:i~1, rhs:2, true_target:block2, false_target:block3
block2:
- [ 21] Mov dst:reg5, src:Int32(2)
- [ 26] Jump target:block5
+ [ 1c] Mov dst:reg5, src:Int32(2)
+ [ 1f] Jump target:block5
block3:
- [ 2b] Add arith_feedback:1, dst:result~0, lhs:result~0, rhs:i~1
- [ 34] Mov dst:reg5, src:Int32(0)
- [ 39] Jump target:block5
+ [ 24] Add arith_feedback:1, dst:result~0, lhs:result~0, rhs:i~1
+ [ 2a] Mov dst:reg5, src:Int32(0)
+ [ 2d] Jump target:block5
block4:
- [ 3e] Catch value_feedback:0, dst:reg6
- [ 43] Mov dst:reg5, src:Int32(1)
+ [ 32] Catch value_feedback:0, dst:reg6
+ [ 36] Mov dst:reg5, src:Int32(1)
block5:
- [ 48] AddRhsInt32 arith_feedback:2, dst:result~0, lhs:result~0, rhs:100
- [ 53] JumpStrictlyEqualsRhsInt32 arith_feedback:3, lhs:reg5, rhs:0, true_target:block9, false_target:block6
+ [ 39] AddRhsInt32 arith_feedback:2, dst:result~0, lhs:result~0, rhs:100
+ [ 42] JumpStrictlyEqualsRhsInt32 arith_feedback:3, lhs:reg5, rhs:0, true_target:block9, false_target:block6
block6:
- [ 64] JumpStrictlyEqualsRhsInt32 arith_feedback:4, lhs:reg5, rhs:2, true_target:block7, false_target:block8
+ [ 52] JumpStrictlyEqualsRhsInt32 arith_feedback:4, lhs:reg5, rhs:2, true_target:block7, false_target:block8
block7:
- [ 75] Jump target:block11
+ [ 62] Jump target:block11
block8:
- [ 7a] Throw src:reg6
+ [ 67] Throw src:reg6
block9:
- [ 7d] Increment arith_feedback:5, dst:i~1
+ [ 69] Increment arith_feedback:5, dst:i~1
block10:
- [ 82] JumpLessThanLoopRhsInt32 arith_feedback:6, lhs:i~1, rhs:10, true_target:block1, false_target:block11
+ [ 6d] JumpLessThanLoopRhsInt32 arith_feedback:6, lhs:i~1, rhs:10, true_target:block1, false_target:block11
block11:
- [ 93] Return value:result~0
+ [ 7d] Return value:result~0
Exception handlers:
- [ 10 .. 3e] => handler block4
+ [ c .. 32] => handler block4
32
diff --git a/Tests/LibJS/Bytecode/expected/try-finally.txt b/Tests/LibJS/Bytecode/expected/try-finally.txt
index d2ad8959bb0..bd16fe776d5 100644
--- a/Tests/LibJS/Bytecode/expected/try-finally.txt
+++ b/Tests/LibJS/Bytecode/expected/try-finally.txt
@@ -1,4 +1,4 @@
-$c33e90bb try-finally.js:8:1
+$b6873efe try-finally.js:8:1
Registers: 7
Blocks: 1
Constants:
@@ -7,16 +7,16 @@ $c33e90bb try-finally.js:8:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `basicTryFinally`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] GetGlobal value_feedback:2, dst:reg6, `breakThroughFinally`
- [ 29] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
- [ 3a] GetGlobal value_feedback:4, dst:reg6, `nestedTryFinallyWithBreak`
- [ 43] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined
- [ 54] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `basicTryFinally`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] GetGlobal value_feedback:2, dst:reg6, `breakThroughFinally`
+ [ 21] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
+ [ 2c] GetGlobal value_feedback:4, dst:reg6, `nestedTryFinallyWithBreak`
+ [ 35] Call value_feedback:5, call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined
+ [ 40] End value:reg5
-basicTryFinally$999a4d1c try-finally.js:2:9
+basicTryFinally$5bad41e8 try-finally.js:2:9
Registers: 9
Blocks: 8
Constants:
@@ -30,36 +30,36 @@ block0:
block1:
[ 1] Mov dst:reg6, src:Int32(1)
- [ 6] Mov dst:reg5, src:Int32(2)
- [ b] Jump target:block3
+ [ 4] Mov dst:reg5, src:Int32(2)
+ [ 7] Jump target:block3
block2:
- [ 10] Catch value_feedback:0, dst:reg6
- [ 15] Mov dst:reg5, src:Int32(1)
+ [ c] Catch value_feedback:0, dst:reg6
+ [ 10] Mov dst:reg5, src:Int32(1)
block3:
- [ 1a] GetGlobal value_feedback:1, dst:reg7, `console`
- [ 23] GetById value_feedback:2, dst:reg8, base:reg7, `log`
- [ 30] Call value_feedback:3, call_feedback:0, dst:reg7, callee:reg8, this_value:reg7, arguments:[String("finally")]
- [ 43] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:reg5, rhs:0, true_target:block7, false_target:block4
+ [ 13] GetGlobal value_feedback:1, dst:reg7, `console`
+ [ 1c] GetById value_feedback:2, dst:reg8, base:reg7, `log`
+ [ 28] Call value_feedback:3, call_feedback:0, dst:reg7, callee:reg8, this_value:reg7, arguments:[String("finally")]
+ [ 34] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:reg5, rhs:0, true_target:block7, false_target:block4
block4:
- [ 54] JumpStrictlyEqualsRhsInt32 arith_feedback:1, lhs:reg5, rhs:2, true_target:block5, false_target:block6
+ [ 44] JumpStrictlyEqualsRhsInt32 arith_feedback:1, lhs:reg5, rhs:2, true_target:block5, false_target:block6
block5:
- [ 65] Return value:reg6
+ [ 54] Return value:reg6
block6:
- [ 68] Throw src:reg6
+ [ 56] Throw src:reg6
block7:
- [ 6b] End value:Undefined
+ [ 58] End value:Undefined
Exception handlers:
- [ 1 .. 10] => handler block2
+ [ 1 .. c] => handler block2
-breakThroughFinally$4719096f try-finally.js:11:10
+breakThroughFinally$c02f2ec7 try-finally.js:11:10
Registers: 9
Blocks: 12
Locals: i~0
@@ -72,52 +72,52 @@ breakThroughFinally$4719096f try-finally.js:11:10
block0:
[ 0] Enter
[ 1] Mov dst:i~0, src:Int32(0)
- [ 6] Jump target:block10
+ [ 4] Jump target:block10
block1:
- [ b] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:i~0, rhs:5, true_target:block2, false_target:block3
+ [ 9] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:i~0, rhs:5, true_target:block2, false_target:block3
block2:
- [ 1c] Mov dst:reg5, src:Int32(2)
- [ 21] Jump target:block5
+ [ 19] Mov dst:reg5, src:Int32(2)
+ [ 1c] Jump target:block5
block3:
- [ 26] Mov dst:reg5, src:Int32(0)
- [ 2b] Jump target:block5
+ [ 21] Mov dst:reg5, src:Int32(0)
+ [ 24] Jump target:block5
block4:
- [ 30] Catch value_feedback:0, dst:reg6
- [ 35] Mov dst:reg5, src:Int32(1)
+ [ 29] Catch value_feedback:0, dst:reg6
+ [ 2d] Mov dst:reg5, src:Int32(1)
block5:
- [ 3a] GetGlobal value_feedback:1, dst:reg7, `console`
- [ 43] GetById value_feedback:2, dst:reg8, base:reg7, `log`
- [ 50] Call value_feedback:3, call_feedback:0, dst:reg7, callee:reg8, this_value:reg7, arguments:[i~0]
- [ 63] JumpStrictlyEqualsRhsInt32 arith_feedback:1, lhs:reg5, rhs:0, true_target:block9, false_target:block6
+ [ 30] GetGlobal value_feedback:1, dst:reg7, `console`
+ [ 39] GetById value_feedback:2, dst:reg8, base:reg7, `log`
+ [ 45] Call value_feedback:3, call_feedback:0, dst:reg7, callee:reg8, this_value:reg7, arguments:[i~0]
+ [ 51] JumpStrictlyEqualsRhsInt32 arith_feedback:1, lhs:reg5, rhs:0, true_target:block9, false_target:block6
block6:
- [ 74] JumpStrictlyEqualsRhsInt32 arith_feedback:2, lhs:reg5, rhs:2, true_target:block7, false_target:block8
+ [ 61] JumpStrictlyEqualsRhsInt32 arith_feedback:2, lhs:reg5, rhs:2, true_target:block7, false_target:block8
block7:
- [ 85] Jump target:block11
+ [ 71] Jump target:block11
block8:
- [ 8a] Throw src:reg6
+ [ 76] Throw src:reg6
block9:
- [ 8d] Increment arith_feedback:3, dst:i~0
+ [ 78] Increment arith_feedback:3, dst:i~0
block10:
- [ 92] JumpLessThanLoopRhsInt32 arith_feedback:4, lhs:i~0, rhs:10, true_target:block1, false_target:block11
+ [ 7c] JumpLessThanLoopRhsInt32 arith_feedback:4, lhs:i~0, rhs:10, true_target:block1, false_target:block11
block11:
- [ a3] End value:Undefined
+ [ 8c] End value:Undefined
Exception handlers:
- [ b .. 30] => handler block4
+ [ 9 .. 29] => handler block4
-nestedTryFinallyWithBreak$b1d6054e try-finally.js:22:21
+nestedTryFinallyWithBreak$cb44a8c8 try-finally.js:22:21
Registers: 11
Blocks: 15
Locals: i~0
@@ -134,62 +134,62 @@ block0:
[ 1] Mov dst:i~0, src:Int32(0)
block1:
- [ 6] Mov dst:reg7, src:Int32(2)
- [ b] Jump target:block3
+ [ 4] Mov dst:reg7, src:Int32(2)
+ [ 7] Jump target:block3
block2:
- [ 10] Catch value_feedback:0, dst:reg8
- [ 15] Mov dst:reg7, src:Int32(1)
+ [ c] Catch value_feedback:0, dst:reg8
+ [ 10] Mov dst:reg7, src:Int32(1)
block3:
- [ 1a] GetGlobal value_feedback:1, dst:reg9, `console`
- [ 23] GetById value_feedback:2, dst:reg10, base:reg9, `log`
- [ 30] Call value_feedback:3, call_feedback:0, dst:reg9, callee:reg10, this_value:reg9, arguments:[String("inner")]
- [ 43] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:reg7, rhs:0, true_target:block7, false_target:block4
+ [ 13] GetGlobal value_feedback:1, dst:reg9, `console`
+ [ 1c] GetById value_feedback:2, dst:reg10, base:reg9, `log`
+ [ 28] Call value_feedback:3, call_feedback:0, dst:reg9, callee:reg10, this_value:reg9, arguments:[String("inner")]
+ [ 34] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:reg7, rhs:0, true_target:block7, false_target:block4
block4:
- [ 54] JumpStrictlyEqualsRhsInt32 arith_feedback:1, lhs:reg7, rhs:2, true_target:block5, false_target:block6
+ [ 44] JumpStrictlyEqualsRhsInt32 arith_feedback:1, lhs:reg7, rhs:2, true_target:block5, false_target:block6
block5:
- [ 65] Mov dst:reg5, src:Int32(2)
- [ 6a] Jump target:block9
+ [ 54] Mov dst:reg5, src:Int32(2)
+ [ 57] Jump target:block9
block6:
- [ 6f] Throw src:reg8
+ [ 5c] Throw src:reg8
block7:
- [ 72] Mov dst:reg5, src:Int32(0)
- [ 77] Jump target:block9
+ [ 5e] Mov dst:reg5, src:Int32(0)
+ [ 61] Jump target:block9
block8:
- [ 7c] Catch value_feedback:4, dst:reg6
- [ 81] Mov dst:reg5, src:Int32(1)
+ [ 66] Catch value_feedback:4, dst:reg6
+ [ 6a] Mov dst:reg5, src:Int32(1)
block9:
- [ 86] GetGlobal value_feedback:5, dst:reg7, `console`
- [ 8f] GetById value_feedback:6, dst:reg8, base:reg7, `log`
- [ 9c] Call value_feedback:7, call_feedback:1, dst:reg7, callee:reg8, this_value:reg7, arguments:[String("outer")]
- [ af] JumpStrictlyEqualsRhsInt32 arith_feedback:2, lhs:reg5, rhs:0, true_target:block13, false_target:block10
+ [ 6d] GetGlobal value_feedback:5, dst:reg7, `console`
+ [ 76] GetById value_feedback:6, dst:reg8, base:reg7, `log`
+ [ 82] Call value_feedback:7, call_feedback:1, dst:reg7, callee:reg8, this_value:reg7, arguments:[String("outer")]
+ [ 8e] JumpStrictlyEqualsRhsInt32 arith_feedback:2, lhs:reg5, rhs:0, true_target:block13, false_target:block10
block10:
- [ c0] JumpStrictlyEqualsRhsInt32 arith_feedback:3, lhs:reg5, rhs:2, true_target:block11, false_target:block12
+ [ 9e] JumpStrictlyEqualsRhsInt32 arith_feedback:3, lhs:reg5, rhs:2, true_target:block11, false_target:block12
block11:
- [ d1] Jump target:block14
+ [ ae] Jump target:block14
block12:
- [ d6] Throw src:reg6
+ [ b3] Throw src:reg6
block13:
- [ d9] Increment arith_feedback:4, dst:i~0
- [ de] JumpLoop target:block1
+ [ b5] Increment arith_feedback:4, dst:i~0
+ [ b9] JumpLoop target:block1
block14:
- [ e3] End value:Undefined
+ [ be] End value:Undefined
Exception handlers:
- [ 6 .. 10] => handler block2
- [ 10 .. 7c] => handler block8
+ [ 4 .. c] => handler block2
+ [ c .. 66] => handler block8
"finally"
diff --git a/Tests/LibJS/Bytecode/expected/update-member-expression.txt b/Tests/LibJS/Bytecode/expected/update-member-expression.txt
index acbba04686c..62d4aa98fad 100644
--- a/Tests/LibJS/Bytecode/expected/update-member-expression.txt
+++ b/Tests/LibJS/Bytecode/expected/update-member-expression.txt
@@ -1,4 +1,4 @@
-$7dfd94b2 update-member-expression.js:13:1
+$3ba50af1 update-member-expression.js:13:1
Registers: 8
Blocks: 1
Constants:
@@ -7,16 +7,16 @@ $7dfd94b2 update-member-expression.js:13:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `postfix_increment`
- [ f] NewObject dst:reg7
- [ 14] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 27] GetGlobal value_feedback:2, dst:reg6, `prefix_decrement`
- [ 30] NewObject dst:reg7
- [ 35] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 48] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `postfix_increment`
+ [ d] NewObject dst:reg7
+ [ 11] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 1d] GetGlobal value_feedback:2, dst:reg6, `prefix_decrement`
+ [ 26] NewObject dst:reg7
+ [ 2a] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 36] End value:reg5
-postfix_increment$fed5117b update-member-expression.js:6:14
+postfix_increment$ef59ceae update-member-expression.js:6:14
Registers: 7
Blocks: 1
Constants:
@@ -25,12 +25,12 @@ postfix_increment$fed5117b update-member-expression.js:6:14
block0:
[ 0] Enter
[ 1] GetById value_feedback:0, dst:reg5, base:arg0, `count`
- [ e] PostfixIncrement arith_feedback:0, dst:reg6, src:reg5
- [ 15] PutById base:arg0, `count`, src:reg5, kind:Normal
- [ 24] End value:Undefined
+ [ d] PostfixIncrement arith_feedback:0, dst:reg6, src:reg5
+ [ 12] PutById base:arg0, `count`, src:reg5, kind:Normal
+ [ 20] End value:Undefined
-prefix_decrement$f98e5a8f update-member-expression.js:10:5
+prefix_decrement$b8dd5e4b update-member-expression.js:10:5
Registers: 6
Blocks: 1
Constants:
@@ -39,6 +39,6 @@ prefix_decrement$f98e5a8f update-member-expression.js:10:5
block0:
[ 0] Enter
[ 1] GetById value_feedback:0, dst:reg5, base:arg0, `count`
- [ e] Decrement arith_feedback:0, dst:reg5
- [ 13] PutById base:arg0, `count`, src:reg5, kind:Normal
- [ 22] End value:Undefined
+ [ d] Decrement arith_feedback:0, dst:reg5
+ [ 11] PutById base:arg0, `count`, src:reg5, kind:Normal
+ [ 1f] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/using-declaration-non-local-env.txt b/Tests/LibJS/Bytecode/expected/using-declaration-non-local-env.txt
index f2f767f1342..42d49acbfd2 100644
--- a/Tests/LibJS/Bytecode/expected/using-declaration-non-local-env.txt
+++ b/Tests/LibJS/Bytecode/expected/using-declaration-non-local-env.txt
@@ -1,4 +1,4 @@
-$e26385ed using-declaration-non-local-env.js:1:1
+$ddf80760 using-declaration-non-local-env.js:1:1
Registers: 7
Blocks: 4
Locals: e~0
@@ -9,28 +9,28 @@ $e26385ed using-declaration-non-local-env.js:1:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] Mov dst:reg5, src:Undefined
+ [ 4] Mov dst:reg5, src:Undefined
block1:
- [ b] NewFunction dst:reg6, shared_function_data_index:0
- [ 16] Call value_feedback:0, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 27] Jump target:block3
+ [ 7] NewFunction dst:reg6, shared_function_data_index:0
+ [ 11] Call value_feedback:0, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 1c] Jump target:block3
block2:
- [ 2c] Catch value_feedback:1, dst:reg6
- [ 31] Mov dst:reg5, src:Undefined
- [ 36] Mov dst:e~0, src:<Empty>
- [ 3b] Mov dst:e~0, src:reg6
- [ 40] Jump target:block3
+ [ 21] Catch value_feedback:1, dst:reg6
+ [ 25] Mov dst:reg5, src:Undefined
+ [ 28] Mov dst:e~0, src:<Empty>
+ [ 2b] Mov dst:e~0, src:reg6
+ [ 2e] Jump target:block3
block3:
- [ 45] End value:reg5
+ [ 33] End value:reg5
Exception handlers:
- [ b .. 2c] => handler block2
+ [ 7 .. 21] => handler block2
-$8722f799 using-declaration-non-local-env.js:1:19
+$cf949d23 using-declaration-non-local-env.js:1:19
Registers: 10
Blocks: 6
Constants:
@@ -41,34 +41,34 @@ $8722f799 using-declaration-non-local-env.js:1:19
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
- [ 12] CreateVariable `x`, is_immutable:true, is_global:false, is_strict:true
- [ 1c] NewDisposableResourceStack dst:reg6
+ [ 3] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
+ [ f] CreateVariable `x`, is_immutable:true, is_global:false, is_strict:true
+ [ 1a] NewDisposableResourceStack dst:reg6
block1:
- [ 1f] NewObject dst:reg9
- [ 24] AddDisposableResource stack:reg6, value:reg9, hint:0
- [ 2d] InitializeLexicalBinding `x`, src:reg9
- [ 3a] NewFunction dst:reg9, shared_function_data_index:0
- [ 45] Call value_feedback:0, call_feedback:0, dst:reg9, callee:reg9, this_value:Undefined
- [ 56] Mov dst:reg7, src:Int32(0)
- [ 5b] Jump target:block3
+ [ 1c] NewObject dst:reg9
+ [ 20] AddDisposableResource stack:reg6, value:reg9, hint:0
+ [ 27] InitializeLexicalBinding `x`, src:reg9
+ [ 34] NewFunction dst:reg9, shared_function_data_index:0
+ [ 3e] Call value_feedback:0, call_feedback:0, dst:reg9, callee:reg9, this_value:Undefined
+ [ 49] Mov dst:reg7, src:Int32(0)
+ [ 4c] Jump target:block3
block2:
- [ 60] Catch value_feedback:1, dst:reg8
- [ 65] SetLexicalEnvironment environment:reg5
- [ 68] Mov dst:reg7, src:Int32(1)
+ [ 51] Catch value_feedback:1, dst:reg8
+ [ 55] SetLexicalEnvironment environment:reg5
+ [ 57] Mov dst:reg7, src:Int32(1)
block3:
- [ 6d] DisposeResources stack:reg6, completion_type:reg7, completion_value:reg8
- [ 74] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:reg7, rhs:0, true_target:block5, false_target:block4
+ [ 5a] DisposeResources stack:reg6, completion_type:reg7, completion_value:reg8
+ [ 5e] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:reg7, rhs:0, true_target:block5, false_target:block4
block4:
- [ 85] Throw src:reg8
+ [ 6e] Throw src:reg8
block5:
- [ 88] SetLexicalEnvironment environment:reg4
- [ 8b] End value:Undefined
+ [ 70] SetLexicalEnvironment environment:reg4
+ [ 72] End value:Undefined
Exception handlers:
- [ 1f .. 60] => handler block2
+ [ 1c .. 51] => handler block2
diff --git a/Tests/LibJS/Bytecode/expected/var-binding-access.txt b/Tests/LibJS/Bytecode/expected/var-binding-access.txt
index d900f68919c..24609d30f8a 100644
--- a/Tests/LibJS/Bytecode/expected/var-binding-access.txt
+++ b/Tests/LibJS/Bytecode/expected/var-binding-access.txt
@@ -1,4 +1,4 @@
-$2604690f var-binding-access.js:22:1
+$32bbbacc var-binding-access.js:22:1
Registers: 7
Blocks: 1
Constants:
@@ -7,14 +7,14 @@ $2604690f var-binding-access.js:22:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `var_access`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] GetGlobal value_feedback:2, dst:reg6, `let_access`
- [ 29] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
- [ 3a] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `var_access`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] GetGlobal value_feedback:2, dst:reg6, `let_access`
+ [ 21] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
+ [ 2c] End value:reg5
-var_access$83e3e48d var-binding-access.js:5:9
+var_access$d410239e var-binding-access.js:5:9
Registers: 6
Blocks: 1
Constants:
@@ -24,14 +24,14 @@ var_access$83e3e48d var-binding-access.js:5:9
block0:
[ 0] Enter
[ 1] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
- [ b] InitializeVariableBinding `x`, src:Undefined
- [ 18] SetLexicalBinding `x`, src:Int32(1)
- [ 25] NewFunction dst:reg5, shared_function_data_index:0
+ [ c] InitializeVariableBinding `x`, src:Undefined
+ [ 19] SetLexicalBinding `x`, src:Int32(1)
+ [ 26] NewFunction dst:reg5, shared_function_data_index:0
[ 30] GetInitializedBinding value_feedback:0, dst:reg5, `x`
[ 3f] Return value:reg5
-let_access$bedfbe99 var-binding-access.js:14:9
+let_access$6eb37f88 var-binding-access.js:14:9
Registers: 6
Blocks: 1
Constants:
@@ -40,7 +40,7 @@ let_access$bedfbe99 var-binding-access.js:14:9
block0:
[ 0] Enter
[ 1] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
- [ b] InitializeLexicalBinding `x`, src:Int32(1)
- [ 18] NewFunction dst:reg5, shared_function_data_index:0
+ [ c] InitializeLexicalBinding `x`, src:Int32(1)
+ [ 19] NewFunction dst:reg5, shared_function_data_index:0
[ 23] GetBinding value_feedback:0, dst:reg5, `x`
[ 32] Return value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/var-env-capacity-with-param-expressions.txt b/Tests/LibJS/Bytecode/expected/var-env-capacity-with-param-expressions.txt
index 1971ca18834..9a2a227b16f 100644
--- a/Tests/LibJS/Bytecode/expected/var-env-capacity-with-param-expressions.txt
+++ b/Tests/LibJS/Bytecode/expected/var-env-capacity-with-param-expressions.txt
@@ -1,4 +1,4 @@
-$7393b212 var-env-capacity-with-param-expressions.js:5:1
+$3cd6167b var-env-capacity-with-param-expressions.js:5:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $7393b212 var-env-capacity-with-param-expressions.js:5:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-f$b9d138e8 var-env-capacity-with-param-expressions.js:1:12
+f$0cc16909 var-env-capacity-with-param-expressions.js:1:12
Registers: 10
Blocks: 3
Constants:
@@ -23,31 +23,31 @@ f$b9d138e8 var-env-capacity-with-param-expressions.js:1:12
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
- [ 12] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
- [ 1c] CreateArguments is_immutable:false, creates_parameter_bindings:false
- [ 25] JumpUndefined condition:arg0, true_target:block1, false_target:block2
+ [ 3] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
+ [ f] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
+ [ 1a] CreateArguments is_immutable:false, creates_parameter_bindings:false
+ [ 22] JumpUndefined condition:arg0, true_target:block1, false_target:block2
block1:
- [ 30] Mov dst:arg0, src:Int32(1)
+ [ 2c] Mov dst:arg0, src:Int32(1)
block2:
- [ 35] InitializeLexicalBinding `x`, src:arg0
- [ 42] CreateVariableEnvironment capacity:3
- [ 47] GetLexicalEnvironment dst:reg6
- [ 4a] CreateLexicalEnvironment dst:reg7, parent:reg6, capacity:3, is_catch_environment:false
- [ 58] CreateVariable `a`, is_immutable:false, is_global:false, is_strict:false
- [ 62] InitializeVariableBinding `a`, src:Undefined
- [ 6f] CreateVariable `b`, is_immutable:false, is_global:false, is_strict:false
- [ 79] InitializeVariableBinding `b`, src:Undefined
- [ 86] CreateVariable `c`, is_immutable:false, is_global:false, is_strict:false
- [ 90] InitializeVariableBinding `c`, src:Undefined
- [ 9d] DynamicGetCalleeAndThisFromEnvironment value_feedback:0, callee:reg8, this_value:reg9, `eval`
- [ a8] CallDirectEval value_feedback:1, call_feedback:0, dst:reg8, callee:reg8, this_value:reg9, arguments:[String("")]
- [ bb] End value:Undefined
-
-
-eval$66f502e2
+ [ 2f] InitializeLexicalBinding `x`, src:arg0
+ [ 3c] CreateVariableEnvironment capacity:3
+ [ 41] GetLexicalEnvironment dst:reg6
+ [ 43] CreateLexicalEnvironment dst:reg7, parent:reg6, capacity:3, is_catch_environment:false
+ [ 4f] CreateVariable `a`, is_immutable:false, is_global:false, is_strict:false
+ [ 5a] InitializeVariableBinding `a`, src:Undefined
+ [ 67] CreateVariable `b`, is_immutable:false, is_global:false, is_strict:false
+ [ 72] InitializeVariableBinding `b`, src:Undefined
+ [ 7f] CreateVariable `c`, is_immutable:false, is_global:false, is_strict:false
+ [ 8a] InitializeVariableBinding `c`, src:Undefined
+ [ 97] DynamicGetCalleeAndThisFromEnvironment value_feedback:0, callee:reg8, this_value:reg9, `eval`
+ [ a1] CallDirectEval value_feedback:1, call_feedback:0, dst:reg8, callee:reg8, this_value:reg9, arguments:[String("")]
+ [ ad] End value:Undefined
+
+
+eval$d8dbb89d
Registers: 6
Blocks: 1
Constants:
@@ -56,4 +56,4 @@ eval$66f502e2
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] End value:reg5
+ [ 4] End value:reg5
diff --git a/Tests/LibJS/Bytecode/expected/var-hoisting-tdz.txt b/Tests/LibJS/Bytecode/expected/var-hoisting-tdz.txt
index 1c9e5b5e47a..04fbc74ddbb 100644
--- a/Tests/LibJS/Bytecode/expected/var-hoisting-tdz.txt
+++ b/Tests/LibJS/Bytecode/expected/var-hoisting-tdz.txt
@@ -1,4 +1,4 @@
-$5e28f45e var-hoisting-tdz.js:9:1
+$24a767b7 var-hoisting-tdz.js:9:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $5e28f45e var-hoisting-tdz.js:9:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `isect`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `isect`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-isect$b7ece515 var-hoisting-tdz.js:5:12
+isect$c4a436d2 var-hoisting-tdz.js:5:12
Registers: 6
Blocks: 7
Locals: i~0
@@ -23,24 +23,24 @@ isect$b7ece515 var-hoisting-tdz.js:5:12
block0:
[ 0] Enter
[ 1] Mov dst:i~0, src:Undefined
- [ 6] Mov dst:i~0, src:Int32(0)
- [ b] Jump target:block2
+ [ 4] Mov dst:i~0, src:Int32(0)
+ [ 7] Jump target:block2
block1:
- [ 10] Increment arith_feedback:0, dst:i~0
+ [ c] Increment arith_feedback:0, dst:i~0
block2:
- [ 15] JumpLessThanLoopRhsInt32 arith_feedback:1, lhs:i~0, rhs:3, true_target:block1, false_target:block3
+ [ 10] JumpLessThanLoopRhsInt32 arith_feedback:1, lhs:i~0, rhs:3, true_target:block1, false_target:block3
block3:
- [ 26] Mov dst:i~0, src:Int32(0)
- [ 2b] Jump target:block5
+ [ 20] Mov dst:i~0, src:Int32(0)
+ [ 23] Jump target:block5
block4:
- [ 30] Increment arith_feedback:2, dst:i~0
+ [ 28] Increment arith_feedback:2, dst:i~0
block5:
- [ 35] JumpLessThanLoopRhsInt32 arith_feedback:3, lhs:i~0, rhs:3, true_target:block4, false_target:block6
+ [ 2c] JumpLessThanLoopRhsInt32 arith_feedback:3, lhs:i~0, rhs:3, true_target:block4, false_target:block6
block6:
- [ 46] End value:Undefined
+ [ 3c] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/var-init-in-param-body-scope.txt b/Tests/LibJS/Bytecode/expected/var-init-in-param-body-scope.txt
index 2b83ce7af94..3939a2b57a6 100644
--- a/Tests/LibJS/Bytecode/expected/var-init-in-param-body-scope.txt
+++ b/Tests/LibJS/Bytecode/expected/var-init-in-param-body-scope.txt
@@ -1,4 +1,4 @@
-$2cb5e223 var-init-in-param-body-scope.js:4:1
+$559fc86a var-init-in-param-body-scope.js:4:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $2cb5e223 var-init-in-param-body-scope.js:4:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `f`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `f`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-f$ca68df48 var-init-in-param-body-scope.js:1:12
+f$4906e6c0 var-init-in-param-body-scope.js:1:12
Registers: 5
Blocks: 3
Locals: x~0
@@ -26,9 +26,9 @@ block0:
[ 1] JumpUndefined condition:arg0, true_target:block1, false_target:block2
block1:
- [ c] Mov dst:arg0, src:Int32(1)
+ [ b] Mov dst:arg0, src:Int32(1)
block2:
- [ 11] Mov dst:x~0, src:Undefined
- [ 16] Mov dst:x~0, src:String("inside")
- [ 1b] End value:Undefined
+ [ e] Mov dst:x~0, src:Undefined
+ [ 11] Mov dst:x~0, src:String("inside")
+ [ 14] End value:Undefined
diff --git a/Tests/LibJS/Bytecode/expected/var-shadow-in-default-param.txt b/Tests/LibJS/Bytecode/expected/var-shadow-in-default-param.txt
index 6795a9772e1..cc1721611aa 100644
--- a/Tests/LibJS/Bytecode/expected/var-shadow-in-default-param.txt
+++ b/Tests/LibJS/Bytecode/expected/var-shadow-in-default-param.txt
@@ -1,4 +1,4 @@
-$eebd2d43 var-shadow-in-default-param.js:7:5
+$ac64a382 var-shadow-in-default-param.js:7:5
Registers: 7
Blocks: 1
Constants:
@@ -8,15 +8,15 @@ $eebd2d43 var-shadow-in-default-param.js:7:5
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] SetGlobal `shadow`, src:String("outer")
- [ d] GetGlobal value_feedback:0, dst:reg6, `shadow_in_default`
- [ 16] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 27] GetGlobal value_feedback:2, dst:reg6, `no_conflict`
- [ 30] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
- [ 41] End value:reg5
+ [ 4] SetGlobal `shadow`, src:String("outer")
+ [ b] GetGlobal value_feedback:0, dst:reg6, `shadow_in_default`
+ [ 14] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 1f] GetGlobal value_feedback:2, dst:reg6, `no_conflict`
+ [ 28] Call value_feedback:3, call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
+ [ 33] End value:reg5
-shadow_in_default$1b85a199 var-shadow-in-default-param.js:8:28
+shadow_in_default$8378f6a7 var-shadow-in-default-param.js:8:28
Registers: 6
Blocks: 3
Locals: shadow~0
@@ -29,15 +29,15 @@ block0:
[ 1] JumpUndefined condition:arg0, true_target:block1, false_target:block2
block1:
- [ c] GetGlobal value_feedback:0, dst:arg0, `shadow`
+ [ b] GetGlobal value_feedback:0, dst:arg0, `shadow`
block2:
- [ 15] Mov dst:shadow~0, src:Undefined
- [ 1a] Mov dst:shadow~0, src:String("inner")
- [ 1f] Return value:arg0
+ [ 14] Mov dst:shadow~0, src:Undefined
+ [ 17] Mov dst:shadow~0, src:String("inner")
+ [ 1a] Return value:arg0
-no_conflict$8836a16a var-shadow-in-default-param.js:15:22
+no_conflict$06d4a8e2 var-shadow-in-default-param.js:15:22
Registers: 5
Blocks: 3
Locals: y~0
@@ -51,9 +51,9 @@ block0:
[ 1] JumpUndefined condition:arg0, true_target:block1, false_target:block2
block1:
- [ c] Mov dst:arg0, src:Int32(1)
+ [ b] Mov dst:arg0, src:Int32(1)
block2:
- [ 11] Mov dst:y~0, src:Undefined
- [ 16] Mov dst:y~0, src:Int32(2)
- [ 1b] Return value:y~0
+ [ e] Mov dst:y~0, src:Undefined
+ [ 11] Mov dst:y~0, src:Int32(2)
+ [ 14] Return value:y~0
diff --git a/Tests/LibJS/Bytecode/expected/with-return.txt b/Tests/LibJS/Bytecode/expected/with-return.txt
index b3502c0bce2..cb4d6a8b5e9 100644
--- a/Tests/LibJS/Bytecode/expected/with-return.txt
+++ b/Tests/LibJS/Bytecode/expected/with-return.txt
@@ -1,4 +1,4 @@
-$68afe3a0 with-return.js:10:1
+$1b47959f with-return.js:10:1
Registers: 8
Blocks: 1
Constants:
@@ -8,22 +8,22 @@ $68afe3a0 with-return.js:10:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `with_return`
- [ f] NewObject dst:reg7
- [ 14] InitObjectLiteralProperty object:reg7, `x`, src:Int32(42), shape_cache_index:0, property_slot:0
- [ 23] CacheObjectShape object:reg7
- [ 28] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
- [ 3b] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `with_return`
+ [ d] NewObject dst:reg7
+ [ 11] InitObjectLiteralProperty object:reg7, `x`, src:Int32(42), shape_cache_index:0, property_slot:0
+ [ 1f] CacheObjectShape object:reg7
+ [ 23] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
+ [ 2f] End value:reg5
-with_return$5d7aca02 with-return.js:5:5
+with_return$8eb08379 with-return.js:5:5
Registers: 7
Blocks: 1
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] EnterObjectEnvironment dst:reg5, object:arg0
- [ 9] DynamicGetBinding value_feedback:0, dst:reg6, `x`
- [ 12] SetLexicalEnvironment environment:reg4
- [ 15] Return value:reg6
+ [ 3] EnterObjectEnvironment dst:reg5, object:arg0
+ [ 6] DynamicGetBinding value_feedback:0, dst:reg6, `x`
+ [ f] SetLexicalEnvironment environment:reg4
+ [ 11] Return value:reg6
diff --git a/Tests/LibJS/Bytecode/expected/with-statement.txt b/Tests/LibJS/Bytecode/expected/with-statement.txt
index eb83fb0fea3..a2b3a0d1566 100644
--- a/Tests/LibJS/Bytecode/expected/with-statement.txt
+++ b/Tests/LibJS/Bytecode/expected/with-statement.txt
@@ -1,4 +1,4 @@
-$d9fb9630 with-statement.js:7:1
+$a33dfa99 with-statement.js:7:1
Registers: 7
Blocks: 1
Constants:
@@ -7,12 +7,12 @@ $d9fb9630 with-statement.js:7:1
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
- [ 6] GetGlobal value_feedback:0, dst:reg6, `withBlock`
- [ f] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
- [ 20] End value:reg5
+ [ 4] GetGlobal value_feedback:0, dst:reg6, `withBlock`
+ [ d] Call value_feedback:1, call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
+ [ 18] End value:reg5
-withBlock$59f5b86a with-statement.js:2:9
+withBlock$bc612b58 with-statement.js:2:9
Registers: 9
Blocks: 1
Locals: obj~0
@@ -23,17 +23,17 @@ withBlock$59f5b86a with-statement.js:2:9
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
- [ 4] NewObject dst:reg5
- [ 9] InitObjectLiteralProperty object:reg5, `x`, src:Int32(42), shape_cache_index:0, property_slot:0
- [ 18] CacheObjectShape object:reg5
- [ 1d] Mov dst:obj~0, src:reg5
- [ 22] EnterObjectEnvironment dst:reg5, object:obj~0
- [ 27] DynamicGetBinding value_feedback:0, dst:reg6, `console`
- [ 30] GetById value_feedback:1, dst:reg7, base:reg6, `log`
- [ 3d] DynamicGetBinding value_feedback:2, dst:reg8, `x`
- [ 46] Call value_feedback:3, call_feedback:0, dst:reg6, callee:reg7, this_value:reg6, arguments:[reg8]
- [ 59] SetLexicalEnvironment environment:reg4
- [ 5c] End value:Undefined
+ [ 3] NewObject dst:reg5
+ [ 7] InitObjectLiteralProperty object:reg5, `x`, src:Int32(42), shape_cache_index:0, property_slot:0
+ [ 15] CacheObjectShape object:reg5
+ [ 19] Mov dst:obj~0, src:reg5
+ [ 1c] EnterObjectEnvironment dst:reg5, object:obj~0
+ [ 1f] DynamicGetBinding value_feedback:0, dst:reg6, `console`
+ [ 28] GetById value_feedback:1, dst:reg7, base:reg6, `log`
+ [ 34] DynamicGetBinding value_feedback:2, dst:reg8, `x`
+ [ 3d] Call value_feedback:3, call_feedback:0, dst:reg6, callee:reg7, this_value:reg6, arguments:[reg8]
+ [ 49] SetLexicalEnvironment environment:reg4
+ [ 4b] End value:Undefined
42
diff --git a/Tests/LibJS/Runtime/long-operand-lists.js b/Tests/LibJS/Runtime/long-operand-lists.js
new file mode 100644
index 00000000000..68e58966834
--- /dev/null
+++ b/Tests/LibJS/Runtime/long-operand-lists.js
@@ -0,0 +1,92 @@
+function range(count) {
+ return Array.from({ length: count }, (_, index) => index);
+}
+
+function compile(...parts) {
+ return new Function(...parts);
+}
+
+test("calls with more arguments than an instruction can hold", () => {
+ const list = range(300).join(",");
+ const count = compile(`function f() { return arguments.length; } return f(${list});`);
+ expect(count()).toBe(300);
+ const last = compile(`function f(...rest) { return rest[299]; } return f(${list});`);
+ expect(last()).toBe(299);
+ const constructed = compile(`function F() { this.n = arguments.length; } return new F(${list}).n;`);
+ expect(constructed()).toBe(300);
+ const evaluated = compile(`return eval("1 + 2", ${list});`);
+ expect(evaluated()).toBe(3);
+});
+
+test("arguments in temporaries survive being gathered into an array", () => {
+ const list = range(250).join(",");
+ const f = compile("x", `function f() { return arguments[250]; } return f(${list}, x + 1);`);
+ expect(f(41)).toBe(42);
+});
+
+test("array literals with more elements than an instruction can hold", () => {
+ const elements = range(300)
+ .map(index => `x + ${index}`)
+ .join(",");
+ const f = compile("x", `return [${elements}];`);
+ const array = f(1);
+ expect(array.length).toBe(300);
+ expect(array[0]).toBe(1);
+ expect(array[299]).toBe(300);
+});
+
+test("template objects with more strings than an instruction can hold", () => {
+ const substitutions = range(150)
+ .map(index => `a${index}\${x}`)
+ .join("");
+ const f = compile("x", `function tag(strings) { return strings; } return tag\`${substitutions}\`;`);
+ const strings = f(1);
+ expect(strings.length).toBe(151);
+ expect(strings[0]).toBe("a0");
+ expect(strings[149]).toBe("a149");
+ expect(strings.raw[149]).toBe("a149");
+ expect(f(2)).toBe(f(2));
+});
+
+test("object rest with more excluded names than an instruction can hold", () => {
+ const names = range(250).map(index => `p${index}`);
+ const f = compile("o", `const { ${names.join(",")}, ...rest } = o; return rest;`);
+ const source = { kept: 1 };
+ for (const name of names) source[name] = 0;
+ expect(Object.keys(f(source))).toEqual(["kept"]);
+});
+
+test("classes with more elements than an instruction can hold", () => {
+ const methods = range(250)
+ .map(index => `m${index}() { return ${index}; }`)
+ .join("\n");
+ const C = compile(`return class { ${methods} ["computed"]() { return "c"; } static s = 1; };`)();
+ const instance = new C();
+ expect(instance.m0()).toBe(0);
+ expect(instance.m249()).toBe(249);
+ expect(instance.computed()).toBe("c");
+ expect(C.s).toBe(1);
+});
+
+test("functions with more locals and constants than an instruction can name", () => {
+ const count = 600;
+ const declarations = range(count)
+ .map(index => `let v${index} = ${index + 0.5};`)
+ .join("\n");
+ const sum = range(count)
+ .map(index => `v${index}`)
+ .join(" + ");
+ const f = compile("a", `${declarations} v599 = a; try { throw v599; } catch (e) { v0 = e; } return [v0, ${sum}];`);
+ const [caught, total] = f(7);
+ expect(caught).toBe(7);
+ expect(total).toBe((count * count) / 2 - 599.5 + 7 - 0.5 + 7);
+});
+
+test("functions with more names than 16 bits can index", () => {
+ const count = 70000;
+ const properties = range(count)
+ .map(index => `p${index}:0`)
+ .join(",");
+ const f = compile(`const o = {${properties},last:42}; return o.last + o.p69999;`);
+ expect(f()).toBe(42);
+});