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

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

Issue 2337123003: [turbofan] Collect invocation counts and compute relative call frequencies. (Closed)
Patch Set: Address feedback. Created 4 years, 3 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/CountOperators.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/CountOperators.golden b/test/cctest/interpreter/bytecode_expectations/CountOperators.golden
index e1a5ad1011c26236b6083d7c68d068dd4022583c..960371a477a392b1f3945a161db3fb773651201e 100644
--- a/test/cctest/interpreter/bytecode_expectations/CountOperators.golden
+++ b/test/cctest/interpreter/bytecode_expectations/CountOperators.golden
@@ -17,7 +17,7 @@ bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaSmi), U8(1),
B(Star), R(0),
- /* 45 S> */ B(Inc), U8(1),
+ /* 45 S> */ B(Inc), U8(2),
B(Star), R(0),
/* 57 S> */ B(Return),
]
@@ -38,7 +38,7 @@ bytecodes: [
/* 42 S> */ B(LdaSmi), U8(1),
B(Star), R(0),
/* 45 S> */ B(ToNumber), R(1),
- B(Inc), U8(1),
+ B(Inc), U8(2),
B(Star), R(0),
B(Ldar), R(1),
/* 57 S> */ B(Return),
@@ -59,7 +59,7 @@ bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaSmi), U8(1),
B(Star), R(0),
- /* 45 S> */ B(Dec), U8(1),
+ /* 45 S> */ B(Dec), U8(2),
B(Star), R(0),
/* 57 S> */ B(Return),
]
@@ -80,7 +80,7 @@ bytecodes: [
/* 42 S> */ B(LdaSmi), U8(1),
B(Star), R(0),
/* 45 S> */ B(ToNumber), R(1),
- B(Dec), U8(1),
+ B(Dec), U8(2),
B(Star), R(0),
B(Ldar), R(1),
/* 57 S> */ B(Return),
@@ -101,10 +101,10 @@ bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1),
B(Mov), R(1), R(0),
- /* 54 S> */ B(LdaNamedProperty), R(0), U8(1), U8(1),
+ /* 54 S> */ B(LdaNamedProperty), R(0), U8(1), U8(2),
B(ToNumber), R(2),
- B(Inc), U8(5),
- /* 66 E> */ B(StaNamedPropertySloppy), R(0), U8(1), U8(3),
+ B(Inc), U8(6),
+ /* 66 E> */ B(StaNamedPropertySloppy), R(0), U8(1), U8(4),
B(Ldar), R(2),
/* 70 S> */ B(Return),
]
@@ -126,9 +126,9 @@ bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1),
B(Mov), R(1), R(0),
- /* 54 S> */ B(LdaNamedProperty), R(0), U8(1), U8(1),
- B(Dec), U8(5),
- /* 65 E> */ B(StaNamedPropertySloppy), R(0), U8(1), U8(3),
+ /* 54 S> */ B(LdaNamedProperty), R(0), U8(1), U8(2),
+ B(Dec), U8(6),
+ /* 65 E> */ B(StaNamedPropertySloppy), R(0), U8(1), U8(4),
/* 70 S> */ B(Return),
]
constant pool: [
@@ -152,10 +152,10 @@ bytecodes: [
/* 60 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1), R(2),
B(Mov), R(2), R(1),
/* 72 S> */ B(Ldar), R(0),
- /* 81 E> */ B(LdaKeyedProperty), R(1), U8(1),
+ /* 81 E> */ B(LdaKeyedProperty), R(1), U8(2),
B(ToNumber), R(4),
- B(Dec), U8(5),
- /* 86 E> */ B(StaKeyedPropertySloppy), R(1), R(0), U8(3),
+ B(Dec), U8(6),
+ /* 86 E> */ B(StaKeyedPropertySloppy), R(1), R(0), U8(4),
B(Ldar), R(4),
/* 90 S> */ B(Return),
]
@@ -180,9 +180,9 @@ bytecodes: [
/* 60 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1), R(2),
B(Mov), R(2), R(1),
/* 72 S> */ B(Ldar), R(0),
- /* 83 E> */ B(LdaKeyedProperty), R(1), U8(1),
- B(Inc), U8(5),
- /* 87 E> */ B(StaKeyedPropertySloppy), R(1), R(0), U8(3),
+ /* 83 E> */ B(LdaKeyedProperty), R(1), U8(2),
+ B(Inc), U8(6),
+ /* 87 E> */ B(StaKeyedPropertySloppy), R(1), R(0), U8(4),
/* 90 S> */ B(Return),
]
constant pool: [
@@ -208,7 +208,7 @@ bytecodes: [
/* 53 S> */ B(CreateClosure), U8(0), U8(2),
B(Star), R(0),
/* 78 S> */ B(LdaContextSlot), R(context), U8(4), U8(0),
- B(Inc), U8(1),
+ B(Inc), U8(2),
/* 87 E> */ B(StaContextSlot), R(context), U8(4), U8(0),
/* 90 S> */ B(Return),
]
@@ -235,7 +235,7 @@ bytecodes: [
B(Star), R(0),
/* 78 S> */ B(LdaContextSlot), R(context), U8(4), U8(0),
B(ToNumber), R(2),
- B(Dec), U8(1),
+ B(Dec), U8(2),
/* 86 E> */ B(StaContextSlot), R(context), U8(4), U8(0),
B(Ldar), R(2),
/* 90 S> */ B(Return),
@@ -261,10 +261,10 @@ bytecodes: [
B(Star), R(1),
/* 63 S> */ B(Ldar), R(0),
B(ToNumber), R(3),
- B(Inc), U8(1),
+ B(Inc), U8(2),
B(Star), R(0),
B(LdaSmi), U8(2),
- /* 79 E> */ B(StaKeyedPropertySloppy), R(1), R(3), U8(2),
+ /* 79 E> */ B(StaKeyedPropertySloppy), R(1), R(3), U8(3),
/* 84 S> */ B(Return),
]
constant pool: [

Powered by Google App Engine
This is Rietveld 408576698