Improve name nodes to ast, teach to parse qualified names, put out flaming tinderbox.

This commit is contained in:
Graydon Hoare
2010-10-04 17:25:52 -07:00
parent 44e4b2d63a
commit 19d0fa107a
3 changed files with 36 additions and 4 deletions

View File

@@ -1006,7 +1006,8 @@ obj builder(BuilderRef B) {
/* Miscellaneous instructions */
fn Phi(TypeRef Ty, vec[ValueRef] vals, vec[BasicBlockRef] bbs) -> ValueRef {
fn Phi(TypeRef Ty, vec[ValueRef] vals,
vec[BasicBlockRef] bbs) -> ValueRef {
auto phi = llvm.LLVMBuildPhi(B, Ty, _str.buf(""));
check (_vec.len[ValueRef](vals) == _vec.len[BasicBlockRef](bbs));
llvm.LLVMAddIncoming(phi,