[Armv7] Linkbuffer: executableOffsetFor() fails for location 2
authorguijemont@igalia.com <guijemont@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Jun 2018 17:16:21 +0000 (17:16 +0000)
committerguijemont@igalia.com <guijemont@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Jun 2018 17:16:21 +0000 (17:16 +0000)
commita1cb76b7226d5d596cd2d3b0821966e46a30789d
tree8396ca4cacac8e2f40e5796a6813df5dfd24035f
parentc1519d5fd266accae51efed6060a18527ca0a2d0
[Armv7] Linkbuffer: executableOffsetFor() fails for location 2
https://bugs.webkit.org/show_bug.cgi?id=186765

Reviewed by Michael Saboff.

This widens the check for 0 so that we handle that case more correctly.

* assembler/LinkBuffer.h:
(JSC::LinkBuffer::executableOffsetFor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233015 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/assembler/LinkBuffer.h