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

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

Issue 2286273002: [interpreter] Make the comparison bytecode handlers collect type feedback. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix. Created 4 years, 4 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 c375fb1e1e6e57560b35ef68d32ab47cb98fd87c..901c488d187e53d7594acb6bb5921128d8b512b3 100644
--- a/test/cctest/interpreter/bytecode_expectations/IfConditions.golden
+++ b/test/cctest/interpreter/bytecode_expectations/IfConditions.golden
@@ -149,11 +149,11 @@ snippet: "
"
frame size: 0
parameter count: 2
-bytecode array length: 18
+bytecode array length: 19
bytecodes: [
/* 10 E> */ B(StackCheck),
/* 18 S> */ B(LdaZero),
- /* 24 E> */ B(TestLessThanOrEqual), R(arg0),
+ /* 24 E> */ B(TestLessThanOrEqual), R(arg0), U8(1),
B(JumpIfFalse), U8(7),
/* 36 S> */ B(Wide), B(LdaSmi), U16(200),
/* 80 S> */ B(Return),
@@ -260,7 +260,7 @@ snippet: "
"
frame size: 2
parameter count: 2
-bytecode array length: 409
+bytecode array length: 410
bytecodes: [
/* 10 E> */ B(StackCheck),
/* 24 S> */ B(LdaZero),
@@ -268,7 +268,7 @@ bytecodes: [
/* 35 S> */ B(LdaZero),
B(Star), R(1),
/* 38 S> */ B(LdaConstant), U8(0),
- /* 44 E> */ B(TestEqualStrict), R(0),
+ /* 44 E> */ B(TestEqualStrict), R(0), U8(1),
B(JumpIfFalseConstant), U8(1),
/* 58 S> */ B(Mov), R(0), R(1),
/* 65 S> */ B(Mov), R(1), R(0),
@@ -654,36 +654,36 @@ snippet: "
"
frame size: 0
parameter count: 3
-bytecode array length: 75
+bytecode array length: 81
bytecodes: [
/* 10 E> */ B(StackCheck),
/* 21 S> */ B(Ldar), R(arg1),
- /* 27 E> */ B(TestEqual), R(arg0),
+ /* 27 E> */ B(TestEqual), R(arg0), U8(1),
B(JumpIfFalse), U8(5),
/* 35 S> */ B(LdaSmi), U8(1),
/* 262 S> */ B(Return),
/* 49 S> */ B(Ldar), R(arg1),
- /* 55 E> */ B(TestEqualStrict), R(arg0),
+ /* 55 E> */ B(TestEqualStrict), R(arg0), U8(2),
B(JumpIfFalse), U8(5),
/* 64 S> */ B(LdaSmi), U8(1),
/* 262 S> */ B(Return),
/* 78 S> */ B(Ldar), R(arg1),
- /* 84 E> */ B(TestLessThan), R(arg0),
+ /* 84 E> */ B(TestLessThan), R(arg0), U8(3),
B(JumpIfFalse), U8(5),
/* 91 S> */ B(LdaSmi), U8(1),
/* 262 S> */ B(Return),
/* 105 S> */ B(Ldar), R(arg1),
- /* 111 E> */ B(TestGreaterThan), R(arg0),
+ /* 111 E> */ B(TestGreaterThan), R(arg0), U8(4),
B(JumpIfFalse), U8(5),
/* 118 S> */ B(LdaSmi), U8(1),
/* 262 S> */ B(Return),
/* 132 S> */ B(Ldar), R(arg1),
- /* 138 E> */ B(TestLessThanOrEqual), R(arg0),
+ /* 138 E> */ B(TestLessThanOrEqual), R(arg0), U8(5),
B(JumpIfFalse), U8(5),
/* 146 S> */ B(LdaSmi), U8(1),
/* 262 S> */ B(Return),
/* 160 S> */ B(Ldar), R(arg1),
- /* 166 E> */ B(TestGreaterThanOrEqual), R(arg0),
+ /* 166 E> */ B(TestGreaterThanOrEqual), R(arg0), U8(6),
B(JumpIfFalse), U8(5),
/* 174 S> */ B(LdaSmi), U8(1),
/* 262 S> */ B(Return),
@@ -752,22 +752,22 @@ snippet: "
"
frame size: 0
parameter count: 3
-bytecode array length: 32
+bytecode array length: 36
bytecodes: [
/* 10 E> */ B(StackCheck),
/* 21 S> */ B(Ldar), R(arg1),
- /* 27 E> */ B(TestEqual), R(arg0),
- B(JumpIfTrue), U8(7),
+ /* 27 E> */ B(TestEqual), R(arg0), U8(1),
+ B(JumpIfTrue), U8(8),
B(LdaZero),
- /* 37 E> */ B(TestLessThan), R(arg0),
+ /* 37 E> */ B(TestLessThan), R(arg0), U8(2),
B(JumpIfFalse), U8(5),
/* 48 S> */ B(LdaSmi), U8(1),
/* 133 S> */ B(Return),
/* 67 S> */ B(LdaZero),
- /* 73 E> */ B(TestGreaterThan), R(arg0),
- B(JumpIfFalse), U8(9),
+ /* 73 E> */ B(TestGreaterThan), R(arg0), U8(3),
+ B(JumpIfFalse), U8(10),
B(LdaZero),
- /* 82 E> */ B(TestGreaterThan), R(arg1),
+ /* 82 E> */ B(TestGreaterThan), R(arg1), U8(4),
B(JumpIfFalse), U8(4),
/* 93 S> */ B(LdaZero),
/* 133 S> */ B(Return),

Powered by Google App Engine
This is Rietveld 408576698