Use aligned version of hash function when safe
commitb925e9ba9b06921153dbce0512a8a3571acb8249
authorBin Liu <binliu@fb.com>
Tue, 9 Dec 2014 05:40:02 +0000 (8 21:40 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Tue, 9 Dec 2014 06:01:55 +0000 (8 22:01 -0800)
treebc8037f0aeeae04bf607d33a584eee06ad1ee38c
parentf55f4f215a1c1a2ba5747c78ba5739940e5d069b
Use aligned version of hash function when safe

Summary: I am assuming that std::string::c_str() and HPHP::String::data() always give aligned addresses.

I don't see a failure. But sandcastle has been postponing some tests for many hours now.

Reviewed By: @markw65

Differential Revision: D1725993

Signature: t1:1725993:1418080027:b7628914ad44582976748d138c53db43ddc48028
hphp/compiler/analysis/emitter.cpp
hphp/compiler/analysis/symbol_table.h
hphp/compiler/code_generator.cpp
hphp/compiler/expression/class_constant_expression.cpp
hphp/compiler/expression/constant_expression.cpp
hphp/compiler/expression/scalar_expression.cpp
hphp/compiler/expression/static_member_expression.cpp
hphp/runtime/base/string-data.cpp
hphp/test/ext/test_util.cpp
hphp/util/functional.h