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

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

Issue 2201193004: Use Variable::binding_needs_init() to determine hole initialization (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove one more comment Created 4 years, 4 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
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/interpreter/bytecode_expectations/NewTarget.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/NewTarget.golden b/test/cctest/interpreter/bytecode_expectations/NewTarget.golden
index 398b857c1f782474f5387e4963d4d23d069adca7..090fb0bb7a9aeab4447909f1b9c6673f23955898 100644
--- a/test/cctest/interpreter/bytecode_expectations/NewTarget.golden
+++ b/test/cctest/interpreter/bytecode_expectations/NewTarget.golden
@@ -11,21 +11,16 @@ wrap: yes
snippet: "
return new.target;
"
-frame size: 2
+frame size: 1
parameter count: 1
-bytecode array length: 18
+bytecode array length: 7
bytecodes: [
B(Mov), R(new_target), R(0),
/* 30 E> */ B(StackCheck),
- /* 34 S> */ B(Ldar), R(new_target),
- B(JumpIfNotHole), U8(11),
- B(LdaConstant), U8(0),
- B(Star), R(1),
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1),
+ /* 34 S> */ B(Ldar), R(0),
/* 53 S> */ B(Return),
]
constant pool: [
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
]
handlers: [
]
@@ -34,22 +29,16 @@ handlers: [
snippet: "
new.target;
"
-frame size: 2
+frame size: 1
parameter count: 1
-bytecode array length: 19
+bytecode array length: 6
bytecodes: [
B(Mov), R(new_target), R(0),
/* 30 E> */ B(StackCheck),
- /* 34 S> */ B(Ldar), R(new_target),
- B(JumpIfNotHole), U8(11),
- B(LdaConstant), U8(0),
- B(Star), R(1),
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1),
- B(LdaUndefined),
+ /* 34 S> */ B(LdaUndefined),
/* 46 S> */ B(Return),
]
constant pool: [
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
]
handlers: [
]
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698