Use folly::StringPiece in a few more places in VariableUnserializer
commit902cbf05e4392f560366f76e10b11c4185e3b17a
authorBrett Simmers <bsimmers@fb.com>
Fri, 6 Jan 2017 21:41:11 +0000 (6 13:41 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 6 Jan 2017 21:51:46 +0000 (6 13:51 -0800)
tree2c46cf343d4ce5ff0f0340eb639ecae72815b481
parent11512ca9952a15a0d4f7db84c1c9eb64f5c94197
Use folly::StringPiece in a few more places in VariableUnserializer

Summary:
These strings are never passed to runtime helpers than need
StringData, so just use a StringPiece that refers directly to the serialized
data.

Reviewed By: markw65

Differential Revision: D4306276

fbshipit-source-id: 134af35263f1af08829b2c0be6f72647ca3d570f
hphp/runtime/base/variable-unserializer.cpp
hphp/runtime/base/variable-unserializer.h