Chromium Code Reviews
DescriptionFix type inference for self-recursive functions
If a self-recursive function calls itself with different argument
types that the ones currently expected the actual recompilation of the
function did not take place. This caused wrong JavaScript code to be
generated.
This change queues the generated JavaScript code to be invalidated to
after compiling the current function so that it itself can be
invalidated correctly.
R=floitsch@google.com, ahe@google.com
BUG=dart:4492
TEST=tests/compiler/dart2js_extra/regress/4492_test.dart
Committed: https://code.google.com/p/dart/source/detail?r=10622
Patch Set 1 #
Total comments: 6
Patch Set 2 : Minor fix #Patch Set 3 : Addressed review comments from ahe@ #Patch Set 4 : Add method for retreiving generated code for dart2js tests #
Messages
Total messages: 3 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||