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

Unified Diff: test/cctest/interpreter/bytecode_expectations/CreateRestParameter.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/CreateRestParameter.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/CreateRestParameter.golden b/test/cctest/interpreter/bytecode_expectations/CreateRestParameter.golden
index 2abe2d802221d0fc29c25e8cebf8734d454955ac..977aa40d4e905d339762a74c8b906226297303b2 100644
--- a/test/cctest/interpreter/bytecode_expectations/CreateRestParameter.golden
+++ b/test/cctest/interpreter/bytecode_expectations/CreateRestParameter.golden
@@ -31,20 +31,23 @@ snippet: "
function f(a, ...restArgs) { return restArgs; }
f();
"
-frame size: 2
+frame size: 3
parameter count: 2
-bytecode array length: 13
+bytecode array length: 17
bytecodes: [
B(CreateRestParameter),
B(Star), R(0),
B(LdaTheHole),
B(Star), R(1),
/* 10 E> */ B(StackCheck),
+ B(LdaConstant), U8(0),
+ B(Star), R(2),
B(Mov), R(arg0), R(1),
/* 29 S> */ B(Ldar), R(0),
/* 46 S> */ B(Return),
]
constant pool: [
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
]
handlers: [
]
@@ -54,21 +57,24 @@ snippet: "
function f(a, ...restArgs) { return restArgs[0]; }
f();
"
-frame size: 2
+frame size: 3
parameter count: 2
-bytecode array length: 15
+bytecode array length: 19
bytecodes: [
B(CreateRestParameter),
B(Star), R(0),
B(LdaTheHole),
B(Star), R(1),
/* 10 E> */ B(StackCheck),
+ B(LdaConstant), U8(0),
+ B(Star), R(2),
B(Mov), R(arg0), R(1),
/* 29 S> */ B(LdaZero),
- /* 44 E> */ B(LdaKeyedProperty), R(0), U8(2),
+ /* 44 E> */ B(LdaKeyedProperty), R(0), U8(4),
/* 49 S> */ B(Return),
]
constant pool: [
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
]
handlers: [
]
@@ -80,7 +86,7 @@ snippet: "
"
frame size: 4
parameter count: 2
-bytecode array length: 27
+bytecode array length: 31
bytecodes: [
B(CreateUnmappedArguments),
B(Star), R(2),
@@ -89,16 +95,19 @@ bytecodes: [
B(LdaTheHole),
B(Star), R(1),
/* 10 E> */ B(StackCheck),
+ B(LdaConstant), U8(0),
+ B(Star), R(3),
B(Mov), R(arg0), R(1),
/* 29 S> */ B(LdaZero),
- /* 44 E> */ B(LdaKeyedProperty), R(0), U8(2),
+ /* 44 E> */ B(LdaKeyedProperty), R(0), U8(4),
B(Star), R(3),
B(LdaZero),
- /* 59 E> */ B(LdaKeyedProperty), R(2), U8(4),
- /* 48 E> */ B(Add), R(3), U8(6),
+ /* 59 E> */ B(LdaKeyedProperty), R(2), U8(6),
+ /* 48 E> */ B(Add), R(3), U8(8),
/* 64 S> */ B(Return),
]
constant pool: [
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
]
handlers: [
]

Powered by Google App Engine
This is Rietveld 408576698