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

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

Issue 2804813003: [turbofan] Collect and use type feedback on ToNumber. (Closed)
Patch Set: Address Michis feedback. Created 3 years, 8 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/Modules.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/Modules.golden b/test/cctest/interpreter/bytecode_expectations/Modules.golden
index 277d3820095f7c33c36052b8459a7f4cf101d404..8501a627cdd56a6b1e27000c7fd47300bed0b67b 100644
--- a/test/cctest/interpreter/bytecode_expectations/Modules.golden
+++ b/test/cctest/interpreter/bytecode_expectations/Modules.golden
@@ -282,7 +282,7 @@ snippet: "
"
frame size: 10
parameter count: 2
-bytecode array length: 184
+bytecode array length: 185
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(27),
@@ -352,7 +352,7 @@ bytecodes: [
/* 34 S> */ B(LdaUndefined),
/* 34 E> */ B(StaCurrentContextSlot), U8(4),
/* 39 S> */ B(LdaModuleVariable), I8(1), U8(1),
- B(ToNumber), R(4),
+ B(ToNumber), R(4), U8(3),
B(Ldar), R(4),
B(Inc), U8(3),
/* 42 E> */ B(StaModuleVariable), I8(1), U8(1),
@@ -381,7 +381,7 @@ snippet: "
"
frame size: 10
parameter count: 2
-bytecode array length: 188
+bytecode array length: 189
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(27),
@@ -453,7 +453,7 @@ bytecodes: [
/* 34 S> */ B(LdaUndefined),
/* 34 E> */ B(StaCurrentContextSlot), U8(4),
/* 39 S> */ B(LdaModuleVariable), I8(1), U8(1),
- B(ToNumber), R(4),
+ B(ToNumber), R(4), U8(3),
B(Ldar), R(4),
B(Inc), U8(3),
/* 42 E> */ B(StaModuleVariable), I8(1), U8(1),
@@ -482,7 +482,7 @@ snippet: "
"
frame size: 10
parameter count: 2
-bytecode array length: 192
+bytecode array length: 193
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(27),
@@ -554,7 +554,7 @@ bytecodes: [
/* 36 S> */ B(LdaUndefined),
/* 36 E> */ B(StaCurrentContextSlot), U8(4),
/* 41 S> */ B(LdaModuleVariable), I8(1), U8(1),
- B(ToNumber), R(4),
+ B(ToNumber), R(4), U8(3),
B(Ldar), R(4),
B(Inc), U8(3),
/* 44 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0),

Powered by Google App Engine
This is Rietveld 408576698