Fixed build errors.

git-svn-id: svn://10.0.0.236/branches/JS2_DIKDIK_BRANCH@99593 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pschwartau%netscape.com
2001-07-19 18:57:23 +00:00
parent 00a9ac5697
commit 068fa57c39
3 changed files with 3 additions and 4 deletions

View File

@@ -139,8 +139,7 @@ void trace_dump(JavaScript::Formatter& f)
namespace JavaScript {
namespace Shell {
static void do_dikdik(Formatter &f)
void do_dikdik(JavaScript::Formatter &f)
{

View File

@@ -39,6 +39,6 @@
void trace_alloc(char *owner, size_t s, void *p);
void trace_release(char *owner, void *p);
void trace_dump(JavaScript::Formatter& f);
void do_dikdik(JavaScript::Formatter &f);
#endif

View File

@@ -126,7 +126,7 @@ static JSValue debug(Context *cx, const JSValue& /*thisValue*/, JSValue * /*argv
return kUndefinedValue;
}
static JSValue trace(Context *cx, const JSValue& /*thisValue*/, JSValue * /*argv*/, uint32 /*argc*/)
static JSValue trace(Context */*cx*/, const JSValue& /*thisValue*/, JSValue * /*argv*/, uint32 /*argc*/)
{
gTraceFlag = true;
stdOut << "Will report allocation stats\n";