mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 1015808 - Fix the compiler warnings about members of AutoFlushICache being unused; r=jandem
This commit is contained in:
parent
8da02158b7
commit
f1cf9f001a
@ -3017,10 +3017,12 @@ AutoFlushICache::setInhibit()
|
||||
// the respective AutoFlushICache dynamic context.
|
||||
//
|
||||
AutoFlushICache::AutoFlushICache(const char *nonce, bool inhibit)
|
||||
#if defined(JS_CODEGEN_ARM) || defined(JS_CODEGEN_MIPS)
|
||||
: start_(0),
|
||||
stop_(0),
|
||||
name_(nonce),
|
||||
inhibit_(inhibit)
|
||||
#endif
|
||||
{
|
||||
#if defined(JS_CODEGEN_ARM) || defined(JS_CODEGEN_MIPS)
|
||||
PerThreadData *pt = TlsPerThreadData.get();
|
||||
|
@ -777,11 +777,13 @@ class JitRuntime;
|
||||
struct AutoFlushICache
|
||||
{
|
||||
private:
|
||||
#if defined(JS_CODEGEN_ARM) || defined(JS_CODEGEN_MIPS)
|
||||
uintptr_t start_;
|
||||
uintptr_t stop_;
|
||||
const char *name_;
|
||||
bool inhibit_;
|
||||
AutoFlushICache *prev_;
|
||||
#endif
|
||||
|
||||
public:
|
||||
static void setRange(uintptr_t p, size_t len);
|
||||
|
Loading…
Reference in New Issue
Block a user