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

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

Issue 2557173004: [Interpreter] Allocate registers used as call arguments on-demand. (Closed)
Patch Set: Fix release build unused variable Created 4 years 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/PropertyCall.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/PropertyCall.golden b/test/cctest/interpreter/bytecode_expectations/PropertyCall.golden
index a331c352e37dab0794264f9e8778b6acd0ad864c..f0a51af8bd0e040624cd055887a8ee52aee4e61a 100644
--- a/test/cctest/interpreter/bytecode_expectations/PropertyCall.golden
+++ b/test/cctest/interpreter/bytecode_expectations/PropertyCall.golden
@@ -487,3 +487,40 @@ constant pool: [
handlers: [
]
+---
+snippet: "
+ function f(a) { return a.func(1).func(2).func(3); }
+ f(new (function Obj() { this.func = function(a) { return this; }})())
+"
+frame size: 5
+parameter count: 2
+bytecode array length: 55
+bytecodes: [
+ /* 10 E> */ B(StackCheck),
+ /* 16 S> */ B(Nop),
+ /* 24 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(8),
+ B(Star), R(2),
+ B(LdaSmi), U8(1),
+ B(Star), R(4),
+ B(Mov), R(arg0), R(3),
+ /* 25 E> */ B(CallProperty), R(2), R(3), U8(2), U8(6),
+ B(Star), R(2),
+ /* 32 E> */ B(LdaNamedProperty), R(2), U8(0), U8(10),
+ B(Star), R(1),
+ B(LdaSmi), U8(2),
+ B(Star), R(3),
+ /* 33 E> */ B(CallProperty), R(1), R(2), U8(2), U8(4),
+ B(Star), R(1),
+ /* 40 E> */ B(LdaNamedProperty), R(1), U8(0), U8(12),
+ B(Star), R(0),
+ B(LdaSmi), U8(3),
+ B(Star), R(2),
+ /* 41 E> */ B(CallProperty), R(0), R(1), U8(2), U8(2),
+ /* 50 S> */ B(Return),
+]
+constant pool: [
+ ONE_BYTE_INTERNALIZED_STRING_TYPE ["func"],
+]
+handlers: [
+]
+

Powered by Google App Engine
This is Rietveld 408576698