forked from facebook/hhvm
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] Only optimize dynamicNamedCall when its known to be dynamic
Summary: There was a small optimization for the case of a dynamic call through a derived-from-redeclared class. But its only valid when the call is known to be dynamic. The objCall flag is used to indicate dynamic (>0) possibly-dynamic (<0), and static (0), but we were just testing for non-zero. Replace with a test for >0 instead. Test Plan: fast_tests slow_tests Reviewers: myang, kma Reviewed By: myang CC: ps, mwilliams, myang Differential Revision: 342326
- Loading branch information
mwilliams
authored and
macvicar
committed
Oct 18, 2011
1 parent
3c4b4b6
commit 680a86e
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters