Remove return value of Variant::set
commit86f422f482f8160879d3bea7dd69f3f0685c1a17
authorBert Maher <bertrand@fb.com>
Thu, 1 May 2014 01:34:30 +0000 (30 18:34 -0700)
committerJoelMarcey <joelm@fb.com>
Fri, 2 May 2014 16:56:25 +0000 (2 09:56 -0700)
treebded72081931b1dd19b4698982270812ebd5b609
parentda5f5b20ff259aed78fdbf77d9d6e731e393fd9f
Remove return value of Variant::set

Summary: It appears that no one uses the return value, and getting rid of it lets gcc tail-call the destructors, saving a stack frame allocation and thus shrinking the code a bit.

Reviewed By: @jdelong

Differential Revision: D1297838
hphp/runtime/base/concurrent-shared-store.h
hphp/runtime/base/type-variant.cpp
hphp/runtime/base/type-variant.h