| 2375 | } |
| 2376 | |
| 2377 | virtual Promise* poolAppendPromise(Promise* value) |
| 2378 | { |
| 2379 | Promise* p = poolPromise(&c, c.constantCount); |
| 2380 | |
| 2381 | ConstantPoolNode* constant = new (c.zone) ConstantPoolNode(value); |
| 2382 | |
| 2383 | if (c.firstConstant) { |
| 2384 | c.lastConstant->next = constant; |
| 2385 | } else { |
| 2386 | c.firstConstant = constant; |
| 2387 | } |
| 2388 | c.lastConstant = constant; |
| 2389 | ++c.constantCount; |
| 2390 | |
| 2391 | return p; |
| 2392 | } |
| 2393 | |
| 2394 | virtual ir::Value* constant(int64_t value, ir::Type type) |
| 2395 | { |
no test coverage detected