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

Unified Diff: test/cctest/interpreter/bytecode_expectations/TryFinally.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/TryFinally.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/TryFinally.golden b/test/cctest/interpreter/bytecode_expectations/TryFinally.golden
index eaad3bb8bbf7246f4f30ef1eb308c8b4fa90e7c3..6ea4e5138d742a91fd5da326addf27f09c8fc02d 100644
--- a/test/cctest/interpreter/bytecode_expectations/TryFinally.golden
+++ b/test/cctest/interpreter/bytecode_expectations/TryFinally.golden
@@ -10,15 +10,19 @@ snippet: "
var a = 1;
try { a = 2; } finally { a = 3; }
"
-frame size: 4
+frame size: 5
parameter count: 1
-bytecode array length: 47
+bytecode array length: 59
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),
B(Mov), R(context), R(3),
- /* 51 S> */ B(LdaSmi), I8(2),
+ /* 51 S> */ B(LdaConstant), U8(0),
+ B(Star), R(4),
+ B(LdaSmi), I8(2),
B(Star), R(0),
B(LdaSmi), I8(-1),
B(Star), R(1),
@@ -29,7 +33,9 @@ bytecodes: [
B(LdaTheHole),
/* 53 E> */ B(SetPendingMessage),
B(Star), R(3),
- /* 70 S> */ B(LdaSmi), I8(3),
+ /* 70 S> */ B(LdaConstant), U8(0),
+ B(Star), R(4),
+ B(LdaSmi), I8(3),
B(Star), R(0),
B(Ldar), R(3),
/* 72 E> */ B(SetPendingMessage),
@@ -43,9 +49,10 @@ bytecodes: [
/* 79 S> */ B(Return),
]
constant pool: [
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
]
handlers: [
- [8, 12, 18],
+ [12, 20, 26],
]
---
@@ -55,25 +62,31 @@ snippet: "
"
frame size: 7
parameter count: 1
-bytecode array length: 74
+bytecode array length: 90
bytecodes: [
/* 30 E> */ B(StackCheck),
- /* 42 S> */ B(LdaSmi), I8(1),
+ /* 42 S> */ B(LdaConstant), U8(0),
+ B(Star), R(2),
+ B(LdaSmi), I8(1),
B(Star), R(0),
B(Mov), R(context), R(4),
B(Mov), R(context), R(5),
- /* 51 S> */ B(LdaSmi), I8(2),
+ /* 51 S> */ B(LdaConstant), U8(0),
+ B(Star), R(6),
+ B(LdaSmi), I8(2),
B(Star), R(0),
- B(Jump), U8(24),
+ B(Jump), U8(28),
B(Star), R(6),
B(Ldar), R(closure),
- /* 53 E> */ B(CreateCatchContext), R(6), U8(0), U8(1),
+ /* 53 E> */ B(CreateCatchContext), R(6), U8(1), U8(2),
B(Star), R(5),
B(LdaTheHole),
B(SetPendingMessage),
B(Ldar), R(5),
B(PushContext), R(1),
- /* 71 S> */ B(LdaSmi), I8(20),
+ /* 71 S> */ B(LdaConstant), U8(0),
+ B(Star), R(6),
+ B(LdaSmi), I8(20),
B(Star), R(0),
B(PopContext), R(1),
B(LdaSmi), I8(-1),
@@ -85,7 +98,9 @@ bytecodes: [
B(LdaTheHole),
/* 73 E> */ B(SetPendingMessage),
B(Star), R(4),
- /* 90 S> */ B(LdaSmi), I8(3),
+ /* 90 S> */ B(LdaConstant), U8(0),
+ B(Star), R(5),
+ B(LdaSmi), I8(3),
B(Star), R(0),
B(Ldar), R(4),
/* 92 E> */ B(SetPendingMessage),
@@ -99,12 +114,13 @@ bytecodes: [
/* 99 S> */ B(Return),
]
constant pool: [
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["e"],
FIXED_ARRAY_TYPE,
]
handlers: [
- [8, 39, 45],
- [11, 15, 17],
+ [12, 51, 57],
+ [15, 23, 25],
]
---
@@ -115,36 +131,42 @@ snippet: "
"
frame size: 8
parameter count: 1
-bytecode array length: 97
+bytecode array length: 113
bytecodes: [
/* 30 E> */ B(StackCheck),
B(Mov), R(context), R(4),
B(Mov), R(context), R(5),
B(Mov), R(context), R(6),
- /* 55 S> */ B(LdaSmi), I8(1),
+ /* 55 S> */ B(LdaConstant), U8(0),
+ B(Star), R(7),
+ B(LdaSmi), I8(1),
B(Star), R(0),
- B(Jump), U8(24),
+ B(Jump), U8(28),
B(Star), R(7),
B(Ldar), R(closure),
- /* 57 E> */ B(CreateCatchContext), R(7), U8(0), U8(1),
+ /* 57 E> */ B(CreateCatchContext), R(7), U8(1), U8(2),
B(Star), R(6),
B(LdaTheHole),
B(SetPendingMessage),
B(Ldar), R(6),
B(PushContext), R(1),
- /* 74 S> */ B(LdaSmi), I8(2),
+ /* 74 S> */ B(LdaConstant), U8(0),
+ B(Star), R(7),
+ B(LdaSmi), I8(2),
B(Star), R(0),
B(PopContext), R(1),
- B(Jump), U8(24),
+ B(Jump), U8(28),
B(Star), R(6),
B(Ldar), R(closure),
- /* 76 E> */ B(CreateCatchContext), R(6), U8(0), U8(2),
+ /* 76 E> */ B(CreateCatchContext), R(6), U8(1), U8(3),
B(Star), R(5),
B(LdaTheHole),
B(SetPendingMessage),
B(Ldar), R(5),
B(PushContext), R(1),
- /* 95 S> */ B(LdaSmi), I8(20),
+ /* 95 S> */ B(LdaConstant), U8(0),
+ B(Star), R(6),
+ B(LdaSmi), I8(20),
B(Star), R(0),
B(PopContext), R(1),
B(LdaSmi), I8(-1),
@@ -156,7 +178,9 @@ bytecodes: [
B(LdaTheHole),
/* 97 E> */ B(SetPendingMessage),
B(Star), R(4),
- /* 114 S> */ B(LdaSmi), I8(3),
+ /* 114 S> */ B(LdaConstant), U8(0),
+ B(Star), R(5),
+ B(LdaSmi), I8(3),
B(Star), R(0),
B(Ldar), R(4),
/* 116 E> */ B(SetPendingMessage),
@@ -170,13 +194,14 @@ bytecodes: [
/* 123 S> */ B(Return),
]
constant pool: [
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["e"],
FIXED_ARRAY_TYPE,
FIXED_ARRAY_TYPE,
]
handlers: [
- [4, 62, 68],
- [7, 38, 40],
- [10, 14, 16],
+ [4, 74, 80],
+ [7, 46, 48],
+ [10, 18, 20],
]

Powered by Google App Engine
This is Rietveld 408576698