DescriptionFix inlining of strict mode constructors.
Inlined strict mode functions (that are not called as methods) will get
their receiver reset to undefined. This should not happen when inlining
constructors.
This change also simplifies the test suite to reuse the same closures
into which constructors get inlined and use gc() to force V8 to forget
collected type feedback.
R=vegorov@chromium.org
TEST=mjsunit/compiler/inline-construct
Committed: https://code.google.com/p/v8/source/detail?r=10920
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|