Using hhvm branch

375 views
Skip to first unread message

Eric Caspole

unread,
Mar 27, 2012, 11:01:15 AM3/27/12
to hiphop-...@googlegroups.com
Has anyone ever tried the HHVM branch?

Taking the standard bench.php as an example, I can do

~/views/hhvm/hiphop-php/src/hphp/hphp --target hhbc bench.php -o bench

and get it to emit the bytecode into a file in the bench/ dir. I thought doing "--target hhbc --format binary" would be the right way to emit the HHVM application. But doing

~/views/hhvm/hiphop-php/src/hphp/hphp --target hhbc --format binary /home/ecaspole/drachma-backup/bench.php -o b2

I get an assert

not implemented: /home/ecaspole/views/hhvm/hiphop-php/src/compiler/analysis/emitter.cpp:4711 emitHHBCVisitor

Is this the right way to emit an HHVM application? Is it even possible to do so on the current hhvm branch?
Thanks,
Eric

Reply all
Reply to author
Forward
0 new messages