Ignore:
Timestamp:
Nov 16, 2008, 6:08:54 PM (17 years ago)
Author:
[email protected]
Message:

2008-11-16 Geoffrey Garen <[email protected]>

Roll out r38461 (my last patch) because it broke the world.

File:
1 edited

Legend:

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

    r38461 r38463  
    2929#include "UString.h"
    3030#include <stddef.h> // for size_t
     31
     32// The magic number 0x4000 is not important here, it is being subtracted back out (avoiding using zero since this
     33// can have unexpected effects in this type of macro, particularly where multiple-inheritance is involved).
     34#define OBJECT_OFFSET(class, member) (reinterpret_cast<ptrdiff_t>(&(reinterpret_cast<class*>(0x4000)->member)) - 0x4000)
    3135
    3236namespace JSC {
Note: See TracChangeset for help on using the changeset viewer.