The ARM64 backend could convert Smi to Operand by assigning tagged Smi to immediate filed in Operand class, as below code snippet. Then the immediate field is tagged Smi value, would it cause problem when encoding this operand?
// src\arm64\assember-arm64-inl.h template<> struct ImmediateInitializer<Smi*> { static const bool kIsIntType = false; static inline RelocInfo::Mode rmode_for(Smi* t) { return RelocInfo::NONE; } static inline int64_t immediate_for(Smi* t) {; return reinterpret_cast<int64_t>(t); } }; -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.