From 36e56e8886fc00e2f2fde87bfdc063603d371014 Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Fri, 7 Apr 2000 02:47:53 +0000 Subject: [PATCH] added forward declaration to class JSObject, and changed void* JSValue.ref to JSObject* JSValue.obj. git-svn-id: svn://10.0.0.236/trunk@65475 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/js/js2/interpreter.h | 4 +++- mozilla/js2/src/interpreter.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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) {}