⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 126924 in webkit


Ignore:
Timestamp:
Aug 28, 2012, 1:44:58 PM (14 years ago)
Author:
fpizlo@apple.com
Message:

LLInt should not rely on ordering of global labels
https://bugs.webkit.org/show_bug.cgi?id=95221

Reviewed by Oliver Hunt.

  • llint/LowLevelInterpreter.asm:
  • llint/LowLevelInterpreter32_64.asm:
  • llint/LowLevelInterpreter64.asm:
Location:
trunk/Source/JavaScriptCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r126914 r126924  
     12012-08-28  Filip Pizlo  <fpizlo@apple.com>
     2
     3        LLInt should not rely on ordering of global labels
     4        https://bugs.webkit.org/show_bug.cgi?id=95221
     5
     6        Reviewed by Oliver Hunt.
     7
     8        * llint/LowLevelInterpreter.asm:
     9        * llint/LowLevelInterpreter32_64.asm:
     10        * llint/LowLevelInterpreter64.asm:
     11
    1122012-08-28  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
    213
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter.asm

    r126692 r126924  
    533533
    534534_llint_op_loop_if_true:
    535     nop
    536 _llint_op_jtrue:
    537535    traceExecution()
    538536    jumpTrueOrFalse(
     
    541539
    542540
     541_llint_op_jtrue:
     542    traceExecution()
     543    jumpTrueOrFalse(
     544        macro (value, target) btinz value, target end,
     545        _llint_slow_path_jtrue)
     546
     547
    543548_llint_op_loop_if_false:
    544     nop
    545 _llint_op_jfalse:
    546549    traceExecution()
    547550    jumpTrueOrFalse(
     
    550553
    551554
     555_llint_op_jfalse:
     556    traceExecution()
     557    jumpTrueOrFalse(
     558        macro (value, target) btiz value, target end,
     559        _llint_slow_path_jfalse)
     560
     561
    552562_llint_op_loop_if_less:
    553     nop
    554 _llint_op_jless:
    555563    traceExecution()
    556564    compare(
     
    560568
    561569
     570_llint_op_jless:
     571    traceExecution()
     572    compare(
     573        macro (left, right, target) bilt left, right, target end,
     574        macro (left, right, target) bdlt left, right, target end,
     575        _llint_slow_path_jless)
     576
     577
    562578_llint_op_jnless:
    563579    traceExecution()
     
    569585
    570586_llint_op_loop_if_greater:
    571     nop
    572 _llint_op_jgreater:
    573587    traceExecution()
    574588    compare(
     
    578592
    579593
     594_llint_op_jgreater:
     595    traceExecution()
     596    compare(
     597        macro (left, right, target) bigt left, right, target end,
     598        macro (left, right, target) bdgt left, right, target end,
     599        _llint_slow_path_jgreater)
     600
     601
    580602_llint_op_jngreater:
    581603    traceExecution()
     
    587609
    588610_llint_op_loop_if_lesseq:
    589     nop
    590 _llint_op_jlesseq:
    591611    traceExecution()
    592612    compare(
     
    596616
    597617
     618_llint_op_jlesseq:
     619    traceExecution()
     620    compare(
     621        macro (left, right, target) bilteq left, right, target end,
     622        macro (left, right, target) bdlteq left, right, target end,
     623        _llint_slow_path_jlesseq)
     624
     625
    598626_llint_op_jnlesseq:
    599627    traceExecution()
     
    605633
    606634_llint_op_loop_if_greatereq:
    607     nop
     635    traceExecution()
     636    compare(
     637        macro (left, right, target) bigteq left, right, target end,
     638        macro (left, right, target) bdgteq left, right, target end,
     639        _llint_slow_path_jgreatereq)
     640
     641
    608642_llint_op_jgreatereq:
    609643    traceExecution()
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm

    r126692 r126924  
    13981398
    13991399_llint_op_loop:
    1400     nop
     1400    traceExecution()
     1401    dispatchBranch(4[PC])
     1402
     1403
    14011404_llint_op_jmp:
    14021405    traceExecution()
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm

    r126692 r126924  
    12351235
    12361236_llint_op_loop:
    1237     nop
     1237    traceExecution()
     1238    dispatchInt(8[PB, PC, 8])
     1239
     1240
    12381241_llint_op_jmp:
    12391242    traceExecution()
Note: See TracChangeset for help on using the changeset viewer.