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

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

Issue 2677163003: WIP: type profiling. (Closed)
Patch Set: Rebaseline. Created 3 years, 10 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/ArrayLiterals.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/ArrayLiterals.golden b/test/cctest/interpreter/bytecode_expectations/ArrayLiterals.golden
index da9ea93bd90c2019cfd5a179d428ff9723c22c82..d617cae2f08f044fd0b8a9a15024e4ccc52984bd 100644
--- a/test/cctest/interpreter/bytecode_expectations/ArrayLiterals.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ArrayLiterals.golden
@@ -29,25 +29,28 @@ snippet: "
"
frame size: 3
parameter count: 1
-bytecode array length: 35
+bytecode array length: 39
bytecodes: [
/* 30 E> */ B(StackCheck),
- /* 42 S> */ B(LdaSmi), I8(1),
+ /* 42 S> */ B(LdaConstant), U8(0),
+ B(Star), R(1),
+ B(LdaSmi), I8(1),
B(Star), R(0),
- /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(3), U8(9),
+ /* 45 S> */ B(CreateArrayLiteral), U8(1), U8(5), U8(9),
B(Star), R(2),
B(LdaZero),
B(Star), R(1),
B(Ldar), R(0),
- /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(4),
+ /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(6),
B(LdaSmi), I8(1),
B(Star), R(1),
- /* 59 E> */ B(AddSmi), I8(1), R(0), U8(2),
- B(StaKeyedPropertySloppy), R(2), R(1), U8(4),
+ /* 59 E> */ B(AddSmi), I8(1), R(0), U8(4),
+ B(StaKeyedPropertySloppy), R(2), R(1), U8(6),
B(Ldar), R(2),
/* 66 S> */ B(Return),
]
constant pool: [
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
CONSTANT_ELEMENTS_PAIR_TYPE,
]
handlers: [
@@ -77,37 +80,40 @@ snippet: "
"
frame size: 5
parameter count: 1
-bytecode array length: 65
+bytecode array length: 69
bytecodes: [
/* 30 E> */ B(StackCheck),
- /* 42 S> */ B(LdaSmi), I8(1),
+ /* 42 S> */ B(LdaConstant), U8(0),
+ B(Star), R(1),
+ B(LdaSmi), I8(1),
B(Star), R(0),
- /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(9), U8(0),
+ /* 45 S> */ B(CreateArrayLiteral), U8(1), U8(11), U8(0),
B(Star), R(2),
B(LdaZero),
B(Star), R(1),
- B(CreateArrayLiteral), U8(1), U8(2), U8(9),
+ B(CreateArrayLiteral), U8(2), U8(4), U8(9),
B(Star), R(4),
B(LdaZero),
B(Star), R(3),
B(Ldar), R(0),
- /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(3),
+ /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(5),
B(Ldar), R(4),
- B(StaKeyedPropertySloppy), R(2), R(1), U8(10),
+ B(StaKeyedPropertySloppy), R(2), R(1), U8(12),
B(LdaSmi), I8(1),
B(Star), R(1),
- B(CreateArrayLiteral), U8(2), U8(6), U8(9),
+ B(CreateArrayLiteral), U8(3), U8(8), U8(9),
B(Star), R(4),
B(LdaZero),
B(Star), R(3),
- /* 68 E> */ B(AddSmi), I8(2), R(0), U8(5),
- B(StaKeyedPropertySloppy), R(4), R(3), U8(7),
+ /* 68 E> */ B(AddSmi), I8(2), R(0), U8(7),
+ B(StaKeyedPropertySloppy), R(4), R(3), U8(9),
B(Ldar), R(4),
- B(StaKeyedPropertySloppy), R(2), R(1), U8(10),
+ B(StaKeyedPropertySloppy), R(2), R(1), U8(12),
B(Ldar), R(2),
/* 77 S> */ B(Return),
]
constant pool: [
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
CONSTANT_ELEMENTS_PAIR_TYPE,
CONSTANT_ELEMENTS_PAIR_TYPE,
CONSTANT_ELEMENTS_PAIR_TYPE,
« no previous file with comments | « src/runtime/runtime-object.cc ('k') | test/cctest/interpreter/bytecode_expectations/ArrayLiteralsWide.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698