11b268ca467c924004286c97bac133db489cf43d0Ben Murdoch#
21b268ca467c924004286c97bac133db489cf43d0Ben Murdoch# Autogenerated by generate-bytecode-expectations.
31b268ca467c924004286c97bac133db489cf43d0Ben Murdoch#
41b268ca467c924004286c97bac133db489cf43d0Ben Murdoch
51b268ca467c924004286c97bac133db489cf43d0Ben Murdoch---
61b268ca467c924004286c97bac133db489cf43d0Ben Murdochpool type: number
71b268ca467c924004286c97bac133db489cf43d0Ben Murdochexecute: yes
81b268ca467c924004286c97bac133db489cf43d0Ben Murdochwrap: yes
91b268ca467c924004286c97bac133db489cf43d0Ben Murdoch
101b268ca467c924004286c97bac133db489cf43d0Ben Murdoch---
111b268ca467c924004286c97bac133db489cf43d0Ben Murdochsnippet: "
121b268ca467c924004286c97bac133db489cf43d0Ben Murdoch  var ld_a = 1;
131b268ca467c924004286c97bac133db489cf43d0Ben Murdoch  while(true) {
141b268ca467c924004286c97bac133db489cf43d0Ben Murdoch    ld_a = ld_a + ld_a;
151b268ca467c924004286c97bac133db489cf43d0Ben Murdoch    if (ld_a > 10) break;
161b268ca467c924004286c97bac133db489cf43d0Ben Murdoch  }
171b268ca467c924004286c97bac133db489cf43d0Ben Murdoch  return ld_a;
181b268ca467c924004286c97bac133db489cf43d0Ben Murdoch"
1921efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdochframe size: 1
201b268ca467c924004286c97bac133db489cf43d0Ben Murdochparameter count: 1
2121efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdochbytecode array length: 25
221b268ca467c924004286c97bac133db489cf43d0Ben Murdochbytecodes: [
23537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*   30 E> */ B(StackCheck),
24537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*   45 S> */ B(LdaSmi), U8(1),
2521efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch                B(Star), R(0),
26537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*   48 E> */ B(StackCheck),
27537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*   64 S> */ B(Ldar), R(0),
2821efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch  /*   78 E> */ B(Add), R(0),
2921efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch                B(Star), R(0),
3021efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch  /*   86 S> */ B(LdaSmi), U8(10),
3121efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch  /*   95 E> */ B(TestGreaterThan), R(0),
32537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch                B(JumpIfFalse), U8(4),
33537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*  101 S> */ B(Jump), U8(4),
3421efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch                B(Jump), U8(-15),
35537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*  110 S> */ B(Ldar), R(0),
36537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*  123 S> */ B(Return),
371b268ca467c924004286c97bac133db489cf43d0Ben Murdoch]
381b268ca467c924004286c97bac133db489cf43d0Ben Murdochconstant pool: [
391b268ca467c924004286c97bac133db489cf43d0Ben Murdoch]
401b268ca467c924004286c97bac133db489cf43d0Ben Murdochhandlers: [
411b268ca467c924004286c97bac133db489cf43d0Ben Murdoch]
421b268ca467c924004286c97bac133db489cf43d0Ben Murdoch
431b268ca467c924004286c97bac133db489cf43d0Ben Murdoch---
441b268ca467c924004286c97bac133db489cf43d0Ben Murdochsnippet: "
451b268ca467c924004286c97bac133db489cf43d0Ben Murdoch  var ld_a = 1;
461b268ca467c924004286c97bac133db489cf43d0Ben Murdoch  do {
471b268ca467c924004286c97bac133db489cf43d0Ben Murdoch    ld_a = ld_a + ld_a;
481b268ca467c924004286c97bac133db489cf43d0Ben Murdoch    if (ld_a > 10) continue;
491b268ca467c924004286c97bac133db489cf43d0Ben Murdoch  } while(false);
501b268ca467c924004286c97bac133db489cf43d0Ben Murdoch  return ld_a;
511b268ca467c924004286c97bac133db489cf43d0Ben Murdoch"
5221efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdochframe size: 1
531b268ca467c924004286c97bac133db489cf43d0Ben Murdochparameter count: 1
5421efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdochbytecode array length: 23
551b268ca467c924004286c97bac133db489cf43d0Ben Murdochbytecodes: [
56537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*   30 E> */ B(StackCheck),
57537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*   45 S> */ B(LdaSmi), U8(1),
5821efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch                B(Star), R(0),
59537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*   48 E> */ B(StackCheck),
60537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*   55 S> */ B(Ldar), R(0),
6121efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch  /*   69 E> */ B(Add), R(0),
6221efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch                B(Star), R(0),
6321efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch  /*   77 S> */ B(LdaSmi), U8(10),
6421efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch  /*   86 E> */ B(TestGreaterThan), R(0),
65537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch                B(JumpIfFalse), U8(4),
66537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*   92 S> */ B(Jump), U8(2),
67537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*  118 S> */ B(Ldar), R(0),
68537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*  131 S> */ B(Return),
691b268ca467c924004286c97bac133db489cf43d0Ben Murdoch]
701b268ca467c924004286c97bac133db489cf43d0Ben Murdochconstant pool: [
711b268ca467c924004286c97bac133db489cf43d0Ben Murdoch]
721b268ca467c924004286c97bac133db489cf43d0Ben Murdochhandlers: [
731b268ca467c924004286c97bac133db489cf43d0Ben Murdoch]
741b268ca467c924004286c97bac133db489cf43d0Ben Murdoch
751b268ca467c924004286c97bac133db489cf43d0Ben Murdoch---
761b268ca467c924004286c97bac133db489cf43d0Ben Murdochsnippet: "
771b268ca467c924004286c97bac133db489cf43d0Ben Murdoch  var ld_a = 1;
781b268ca467c924004286c97bac133db489cf43d0Ben Murdoch    ld_a = ld_a + ld_a;
791b268ca467c924004286c97bac133db489cf43d0Ben Murdoch    return ld_a;
801b268ca467c924004286c97bac133db489cf43d0Ben Murdoch"
8121efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdochframe size: 1
821b268ca467c924004286c97bac133db489cf43d0Ben Murdochparameter count: 1
8321efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdochbytecode array length: 12
841b268ca467c924004286c97bac133db489cf43d0Ben Murdochbytecodes: [
85537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*   30 E> */ B(StackCheck),
86537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*   45 S> */ B(LdaSmi), U8(1),
8721efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch                B(Star), R(0),
8821efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch  /*   50 S> */ B(Nop),
8921efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch  /*   64 E> */ B(Add), R(0),
9021efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch                B(Star), R(0),
9121efce637eb329c94f1323b6a2334a1c977e1a9dBen Murdoch  /*   72 S> */ B(Nop),
92537ba893e2530051ec7f296e769fdd37bb4ae4a0Ben Murdoch  /*   85 S> */ B(Return),
931b268ca467c924004286c97bac133db489cf43d0Ben Murdoch]
941b268ca467c924004286c97bac133db489cf43d0Ben Murdochconstant pool: [
951b268ca467c924004286c97bac133db489cf43d0Ben Murdoch]
961b268ca467c924004286c97bac133db489cf43d0Ben Murdochhandlers: [
971b268ca467c924004286c97bac133db489cf43d0Ben Murdoch]
981b268ca467c924004286c97bac133db489cf43d0Ben Murdoch
99