| Index: test/cctest/interpreter/bytecode_expectations/CallGlobal.golden
|
| diff --git a/test/cctest/interpreter/bytecode_expectations/CallGlobal.golden b/test/cctest/interpreter/bytecode_expectations/CallGlobal.golden
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d985439b745f379408c207a819d15f6f77554bd9
|
| --- /dev/null
|
| +++ b/test/cctest/interpreter/bytecode_expectations/CallGlobal.golden
|
| @@ -0,0 +1,64 @@
|
| +#
|
| +# Autogenerated by generate-bytecode-expectations
|
| +#
|
| +
|
| +---
|
| +pool type: string
|
| +execute: yes
|
| +wrap: no
|
| +test function name: f
|
| +
|
| +---
|
| +snippet: "
|
| + function t() { }
|
| + function f() { return t(); }
|
| + f()
|
| +"
|
| +frame size: 2
|
| +parameter count: 1
|
| +bytecode array length: 15
|
| +bytecodes: [
|
| + B(StackCheck),
|
| + B(LdaUndefined),
|
| + B(Star), R(1),
|
| + B(LdaGlobal), U8(0), U8(3),
|
| + B(Star), R(0),
|
| + B(Call), R(0), R(1), U8(1), U8(1),
|
| + B(Return),
|
| +]
|
| +constant pool: [
|
| + "t",
|
| +]
|
| +handlers: [
|
| +]
|
| +
|
| +---
|
| +snippet: "
|
| + function t(a, b, c) { }
|
| + function f() { return t(1, 2, 3); }
|
| + f()
|
| +"
|
| +frame size: 5
|
| +parameter count: 1
|
| +bytecode array length: 27
|
| +bytecodes: [
|
| + B(StackCheck),
|
| + B(LdaUndefined),
|
| + B(Star), R(1),
|
| + B(LdaGlobal), U8(0), U8(3),
|
| + B(Star), R(0),
|
| + B(LdaSmi8), U8(1),
|
| + B(Star), R(2),
|
| + B(LdaSmi8), U8(2),
|
| + B(Star), R(3),
|
| + B(LdaSmi8), U8(3),
|
| + B(Star), R(4),
|
| + B(Call), R(0), R(1), U8(4), U8(1),
|
| + B(Return),
|
| +]
|
| +constant pool: [
|
| + "t",
|
| +]
|
| +handlers: [
|
| +]
|
| +
|
|
|