mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
New "scratch" field for int indexes to allow to return more then one result from index parsing functions.
This commit is contained in:
parent
1bd4e8e9db
commit
b6ed88ed6d
@ -2568,8 +2568,6 @@ public class Context
|
|||||||
activationNames.remove(name);
|
activationNames.remove(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
static final boolean check = true;
|
|
||||||
|
|
||||||
private static Hashtable threadContexts = new Hashtable(11);
|
private static Hashtable threadContexts = new Hashtable(11);
|
||||||
private static Object threadLocalCx;
|
private static Object threadLocalCx;
|
||||||
private static Method threadLocalGet;
|
private static Method threadLocalGet;
|
||||||
@ -2658,6 +2656,9 @@ public class Context
|
|||||||
int instructionCount;
|
int instructionCount;
|
||||||
int instructionThreshold;
|
int instructionThreshold;
|
||||||
|
|
||||||
// It can be used to return the second long or uint32 result from function
|
// It can be used to return the second index-like result from function
|
||||||
long scratchLong;
|
int scratchIndex;
|
||||||
|
|
||||||
|
// It can be used to return the second uint32 result from function
|
||||||
|
long scratchUint32;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user