diff --git a/mozilla/js/js2/interpreter.h b/mozilla/js/js2/interpreter.h index 86d4efdbbbd..fc1a8c40f29 100644 --- a/mozilla/js/js2/interpreter.h +++ b/mozilla/js/js2/interpreter.h @@ -23,6 +23,8 @@ #include "icodegenerator.h" namespace JavaScript { + class JSObject; + union JSValue { int8 i8; uint8 u8; @@ -34,7 +36,7 @@ namespace JavaScript { uint64 u64; float32 f32; float64 f64; - void* ref; + JSObject* obj; JSValue() : f64(0.0) {} diff --git a/mozilla/js2/src/interpreter.h b/mozilla/js2/src/interpreter.h index 86d4efdbbbd..fc1a8c40f29 100644 --- a/mozilla/js2/src/interpreter.h +++ b/mozilla/js2/src/interpreter.h @@ -23,6 +23,8 @@ #include "icodegenerator.h" namespace JavaScript { + class JSObject; + union JSValue { int8 i8; uint8 u8; @@ -34,7 +36,7 @@ namespace JavaScript { uint64 u64; float32 f32; float64 f64; - void* ref; + JSObject* obj; JSValue() : f64(0.0) {}