paul99/v8m-rb — comment on commit bf59adf741776f2802fcdb45a0bda1a96f8c6b13
File: src/serialize.cc line 757
By paul99:

Can you not use Assembler::kInstructionsFor32BitConstant here, rather than magic number 3?

If that file is not included, how about moving the constant to constants-mips.h. Maybe it would be available (for all usages) from that file.

Also, do you think it makes sense to create a constant in all arch to describe this, so that other arch get 0, and we get -12 or whatever? I'm not feeling good about adding this const to other arch (which would then be done in the previous commit), but I also know that google doesn't like these ifdefs in the code any more than necessary.