Parameterize XLS with a register abi descriptor.
commit132526bdc363b201d0524a2cf8ff5900d4e891ca
authorEdwin Smith <smith@fb.com>
Sat, 7 Dec 2013 14:18:08 +0000 (7 06:18 -0800)
committerSara Golemon <sgolemon@fb.com>
Tue, 10 Dec 2013 17:32:57 +0000 (10 09:32 -0800)
tree2d1ebc959647b57c44da52859492aff3e89f6fe4
parent05650dc744c2a56a0508185e0f629f1040c39632
Parameterize XLS with a register abi descriptor.

Create an Abi POD struct that encapsulates details about the
ABI that the register allocator needs to know.  For now, it's
just what register are available to be allocated and which
ones are callee-saved registers.

Reviewed By: @jdelong

Differential Revision: D1088590
hphp/runtime/base/runtime-option.cpp
hphp/runtime/base/runtime-option.h
hphp/runtime/vm/jit/xls.cpp