archives

« Bugzilla Issues Index

#1593 — 11.2.3: Different ArgumentListEvaluation semantics in EvaluateMethodCall compared to EvaluateCall


(rev16)

ArgumentListEvaluation inside EvaluateMethodCall leads to different results when compared to EvaluateCall.

test case:
---
var f = function() { print("call") };
var o = {get m() { print("get m"); return f }};
var arg = {valueOf: function() { print("valueOf") }};
o.m(+arg);
---

Output in rev15:
---
get m
valueOf
call
---

Output in rev16:
---
valueOf
get m
call
---


Related: http://code.google.com/p/v8/issues/detail?id=691


[[Invoke]] and EvaluateMethodCall has been removed, resolve as WONTFIX?


EvaluateMethodCall has gone away with [[Invoke]]