Changeset 201161 in webkit


Ignore:
Timestamp:
May 19, 2016 7:19:12 AM (8 years ago)
Author:
Csaba Osztrogonác
Message:

[ARM] Remove redefined macro after r200606
https://bugs.webkit.org/show_bug.cgi?id=157890

Reviewed by Michael Saboff.

  • bytecode/PolymorphicAccess.cpp:
  • jit/CCallHelpers.h:
Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r201122 r201161  
     12016-05-19  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        [ARM] Remove redefined macro after r200606
     4        https://bugs.webkit.org/show_bug.cgi?id=157890
     5
     6        Reviewed by Michael Saboff.
     7
     8        * bytecode/PolymorphicAccess.cpp:
     9        * jit/CCallHelpers.h:
     10
    1112016-05-18  Saam barati  <sbarati@apple.com>
    212
  • trunk/Source/JavaScriptCore/bytecode/PolymorphicAccess.cpp

    r200879 r201161  
    4848
    4949static const bool verbose = false;
    50 
    51 // EncodedJSValue in JSVALUE32_64 is a 64-bit integer. When being compiled in ARM EABI, it must be aligned on an even-numbered register (r0, r2 or [sp]).
    52 // To prevent the assembler from using wrong registers, let's occupy r1 or r3 with a dummy argument when necessary.
    53 #if (COMPILER_SUPPORTS(EABI) && CPU(ARM)) || CPU(MIPS)
    54 #define EABI_32BIT_DUMMY_ARG      CCallHelpers::TrustedImm32(0),
    55 #else
    56 #define EABI_32BIT_DUMMY_ARG
    57 #endif
    5850
    5951void AccessGenerationResult::dump(PrintStream& out) const
  • trunk/Source/JavaScriptCore/jit/CCallHelpers.h

    r200981 r201161  
    4545// To avoid assemblies from using wrong registers, let's occupy r1 or r3 with a dummy argument when necessary.
    4646#if (COMPILER_SUPPORTS(EABI) && CPU(ARM)) || CPU(MIPS)
    47 #define EABI_32BIT_DUMMY_ARG      TrustedImm32(0),
     47#define EABI_32BIT_DUMMY_ARG      CCallHelpers::TrustedImm32(0),
    4848#else
    4949#define EABI_32BIT_DUMMY_ARG
     
    5454// is no other 32-bit value argument behind this 64-bit JSValue.
    5555#if CPU(SH4)
    56 #define SH4_32BIT_DUMMY_ARG      TrustedImm32(0),
     56#define SH4_32BIT_DUMMY_ARG      CCallHelpers::TrustedImm32(0),
    5757#else
    5858#define SH4_32BIT_DUMMY_ARG
Note: See TracChangeset for help on using the changeset viewer.