Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1343)

Unified Diff: test/cctest/interpreter/bytecode_expectations/IfConditions.golden

Issue 1980483003: [es6] Reintroduce the instanceof operator in the backends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Igors comments. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/cctest/interpreter/bytecode_expectations/IfConditions.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/IfConditions.golden b/test/cctest/interpreter/bytecode_expectations/IfConditions.golden
index f50b59f7e289f9a460ad40aa8312e6c18e9b0e1e..2d669703e4b025dcf773ec99e751315c0cbf6827 100644
--- a/test/cctest/interpreter/bytecode_expectations/IfConditions.golden
+++ b/test/cctest/interpreter/bytecode_expectations/IfConditions.golden
@@ -662,127 +662,71 @@ snippet: "
}
f(1, 1);
"
-frame size: 6
+frame size: 1
parameter count: 3
-bytecode array length: 226
+bytecode array length: 107
bytecodes: [
/* 10 E> */ B(StackCheck),
/* 21 S> */ B(Ldar), R(arg0),
- B(Star), R(3),
+ B(Star), R(0),
/* 30 E> */ B(Ldar), R(arg1),
- /* 27 E> */ B(TestEqual), R(3),
+ /* 27 E> */ B(TestEqual), R(0),
B(JumpIfFalse), U8(5),
/* 35 S> */ B(LdaSmi), U8(1),
/* 262 S> */ B(Return),
/* 49 S> */ B(Ldar), R(arg0),
- B(Star), R(3),
+ B(Star), R(0),
/* 59 E> */ B(Ldar), R(arg1),
- /* 55 E> */ B(TestEqualStrict), R(3),
+ /* 55 E> */ B(TestEqualStrict), R(0),
B(JumpIfFalse), U8(5),
/* 64 S> */ B(LdaSmi), U8(1),
/* 262 S> */ B(Return),
/* 78 S> */ B(Ldar), R(arg0),
- B(Star), R(3),
+ B(Star), R(0),
/* 86 E> */ B(Ldar), R(arg1),
- /* 84 E> */ B(TestLessThan), R(3),
+ /* 84 E> */ B(TestLessThan), R(0),
B(JumpIfFalse), U8(5),
/* 91 S> */ B(LdaSmi), U8(1),
/* 262 S> */ B(Return),
/* 105 S> */ B(Ldar), R(arg0),
- B(Star), R(3),
+ B(Star), R(0),
/* 113 E> */ B(Ldar), R(arg1),
- /* 111 E> */ B(TestGreaterThan), R(3),
+ /* 111 E> */ B(TestGreaterThan), R(0),
B(JumpIfFalse), U8(5),
/* 118 S> */ B(LdaSmi), U8(1),
/* 262 S> */ B(Return),
/* 132 S> */ B(Ldar), R(arg0),
- B(Star), R(3),
+ B(Star), R(0),
/* 141 E> */ B(Ldar), R(arg1),
- /* 138 E> */ B(TestLessThanOrEqual), R(3),
+ /* 138 E> */ B(TestLessThanOrEqual), R(0),
B(JumpIfFalse), U8(5),
/* 146 S> */ B(LdaSmi), U8(1),
/* 262 S> */ B(Return),
/* 160 S> */ B(Ldar), R(arg0),
- B(Star), R(3),
+ B(Star), R(0),
/* 169 E> */ B(Ldar), R(arg1),
- /* 166 E> */ B(TestGreaterThanOrEqual), R(3),
+ /* 166 E> */ B(TestGreaterThanOrEqual), R(0),
B(JumpIfFalse), U8(5),
/* 174 S> */ B(LdaSmi), U8(1),
/* 262 S> */ B(Return),
/* 188 S> */ B(Ldar), R(arg0),
- B(Star), R(3),
+ B(Star), R(0),
/* 197 E> */ B(Ldar), R(arg1),
- /* 194 E> */ B(TestIn), R(3),
+ /* 194 E> */ B(TestIn), R(0),
B(JumpIfFalse), U8(5),
/* 202 S> */ B(LdaSmi), U8(1),
/* 262 S> */ B(Return),
/* 216 S> */ B(Ldar), R(arg0),
B(Star), R(0),
/* 233 E> */ B(Ldar), R(arg1),
- B(Star), R(1),
- B(Star), R(3),
- B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(3), U8(1),
- B(JumpIfToBooleanFalse), U8(4),
- B(Jump), U8(16),
- /* 222 S> */ B(LdaSmi), U8(61),
- B(Star), R(3),
- B(LdaConstant), U8(0),
- B(Star), R(4),
- B(CallRuntime), U16(Runtime::kNewTypeError), R(3), U8(2),
- /* 222 E> */ B(Throw),
- B(Ldar), R(1),
- B(Star), R(3),
- /* 222 E> */ B(LdaConstant), U8(1),
- B(KeyedLoadIC), R(3), U8(1),
- B(Star), R(2),
- B(Star), R(3),
- B(LdaUndefined),
- B(TestEqualStrict), R(3),
- B(JumpIfFalse), U8(55),
- B(Ldar), R(1),
- B(TypeOf),
- B(Star), R(3),
- B(LdaConstant), U8(2),
- B(TestEqualStrict), R(3),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(16),
- /* 222 S> */ B(LdaSmi), U8(16),
- B(Star), R(3),
- B(LdaConstant), U8(0),
- B(Star), R(4),
- B(CallRuntime), U16(Runtime::kNewTypeError), R(3), U8(2),
- /* 222 E> */ B(Throw),
- B(CallRuntime), U16(Runtime::k_GetOrdinaryHasInstance), R(0), U8(0),
- B(Star), R(2),
- B(Star), R(3),
- B(Ldar), R(1),
- B(Star), R(4),
- B(Ldar), R(0),
- B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_Call), R(3), U8(3),
- B(Star), R(2),
- B(Jump), U8(23),
- B(Ldar), R(2),
- B(Star), R(3),
- B(Ldar), R(1),
- B(Star), R(4),
- B(Ldar), R(0),
- B(Star), R(5),
- B(CallRuntime), U16(Runtime::k_Call), R(3), U8(3),
- B(LogicalNot),
- B(LogicalNot),
- B(Star), R(2),
- B(Ldar), R(2),
- B(JumpIfToBooleanFalse), U8(5),
+ /* 222 E> */ B(TestInstanceOf), R(0),
+ B(JumpIfFalse), U8(5),
/* 238 S> */ B(LdaSmi), U8(1),
/* 262 S> */ B(Return),
/* 252 S> */ B(LdaZero),
/* 262 S> */ B(Return),
]
constant pool: [
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
- InstanceType::SYMBOL_TYPE,
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
]
handlers: [
]
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/Generators.golden ('k') | test/cctest/interpreter/test-interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698