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:
@@ -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)
|
||||
{
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user