Ignore:
Timestamp:
May 1, 2009, 10:56:41 PM (16 years ago)
Author:
[email protected]
Message:

2009-05-01 Sam Weinig <[email protected]>

Fix 64bit build.

  • runtime/JSNumberCell.h: (JSC::JSValue::JSValue):
  • runtime/JSValue.h: (JSC::jsNumber):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/JSValue.h

    r43138 r43139  
    8484        // Numbers
    8585        JSValue(ExecState*, double);
     86        JSValue(ExecState*, char);
     87        JSValue(ExecState*, unsigned char);
     88        JSValue(ExecState*, short);
     89        JSValue(ExecState*, unsigned short);
    8690        JSValue(ExecState*, int);
    8791        JSValue(ExecState*, unsigned);
     
    9195        JSValue(ExecState*, unsigned long long);
    9296        JSValue(JSGlobalData*, double);
     97        JSValue(JSGlobalData*, char);
     98        JSValue(JSGlobalData*, unsigned char);
     99        JSValue(JSGlobalData*, short);
     100        JSValue(JSGlobalData*, unsigned short);
    93101        JSValue(JSGlobalData*, int);
    94102        JSValue(JSGlobalData*, unsigned);
     
    238246    }
    239247
     248    ALWAYS_INLINE JSValue jsNumber(ExecState* exec, char i)
     249    {
     250        return JSValue(exec, i);
     251    }
     252
     253    ALWAYS_INLINE JSValue jsNumber(ExecState* exec, unsigned char i)
     254    {
     255        return JSValue(exec, i);
     256    }
     257
     258    ALWAYS_INLINE JSValue jsNumber(ExecState* exec, short i)
     259    {
     260        return JSValue(exec, i);
     261    }
     262
     263    ALWAYS_INLINE JSValue jsNumber(ExecState* exec, unsigned short i)
     264    {
     265        return JSValue(exec, i);
     266    }
     267
    240268    ALWAYS_INLINE JSValue jsNumber(ExecState* exec, int i)
    241269    {
     
    271299    {
    272300        return JSValue(globalData, d);
     301    }
     302
     303    ALWAYS_INLINE JSValue jsNumber(JSGlobalData* globalData, char i)
     304    {
     305        return JSValue(globalData, i);
     306    }
     307
     308    ALWAYS_INLINE JSValue jsNumber(JSGlobalData* globalData, unsigned char i)
     309    {
     310        return JSValue(globalData, i);
     311    }
     312
     313    ALWAYS_INLINE JSValue jsNumber(JSGlobalData* globalData, short i)
     314    {
     315        return JSValue(globalData, i);
     316    }
     317
     318    ALWAYS_INLINE JSValue jsNumber(JSGlobalData* globalData, unsigned short i)
     319    {
     320        return JSValue(globalData, i);
    273321    }
    274322
Note: See TracChangeset for help on using the changeset viewer.