Changeset 73981 in webkit


Ignore:
Timestamp:
Dec 13, 2010 4:02:49 PM (13 years ago)
Author:
cwzwarich@webkit.org
Message:

Reviewed by Gavin Barraclough.

JavaScriptCore should not use "asm volatile" outside of a function
https://bugs.webkit.org/show_bug.cgi?id=50991

  • jit/JITStubs.cpp: Remove the volatile keyword from asm statements.
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r73967 r73981  
     12010-12-13  Cameron Zwarich  <zwarich@apple.com>
     2
     3        Reviewed by Gavin Barraclough.
     4
     5        JavaScriptCore should not use "asm volatile" outside of a function
     6        https://bugs.webkit.org/show_bug.cgi?id=50991
     7
     8        * jit/JITStubs.cpp: Remove the volatile keyword from asm statements.
     9
    1102010-12-13  Steve Falkenburg  <sfalken@apple.com>
    211
  • trunk/JavaScriptCore/jit/JITStubs.cpp

    r72481 r73981  
    547547
    548548#if CPU(MIPS)
    549 asm volatile(
     549asm (
    550550".text" "\n"
    551551".align 2" "\n"
     
    586586);
    587587
    588 asm volatile(
     588asm (
    589589".text" "\n"
    590590".align 2" "\n"
     
    617617);
    618618
    619 asm volatile(
     619asm (
    620620".text" "\n"
    621621".align 2" "\n"
     
    640640#if COMPILER(GCC) && CPU(ARM_THUMB2)
    641641
    642 asm volatile(
     642asm (
    643643".text" "\n"
    644644".align 2" "\n"
     
    667667);
    668668
    669 asm volatile(
     669asm (
    670670".text" "\n"
    671671".align 2" "\n"
     
    685685);
    686686
    687 asm volatile(
     687asm (
    688688".text" "\n"
    689689".align 2" "\n"
     
    703703#elif COMPILER(GCC) && CPU(ARM_TRADITIONAL)
    704704
    705 asm volatile(
     705asm (
    706706".globl " SYMBOL_STRING(ctiTrampoline) "\n"
    707707HIDE_SYMBOL(ctiTrampoline) "\n"
     
    721721);
    722722
    723 asm volatile(
     723asm (
    724724".globl " SYMBOL_STRING(ctiVMThrowTrampoline) "\n"
    725725HIDE_SYMBOL(ctiVMThrowTrampoline) "\n"
     
    11091109        rtype JITStubThunked_##op(STUB_ARGS_DECLARATION); \
    11101110    }; \
    1111     asm volatile( \
     1111    asm ( \
    11121112        ".text" "\n" \
    11131113        ".align 2" "\n" \
     
    11391139        rtype JITStubThunked_##op(STUB_ARGS_DECLARATION); \
    11401140    }; \
    1141     asm volatile( \
     1141    asm ( \
    11421142        ".text" "\n" \
    11431143        ".align 2" "\n" \
Note: See TracChangeset for help on using the changeset viewer.