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

Unified Diff: test/cctest/interpreter/bytecode_expectations/StringConstants.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/StringConstants.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/StringConstants.golden b/test/cctest/interpreter/bytecode_expectations/StringConstants.golden
index 260153b8e6505f03114345b17a1aef6c06144541..c88e043d9c59f3625636072878dd7d57a7980549 100644
--- a/test/cctest/interpreter/bytecode_expectations/StringConstants.golden
+++ b/test/cctest/interpreter/bytecode_expectations/StringConstants.golden
@@ -27,17 +27,20 @@ handlers: [
snippet: "
var a = \"First string\"; return \"Second string\";
"
-frame size: 1
+frame size: 2
parameter count: 1
-bytecode array length: 8
+bytecode array length: 12
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaConstant), U8(0),
+ B(Star), R(1),
+ B(LdaConstant), U8(1),
B(Star), R(0),
- /* 58 S> */ B(LdaConstant), U8(1),
+ /* 58 S> */ B(LdaConstant), U8(2),
/* 82 S> */ B(Return),
]
constant pool: [
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["First string"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["Second string"],
]
@@ -48,17 +51,20 @@ handlers: [
snippet: "
var a = \"Same string\"; return \"Same string\";
"
-frame size: 1
+frame size: 2
parameter count: 1
-bytecode array length: 8
+bytecode array length: 12
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaConstant), U8(0),
+ B(Star), R(1),
+ B(LdaConstant), U8(1),
B(Star), R(0),
- /* 57 S> */ B(LdaConstant), U8(0),
+ /* 57 S> */ B(LdaConstant), U8(1),
/* 79 S> */ B(Return),
]
constant pool: [
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["Same string"],
]
handlers: [

Powered by Google App Engine
This is Rietveld 408576698