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);
|
||||
}
|
||||
|
||||
static final boolean check = true;
|
||||
|
||||
private static Hashtable threadContexts = new Hashtable(11);
|
||||
private static Object threadLocalCx;
|
||||
private static Method threadLocalGet;
|
||||
@ -2658,6 +2656,9 @@ public class Context
|
||||
int instructionCount;
|
||||
int instructionThreshold;
|
||||
|
||||
// It can be used to return the second long or uint32 result from function
|
||||
long scratchLong;
|
||||
// It can be used to return the second index-like result from function
|
||||
int scratchIndex;
|
||||
|
||||
// It can be used to return the second uint32 result from function
|
||||
long scratchUint32;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user