WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
95221
LLInt should not rely on ordering of global labels
https://bugs.webkit.org/show_bug.cgi?id=95221
Summary
LLInt should not rely on ordering of global labels
Filip Pizlo
Reported
2012-08-28 11:23:45 PDT
Some instructions must be distinct in the bytecode for the purpose of subsequent compilation decisions (the loop instructions come to mind) but are identical in the LLInt. Currently we use this pattern: _llint_op_loop: nop _llint_op_jmp: # stuff This makes _llint_op_loop distinct from _llint_op_jmp, except that it also assumes that the linker will lay out jmp right after loop. It will do this on many (all?) platforms, but we should not rely on this, particularly since we're using inline assembly, and so we may be subject to whatever crazy assembly directives the C++ compiler feels like emitting.
Attachments
the patch
(3.77 KB, patch)
2012-08-28 11:25 PDT
,
Filip Pizlo
oliver
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Filip Pizlo
Comment 1
2012-08-28 11:25:49 PDT
Created
attachment 161021
[details]
the patch
Filip Pizlo
Comment 2
2012-08-28 13:45:05 PDT
Landed in
http://trac.webkit.org/changeset/126924
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug