[Fix/hphpi] Constants need to be entered into ClassInfo in the correct order
commit7cd794cbea41a8fe2b81a189a5bae806a4fed87c
authormwilliams <mwilliams@fb.com>
Tue, 27 Sep 2011 21:13:56 +0000 (27 14:13 -0700)
committermacvicar <macvicar@fb.com>
Mon, 17 Oct 2011 23:53:12 +0000 (17 16:53 -0700)
tree279802c8b5e133edd8b26b410ca2f97486d4f6d5
parentbd7acf0bbaa8ed887b68818da9281a692493a22a
[Fix/hphpi] Constants need to be entered into ClassInfo in the correct order

Summary: We were iterating over the hash_map, which has an unspecified order.
Use the vector of names instead (which is in declaration order).

Test Plan: fast_tests slow_tests

Reviewers: myang, qigao

Reviewed By: qigao

CC: ps, mwilliams, qigao
Differential Revision: 334104

Task ID: 734291
src/runtime/eval/ast/class_statement.cpp