Compare commits
6
Commits
v3-deps-32
...
v3-deps-35
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
87575efb54 | ||
|
|
cf01dcbc08 | ||
|
|
c9d04fee8e | ||
|
|
1a0fd89c60 | ||
|
|
809ac852c5 | ||
|
|
c715b458cf |
Binary file not shown.
Binary file not shown.
@@ -77,11 +77,11 @@ enum ThreadType {
|
||||
# if defined(DEBUG) || defined(JS_OOM_BREAKPOINT)
|
||||
extern bool InitThreadType(void);
|
||||
extern void SetThreadType(ThreadType);
|
||||
extern uint32_t GetThreadType(void);
|
||||
extern JS_PUBLIC_API(uint32_t) GetThreadType(void);
|
||||
# else
|
||||
inline bool InitThreadType(void) { return true; }
|
||||
inline void SetThreadType(ThreadType t) {};
|
||||
inline uint32_t GetThreadType(void) { return 0; }
|
||||
inline JS_PUBLIC_API(uint32_t) GetThreadType(void) { return 0; }
|
||||
# endif
|
||||
|
||||
} /* namespace oom */
|
||||
|
||||
@@ -49,7 +49,7 @@ class SystemAllocPolicy
|
||||
};
|
||||
|
||||
class ExclusiveContext;
|
||||
void ReportOutOfMemory(ExclusiveContext* cxArg);
|
||||
JS_PUBLIC_API(void) ReportOutOfMemory(ExclusiveContext* cxArg);
|
||||
|
||||
/*
|
||||
* Allocation policy that calls the system memory functions and reports errors
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user