summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/interpreter/bytecode_expectations/IIFEWithoutOneshotOpt.golden
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/interpreter/bytecode_expectations/IIFEWithoutOneshotOpt.golden')
-rw-r--r--deps/v8/test/cctest/interpreter/bytecode_expectations/IIFEWithoutOneshotOpt.golden183
1 files changed, 183 insertions, 0 deletions
diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/IIFEWithoutOneshotOpt.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/IIFEWithoutOneshotOpt.golden
index f116bdc68f..efe9078eea 100644
--- a/deps/v8/test/cctest/interpreter/bytecode_expectations/IIFEWithoutOneshotOpt.golden
+++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/IIFEWithoutOneshotOpt.golden
@@ -107,3 +107,186 @@ constant pool: [
handlers: [
]
+---
+snippet: "
+
+ this.f0 = function() {};
+ this.f1 = function(a) {};
+ this.f2 = function(a, b) {};
+ this.f3 = function(a, b, c) {};
+ this.f4 = function(a, b, c, d) {};
+ this.f5 = function(a, b, c, d, e) {};
+ (function() {
+ this.f0();
+ this.f1(1);
+ this.f2(1, 2);
+ this.f3(1, 2, 3);
+ this.f4(1, 2, 3, 4);
+ this.f5(1, 2, 3, 4, 5);
+ return arguments.callee;
+ })();
+
+"
+frame size: 8
+parameter count: 1
+bytecode array length: 144
+bytecodes: [
+ B(CreateMappedArguments),
+ B(Star), R(0),
+ /* 237 E> */ B(StackCheck),
+ /* 255 S> */ B(LdaNamedProperty), R(this), U8(0), U8(0),
+ B(Star), R(1),
+ /* 255 E> */ B(CallProperty0), R(1), R(this), U8(2),
+ /* 274 S> */ B(LdaNamedProperty), R(this), U8(1), U8(4),
+ B(Star), R(1),
+ B(LdaSmi), I8(1),
+ B(Star), R(3),
+ /* 274 E> */ B(CallProperty1), R(1), R(this), R(3), U8(6),
+ /* 294 S> */ B(LdaNamedProperty), R(this), U8(2), U8(8),
+ B(Star), R(1),
+ B(LdaSmi), I8(1),
+ B(Star), R(3),
+ B(LdaSmi), I8(2),
+ B(Star), R(4),
+ /* 294 E> */ B(CallProperty2), R(1), R(this), R(3), R(4), U8(10),
+ /* 317 S> */ B(LdaNamedProperty), R(this), U8(3), U8(12),
+ B(Star), R(1),
+ B(LdaSmi), I8(1),
+ B(Star), R(3),
+ B(LdaSmi), I8(2),
+ B(Star), R(4),
+ B(LdaSmi), I8(3),
+ B(Star), R(5),
+ B(Mov), R(this), R(2),
+ /* 317 E> */ B(CallProperty), R(1), R(2), U8(4), U8(14),
+ /* 343 S> */ B(LdaNamedProperty), R(this), U8(4), U8(16),
+ B(Star), R(1),
+ B(LdaSmi), I8(1),
+ B(Star), R(3),
+ B(LdaSmi), I8(2),
+ B(Star), R(4),
+ B(LdaSmi), I8(3),
+ B(Star), R(5),
+ B(LdaSmi), I8(4),
+ B(Star), R(6),
+ B(Mov), R(this), R(2),
+ /* 343 E> */ B(CallProperty), R(1), R(2), U8(5), U8(18),
+ /* 372 S> */ B(LdaNamedProperty), R(this), U8(5), U8(20),
+ B(Star), R(1),
+ B(LdaSmi), I8(1),
+ B(Star), R(3),
+ B(LdaSmi), I8(2),
+ B(Star), R(4),
+ B(LdaSmi), I8(3),
+ B(Star), R(5),
+ B(LdaSmi), I8(4),
+ B(Star), R(6),
+ B(LdaSmi), I8(5),
+ B(Star), R(7),
+ B(Mov), R(this), R(2),
+ /* 372 E> */ B(CallProperty), R(1), R(2), U8(6), U8(22),
+ /* 416 S> */ B(LdaNamedProperty), R(0), U8(6), U8(24),
+ /* 423 S> */ B(Return),
+]
+constant pool: [
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["f0"],
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["f1"],
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["f2"],
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["f3"],
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["f4"],
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["f5"],
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["callee"],
+]
+handlers: [
+]
+
+---
+snippet: "
+
+ function f0() {}
+ function f1(a) {}
+ function f2(a, b) {}
+ function f3(a, b, c) {}
+ function f4(a, b, c, d) {}
+ function f5(a, b, c, d, e) {}
+ (function() {
+ f0();
+ f1(1);
+ f2(1, 2);
+ f3(1, 2, 3);
+ f4(1, 2, 3, 4);
+ f5(1, 2, 3, 4, 5);
+ return arguments.callee;
+ })();
+
+"
+frame size: 7
+parameter count: 1
+bytecode array length: 126
+bytecodes: [
+ B(CreateMappedArguments),
+ B(Star), R(0),
+ /* 189 E> */ B(StackCheck),
+ /* 202 S> */ B(LdaGlobal), U8(0), U8(0),
+ B(Star), R(1),
+ /* 202 E> */ B(CallUndefinedReceiver0), R(1), U8(2),
+ /* 216 S> */ B(LdaGlobal), U8(1), U8(4),
+ B(Star), R(1),
+ B(LdaSmi), I8(1),
+ B(Star), R(2),
+ /* 216 E> */ B(CallUndefinedReceiver1), R(1), R(2), U8(6),
+ /* 231 S> */ B(LdaGlobal), U8(2), U8(8),
+ B(Star), R(1),
+ B(LdaSmi), I8(1),
+ B(Star), R(2),
+ B(LdaSmi), I8(2),
+ B(Star), R(3),
+ /* 231 E> */ B(CallUndefinedReceiver2), R(1), R(2), R(3), U8(10),
+ /* 249 S> */ B(LdaGlobal), U8(3), U8(12),
+ B(Star), R(1),
+ B(LdaSmi), I8(1),
+ B(Star), R(2),
+ B(LdaSmi), I8(2),
+ B(Star), R(3),
+ B(LdaSmi), I8(3),
+ B(Star), R(4),
+ /* 249 E> */ B(CallUndefinedReceiver), R(1), R(2), U8(3), U8(14),
+ /* 270 S> */ B(LdaGlobal), U8(4), U8(16),
+ B(Star), R(1),
+ B(LdaSmi), I8(1),
+ B(Star), R(2),
+ B(LdaSmi), I8(2),
+ B(Star), R(3),
+ B(LdaSmi), I8(3),
+ B(Star), R(4),
+ B(LdaSmi), I8(4),
+ B(Star), R(5),
+ /* 270 E> */ B(CallUndefinedReceiver), R(1), R(2), U8(4), U8(18),
+ /* 294 S> */ B(LdaGlobal), U8(5), U8(20),
+ B(Star), R(1),
+ B(LdaSmi), I8(1),
+ B(Star), R(2),
+ B(LdaSmi), I8(2),
+ B(Star), R(3),
+ B(LdaSmi), I8(3),
+ B(Star), R(4),
+ B(LdaSmi), I8(4),
+ B(Star), R(5),
+ B(LdaSmi), I8(5),
+ B(Star), R(6),
+ /* 294 E> */ B(CallUndefinedReceiver), R(1), R(2), U8(5), U8(22),
+ /* 338 S> */ B(LdaNamedProperty), R(0), U8(6), U8(24),
+ /* 345 S> */ B(Return),
+]
+constant pool: [
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["f0"],
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["f1"],
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["f2"],
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["f3"],
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["f4"],
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["f5"],
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["callee"],
+]
+handlers: [
+]
+