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

Unified Diff: test/cctest/interpreter/bytecode_expectations/Parameters.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/Parameters.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/Parameters.golden b/test/cctest/interpreter/bytecode_expectations/Parameters.golden
index b3c987f296021835ed648b8d27e8846e4e40603c..92e1f4caa5213aff877d5c208d9167dbe3f503fc 100644
--- a/test/cctest/interpreter/bytecode_expectations/Parameters.golden
+++ b/test/cctest/interpreter/bytecode_expectations/Parameters.golden
@@ -101,17 +101,20 @@ snippet: "
function f(arg1) { arg1 = 1; }
f();
"
-frame size: 0
+frame size: 1
parameter count: 2
-bytecode array length: 7
+bytecode array length: 11
bytecodes: [
/* 10 E> */ B(StackCheck),
- /* 19 S> */ B(LdaSmi), I8(1),
+ /* 19 S> */ B(LdaConstant), U8(0),
+ B(Star), R(0),
+ B(LdaSmi), I8(1),
B(Star), R(arg0),
B(LdaUndefined),
/* 29 S> */ B(Return),
]
constant pool: [
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["arg1"],
]
handlers: [
]
@@ -121,17 +124,20 @@ snippet: "
function f(arg1, arg2, arg3, arg4) { arg2 = 1; }
f();
"
-frame size: 0
+frame size: 1
parameter count: 5
-bytecode array length: 7
+bytecode array length: 11
bytecodes: [
/* 10 E> */ B(StackCheck),
- /* 37 S> */ B(LdaSmi), I8(1),
+ /* 37 S> */ B(LdaConstant), U8(0),
+ B(Star), R(0),
+ B(LdaSmi), I8(1),
B(Star), R(arg1),
B(LdaUndefined),
/* 47 S> */ B(Return),
]
constant pool: [
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["arg2"],
]
handlers: [
]

Powered by Google App Engine
This is Rietveld 408576698