Index: test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden b/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden |
index 9d764c0ecd695187fb6131980d812584a7986532..fd048e75d95932bd7a2c35d5c426e76175e71cba 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden |
@@ -26,19 +26,19 @@ frame size: 7 |
parameter count: 1 |
bytecode array length: 56 |
bytecodes: [ |
- B(Ldar), R(closure), |
- B(Star), R(0), |
+ B(Mov), R(closure), R(0), |
/* 99 E> */ B(StackCheck), |
- /* 104 S> */ B(Ldar), R(this), |
- B(Star), R(3), |
- /* 111 E> */ B(Ldar), R(0), |
+ /* 104 S> */ B(Nop), |
+ /* 111 E> */ B(Ldar), R(closure), |
+ B(Mov), R(this), R(3), |
B(JumpIfNotHole), U8(11), |
B(LdaConstant), U8(0), |
B(Star), R(6), |
B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), |
B(Star), R(6), |
/* 111 E> */ B(LdaConstant), U8(1), |
- B(LdrKeyedProperty), R(6), U8(3), R(4), |
+ B(LdaKeyedProperty), R(6), U8(3), |
+ B(Star), R(4), |
B(LdaConstant), U8(2), |
B(Star), R(5), |
B(CallRuntime), U16(Runtime::kLoadFromSuper), R(3), U8(3), |
@@ -75,36 +75,37 @@ snippet: " |
" |
frame size: 6 |
parameter count: 1 |
-bytecode array length: 78 |
+bytecode array length: 79 |
bytecodes: [ |
- B(Ldar), R(closure), |
- B(Star), R(0), |
+ B(Mov), R(closure), R(0), |
/* 125 E> */ B(StackCheck), |
- /* 130 S> */ B(Ldar), R(this), |
- B(Star), R(1), |
- /* 130 E> */ B(Ldar), R(0), |
+ /* 130 S> */ B(Nop), |
+ /* 130 E> */ B(Ldar), R(closure), |
+ B(Mov), R(this), R(1), |
B(JumpIfNotHole), U8(11), |
B(LdaConstant), U8(0), |
B(Star), R(5), |
B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), |
B(Star), R(5), |
/* 130 E> */ B(LdaConstant), U8(1), |
- B(LdrKeyedProperty), R(5), U8(1), R(2), |
+ B(LdaKeyedProperty), R(5), U8(1), |
+ B(Star), R(2), |
B(LdaConstant), U8(2), |
B(Star), R(3), |
B(LdaSmi), U8(2), |
/* 138 E> */ B(Star), R(4), |
B(CallRuntime), U16(Runtime::kStoreToSuper_Strict), R(1), U8(4), |
- /* 143 S> */ B(Ldar), R(this), |
- B(Star), R(1), |
+ /* 143 S> */ B(Nop), |
/* 150 E> */ B(Ldar), R(0), |
+ B(Mov), R(this), R(1), |
B(JumpIfNotHole), U8(11), |
B(LdaConstant), U8(0), |
B(Star), R(4), |
B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
B(Star), R(4), |
/* 150 E> */ B(LdaConstant), U8(1), |
- B(LdrKeyedProperty), R(4), U8(3), R(2), |
+ B(LdaKeyedProperty), R(4), U8(3), |
+ B(Star), R(2), |
B(LdaConstant), U8(2), |
B(Star), R(3), |
B(CallRuntime), U16(Runtime::kLoadFromSuper), R(1), U8(3), |
@@ -133,14 +134,12 @@ snippet: " |
" |
frame size: 5 |
parameter count: 1 |
-bytecode array length: 106 |
+bytecode array length: 105 |
bytecodes: [ |
- B(Ldar), R(closure), |
- B(Star), R(1), |
- B(Ldar), R(new_target), |
- B(Star), R(0), |
+ B(Mov), R(closure), R(1), |
+ B(Mov), R(new_target), R(0), |
/* 113 E> */ B(StackCheck), |
- /* 118 S> */ B(Ldar), R(1), |
+ /* 118 S> */ B(Ldar), R(closure), |
B(JumpIfNotHole), U8(11), |
B(LdaConstant), U8(0), |
B(Star), R(3), |
@@ -149,8 +148,8 @@ bytecodes: [ |
B(CallRuntime), U16(Runtime::k_GetSuperConstructor), R(2), U8(1), |
B(Star), R(2), |
B(LdaSmi), U8(1), |
- B(Star), R(3), |
- /* 118 E> */ B(Ldar), R(0), |
+ /* 118 E> */ B(Star), R(3), |
+ B(Ldar), R(0), |
B(JumpIfNotHole), U8(11), |
B(LdaConstant), U8(1), |
B(Star), R(4), |
@@ -163,9 +162,9 @@ bytecodes: [ |
B(LdaConstant), U8(2), |
B(Star), R(3), |
B(CallRuntime), U16(Runtime::kThrowReferenceError), R(3), U8(1), |
- B(Ldar), R(2), |
- B(Star), R(this), |
- /* 128 S> */ B(JumpIfNotHole), U8(11), |
+ B(Mov), R(2), R(this), |
+ /* 128 S> */ B(Ldar), R(this), |
+ B(JumpIfNotHole), U8(11), |
B(LdaConstant), U8(2), |
B(Star), R(2), |
B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), |
@@ -203,22 +202,20 @@ snippet: " |
" |
frame size: 4 |
parameter count: 1 |
-bytecode array length: 102 |
+bytecode array length: 101 |
bytecodes: [ |
- B(Ldar), R(closure), |
- B(Star), R(1), |
- B(Ldar), R(new_target), |
- B(Star), R(0), |
+ B(Mov), R(closure), R(1), |
+ B(Mov), R(new_target), R(0), |
/* 112 E> */ B(StackCheck), |
- /* 117 S> */ B(Ldar), R(1), |
+ /* 117 S> */ B(Ldar), R(closure), |
B(JumpIfNotHole), U8(11), |
B(LdaConstant), U8(0), |
B(Star), R(3), |
B(CallRuntime), U16(Runtime::kThrowReferenceError), R(3), U8(1), |
B(Star), R(2), |
B(CallRuntime), U16(Runtime::k_GetSuperConstructor), R(2), U8(1), |
- B(Star), R(2), |
- /* 117 E> */ B(Ldar), R(0), |
+ /* 117 E> */ B(Star), R(2), |
+ B(Ldar), R(0), |
B(JumpIfNotHole), U8(11), |
B(LdaConstant), U8(1), |
B(Star), R(3), |
@@ -231,9 +228,9 @@ bytecodes: [ |
B(LdaConstant), U8(2), |
B(Star), R(3), |
B(CallRuntime), U16(Runtime::kThrowReferenceError), R(3), U8(1), |
- B(Ldar), R(2), |
- B(Star), R(this), |
- /* 126 S> */ B(JumpIfNotHole), U8(11), |
+ B(Mov), R(2), R(this), |
+ /* 126 S> */ B(Ldar), R(this), |
+ B(JumpIfNotHole), U8(11), |
B(LdaConstant), U8(2), |
B(Star), R(2), |
B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), |