Use VALUE_FITS_IN_REGISTER instead of hard-coding CPU architectures
Change-Id: I6d5caa6b2cd8e379517d83fdebef46217f79a8d5
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
void storeValue(VM::Value value, Address destination)
{
-#if CPU(X86_64)
+#ifdef VALUE_FITS_IN_REGISTER
storePtr(TrustedImmPtr((void *)value.val), destination);
-#elif CPU(X86)
+#else
store32(TrustedImm32(value.int_32), destination);
destination.offset += 4;
store32(TrustedImm32(value.tag), destination);
-#else
-#error "Missing implementation"
#endif
}