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

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

Issue 2302013002: Store the scope info in catch contexts (Closed)
Patch Set: updates Created 4 years, 3 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/TryCatch.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/TryCatch.golden b/test/cctest/interpreter/bytecode_expectations/TryCatch.golden
index 17d4ef0fd40f25f85152e7d3d5ba130105ceee15..eff74e6296904aafdb3992e4362974baaeb0f7dd 100644
--- a/test/cctest/interpreter/bytecode_expectations/TryCatch.golden
+++ b/test/cctest/interpreter/bytecode_expectations/TryCatch.golden
@@ -3,7 +3,7 @@
#
---
-pool type: string
+pool type: mixed
execute: yes
wrap: yes
@@ -13,16 +13,16 @@ snippet: "
"
frame size: 3
parameter count: 1
-bytecode array length: 34
+bytecode array length: 35
bytecodes: [
/* 30 E> */ B(StackCheck),
B(Mov), R(context), R(1),
/* 40 S> */ B(LdaSmi), U8(1),
/* 75 S> */ B(Return),
- B(Jump), U8(25),
+ B(Jump), U8(26),
B(Star), R(2),
B(Ldar), R(closure),
- B(CreateCatchContext), R(2), U8(0),
+ B(CreateCatchContext), R(2), U8(0), U8(1),
B(Star), R(1),
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
B(Ldar), R(1),
@@ -34,7 +34,8 @@ bytecodes: [
/* 75 S> */ B(Return),
]
constant pool: [
- "e",
+ InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
+ InstanceType::FIXED_ARRAY_TYPE,
]
handlers: [
[4, 7, 9],
@@ -48,16 +49,16 @@ snippet: "
"
frame size: 4
parameter count: 1
-bytecode array length: 65
+bytecode array length: 67
bytecodes: [
/* 30 E> */ B(StackCheck),
B(Mov), R(context), R(2),
/* 47 S> */ B(LdaSmi), U8(1),
B(Star), R(0),
- B(Jump), U8(22),
+ B(Jump), U8(23),
B(Star), R(3),
B(Ldar), R(closure),
- /* 49 E> */ B(CreateCatchContext), R(3), U8(0),
+ /* 49 E> */ B(CreateCatchContext), R(3), U8(0), U8(1),
B(Star), R(2),
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
B(Ldar), R(2),
@@ -66,10 +67,10 @@ bytecodes: [
B(Mov), R(context), R(2),
/* 75 S> */ B(LdaSmi), U8(2),
B(Star), R(0),
- B(Jump), U8(26),
+ B(Jump), U8(27),
B(Star), R(3),
B(Ldar), R(closure),
- /* 77 E> */ B(CreateCatchContext), R(3), U8(1),
+ /* 77 E> */ B(CreateCatchContext), R(3), U8(2), U8(3),
B(Star), R(2),
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
B(Ldar), R(2),
@@ -81,11 +82,13 @@ bytecodes: [
/* 103 S> */ B(Return),
]
constant pool: [
- "e1",
- "e2",
+ InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
+ InstanceType::FIXED_ARRAY_TYPE,
+ InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
+ InstanceType::FIXED_ARRAY_TYPE,
]
handlers: [
[4, 8, 10],
- [33, 37, 39],
+ [34, 38, 40],
]

Powered by Google App Engine
This is Rietveld 408576698