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

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

Issue 2038083002: [Interpreter] Add a simple dead-code elimination bytecode optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_jump_writer
Patch Set: Fix tests Created 4 years, 6 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/Throw.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/Throw.golden b/test/cctest/interpreter/bytecode_expectations/Throw.golden
index b16592e67e0c9f6d0e846bbddc4dd54acc684c67..4e7a0bc225efdaa713d37f3d9ff2e8869352e91e 100644
--- a/test/cctest/interpreter/bytecode_expectations/Throw.golden
+++ b/test/cctest/interpreter/bytecode_expectations/Throw.golden
@@ -13,13 +13,11 @@ snippet: "
"
frame size: 0
parameter count: 1
-bytecode array length: 6
+bytecode array length: 4
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 34 S> */ B(LdaSmi), U8(1),
/* 34 E> */ B(Throw),
- B(LdaUndefined),
- /* 43 S> */ B(Return),
]
constant pool: [
]
@@ -32,13 +30,11 @@ snippet: "
"
frame size: 0
parameter count: 1
-bytecode array length: 6
+bytecode array length: 4
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 34 S> */ B(LdaConstant), U8(0),
/* 34 E> */ B(Throw),
- B(LdaUndefined),
- /* 49 S> */ B(Return),
]
constant pool: [
"Error",

Powered by Google App Engine
This is Rietveld 408576698