Consistently define OS_ASMJS and use it in place of __asmjs__.
In build/build_config.h, the #define for OS_ASMJS is inconsistent with the surround OS_* defines. Make it consistent. Then use it in base/numerics/safe_math_shared_impl.h instead of using __asmjs__ directly. Change-Id: Id4605afcbdcff14fa64183eed6be46422c2e4066 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2269764Reviewed-by:Tom Sepez <tsepez@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#783676}
Showing
Please register or sign in to comment