| Index: test/cctest/interpreter/bytecode_expectations/Generators.golden
|
| diff --git a/test/cctest/interpreter/bytecode_expectations/Generators.golden b/test/cctest/interpreter/bytecode_expectations/Generators.golden
|
| index cdaa56649421c0d17539aeac279e636714b8b3db..d66aa28dcdd4fedb319de5115aaa99edb1e30aa6 100644
|
| --- a/test/cctest/interpreter/bytecode_expectations/Generators.golden
|
| +++ b/test/cctest/interpreter/bytecode_expectations/Generators.golden
|
| @@ -35,13 +35,13 @@
|
| B(StaCurrentContextSlot), U8(4),
|
| /* 11 E> */ B(StackCheck),
|
| B(Mov), R(context), R(5),
|
| - B(LdaImmutableCurrentContextSlot), U8(4),
|
| + B(LdaCurrentContextSlot), U8(4),
|
| B(Star), R(7),
|
| B(Mov), R(closure), R(6),
|
| /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8(2),
|
| B(StaCurrentContextSlot), U8(5),
|
| B(Star), R(6),
|
| - B(LdaImmutableCurrentContextSlot), U8(5),
|
| + B(LdaCurrentContextSlot), U8(5),
|
| B(Star), R(7),
|
| B(LdaZero),
|
| B(SuspendGenerator), R(7),
|
| @@ -88,7 +88,7 @@
|
| B(LdaTheHole),
|
| B(SetPendingMessage),
|
| B(Star), R(5),
|
| - B(LdaImmutableCurrentContextSlot), U8(5),
|
| + B(LdaCurrentContextSlot), U8(5),
|
| B(Star), R(6),
|
| B(CallRuntime), U16(Runtime::k_GeneratorClose), R(6), U8(1),
|
| B(Ldar), R(5),
|
| @@ -150,13 +150,13 @@
|
| B(StaCurrentContextSlot), U8(4),
|
| /* 11 E> */ B(StackCheck),
|
| B(Mov), R(context), R(5),
|
| - B(LdaImmutableCurrentContextSlot), U8(4),
|
| + B(LdaCurrentContextSlot), U8(4),
|
| B(Star), R(7),
|
| B(Mov), R(closure), R(6),
|
| /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8(2),
|
| B(StaCurrentContextSlot), U8(5),
|
| B(Star), R(6),
|
| - B(LdaImmutableCurrentContextSlot), U8(5),
|
| + B(LdaCurrentContextSlot), U8(5),
|
| B(Star), R(7),
|
| B(LdaZero),
|
| B(SuspendGenerator), R(7),
|
| @@ -191,7 +191,7 @@
|
| B(Star), R(7),
|
| B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(6), U8(2),
|
| B(Star), R(6),
|
| - B(LdaImmutableCurrentContextSlot), U8(5),
|
| + B(LdaCurrentContextSlot), U8(5),
|
| B(Star), R(7),
|
| B(LdaSmi), I8(1),
|
| B(SuspendGenerator), R(7),
|
| @@ -238,7 +238,7 @@
|
| B(LdaTheHole),
|
| B(SetPendingMessage),
|
| B(Star), R(5),
|
| - B(LdaImmutableCurrentContextSlot), U8(5),
|
| + B(LdaCurrentContextSlot), U8(5),
|
| B(Star), R(6),
|
| B(CallRuntime), U16(Runtime::k_GeneratorClose), R(6), U8(1),
|
| B(Ldar), R(5),
|
| @@ -305,13 +305,13 @@
|
| B(StaCurrentContextSlot), U8(4),
|
| /* 11 E> */ B(StackCheck),
|
| B(Mov), R(context), R(7),
|
| - B(LdaImmutableCurrentContextSlot), U8(4),
|
| + B(LdaCurrentContextSlot), U8(4),
|
| B(Star), R(9),
|
| B(Mov), R(closure), R(8),
|
| /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(8), U8(2),
|
| B(StaCurrentContextSlot), U8(5),
|
| B(Star), R(8),
|
| - B(LdaImmutableCurrentContextSlot), U8(5),
|
| + B(LdaCurrentContextSlot), U8(5),
|
| B(Star), R(9),
|
| B(LdaZero),
|
| B(SuspendGenerator), R(9),
|
| @@ -399,13 +399,13 @@
|
| B(StaCurrentContextSlot), U8(4),
|
| B(LdaContextSlot), R(1), U8(6), U8(0),
|
| B(StaCurrentContextSlot), U8(4),
|
| - /* 36 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
|
| + /* 36 S> */ B(LdaCurrentContextSlot), U8(4),
|
| B(Star), R(12),
|
| B(LdaFalse),
|
| B(Star), R(13),
|
| B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12), U8(2),
|
| B(Star), R(12),
|
| - B(LdaImmutableContextSlot), R(1), U8(5), U8(0),
|
| + B(LdaContextSlot), R(1), U8(5), U8(0),
|
| B(Star), R(13),
|
| B(LdaSmi), I8(1),
|
| B(SuspendGenerator), R(13),
|
| @@ -457,7 +457,7 @@
|
| B(JumpIfFalse), U8(8),
|
| B(LdaSmi), I8(1),
|
| B(StaContextSlot), R(1), U8(9), U8(0),
|
| - B(LdaImmutableCurrentContextSlot), U8(4),
|
| + B(LdaCurrentContextSlot), U8(4),
|
| B(Star), R(12),
|
| B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1),
|
| B(PopContext), R(2),
|
| @@ -573,7 +573,7 @@
|
| B(LdaTheHole),
|
| B(SetPendingMessage),
|
| B(Star), R(7),
|
| - B(LdaImmutableCurrentContextSlot), U8(5),
|
| + B(LdaCurrentContextSlot), U8(5),
|
| B(Star), R(8),
|
| B(CallRuntime), U16(Runtime::k_GeneratorClose), R(8), U8(1),
|
| B(Ldar), R(7),
|
|
|