Ignore:
Timestamp:
Jul 30, 2009, 4:11:16 PM (16 years ago)
Author:
[email protected]
Message:

2009-07-30 Geoffrey Garen <[email protected]>

Reviewed by Gavin Barraclough.

Fixed failing tests seen on Windows buildbot.

  • jit/JITStubs.cpp: (JSC::DEFINE_STUB_FUNCTION):
  • jit/JITStubs.h: (JSC::): Use "int" instead of "bool" to guarantee a 32-bit result, regardless of compiler. gcc on mac uses 32-bit values for bool, but gcc on linux and MSVC on Windows use 8-bit values.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/jit/JITStubs.cpp

    r46598 r46610  
    22952295#if USE(JSVALUE32_64)
    22962296
    2297 DEFINE_STUB_FUNCTION(bool, op_eq)
     2297DEFINE_STUB_FUNCTION(int, op_eq)
    22982298{
    22992299    STUB_INIT_STACK_FRAME(stackFrame);
     
    23892389}
    23902390
    2391 DEFINE_STUB_FUNCTION(bool, op_eq_strings)
     2391DEFINE_STUB_FUNCTION(int, op_eq_strings)
    23922392{
    23932393    STUB_INIT_STACK_FRAME(stackFrame);
     
    24032403#else // USE(JSVALUE32_64)
    24042404
    2405 DEFINE_STUB_FUNCTION(bool, op_eq)
     2405DEFINE_STUB_FUNCTION(int, op_eq)
    24062406{
    24072407    STUB_INIT_STACK_FRAME(stackFrame);
Note: See TracChangeset for help on using the changeset viewer.