- ASSERT(m_technique == Constant);
- return JSValue::decode(m_source.constant);
- }
-
- void dump(PrintStream& out) const
- {
- switch (technique()) {
- case AlreadyInJSStack:
- out.printf("-");
- break;
- case AlreadyInJSStackAsUnboxedInt32:
- out.printf("(int32)");
- break;
- case AlreadyInJSStackAsUnboxedCell:
- out.printf("(cell)");
- break;
- case AlreadyInJSStackAsUnboxedBoolean:
- out.printf("(bool)");
- break;
- case AlreadyInJSStackAsUnboxedDouble:
- out.printf("(double)");
- break;
- case InGPR:
- out.printf("%%r%d", gpr());
- break;
- case UnboxedInt32InGPR:
- out.printf("int32(%%r%d)", gpr());
- break;
- case UnboxedBooleanInGPR:
- out.printf("bool(%%r%d)", gpr());
- break;
- case UInt32InGPR:
- out.printf("uint32(%%r%d)", gpr());
- break;
- case InFPR:
- out.printf("%%fr%d", fpr());
- break;
-#if USE(JSVALUE32_64)
- case InPair:
- out.printf("pair(%%r%d, %%r%d)", tagGPR(), payloadGPR());
- break;
-#endif