mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Warning fixes
This commit is contained in:
parent
80917387bf
commit
78f63becc3
@ -423,7 +423,6 @@ uint32 ByteCodeGen::getLabel(LabelStmtNode *lbl)
|
|||||||
uint32 ByteCodeGen::getTopLabel(Label::LabelKind kind, const StringAtom *name, StmtNode *p)
|
uint32 ByteCodeGen::getTopLabel(Label::LabelKind kind, const StringAtom *name, StmtNode *p)
|
||||||
{
|
{
|
||||||
uint32 result = uint32(-1);
|
uint32 result = uint32(-1);
|
||||||
bool foundName = false;
|
|
||||||
bool foundLabel = false;
|
bool foundLabel = false;
|
||||||
for (std::vector<uint32>::reverse_iterator i = mLabelStack.rbegin(),
|
for (std::vector<uint32>::reverse_iterator i = mLabelStack.rbegin(),
|
||||||
end = mLabelStack.rend();
|
end = mLabelStack.rend();
|
||||||
|
@ -2044,7 +2044,7 @@ static JSValue objectEqual(Context *cx, const JSValue& /*thisValue*/, JSValue *a
|
|||||||
return compareEqual(cx, r1, r2);
|
return compareEqual(cx, r1, r2);
|
||||||
}
|
}
|
||||||
|
|
||||||
static JSValue objectSpittingImage(Context *cx, const JSValue& /*thisValue*/, JSValue *argv, uint32 /*argc*/)
|
static JSValue objectSpittingImage(Context * /*cx*/, const JSValue& /*thisValue*/, JSValue *argv, uint32 /*argc*/)
|
||||||
{
|
{
|
||||||
JSValue r1 = argv[0];
|
JSValue r1 = argv[0];
|
||||||
JSValue r2 = argv[1];
|
JSValue r2 = argv[1];
|
||||||
|
@ -601,7 +601,7 @@ XXX ...couldn't get this to work...
|
|||||||
|
|
||||||
virtual void defineTempVariable(Context *cx, Reference *&readRef, Reference *&writeRef, JSType *type);
|
virtual void defineTempVariable(Context *cx, Reference *&readRef, Reference *&writeRef, JSType *type);
|
||||||
|
|
||||||
virtual JSValue getSlotValue(Context *cx, uint32 slotIndex) { ASSERT(false); return kUndefinedValue; }
|
virtual JSValue getSlotValue(Context * /*cx*/, uint32 /*slotIndex*/) { ASSERT(false); return kUndefinedValue; }
|
||||||
|
|
||||||
// debug only
|
// debug only
|
||||||
void printProperties(Formatter &f) const
|
void printProperties(Formatter &f) const
|
||||||
|
Loading…
Reference in New Issue
Block a user