зеркало из https://github.com/mozilla/gecko-dev.git
Bustage fix for bug 545295. r=me.
--HG-- extra : convert_revision : 54edfaf7f89566f86822155e90d43ec6198228c4
This commit is contained in:
Родитель
f6d50295ff
Коммит
fc324918db
|
@ -42,6 +42,12 @@
|
||||||
|
|
||||||
using namespace avmplus;
|
using namespace avmplus;
|
||||||
|
|
||||||
|
size_t
|
||||||
|
VMPI_getVMPageSize()
|
||||||
|
{
|
||||||
|
return 4096;
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
void
|
void
|
||||||
VMPI_setPageProtection(void *address,
|
VMPI_setPageProtection(void *address,
|
||||||
|
|
|
@ -95,6 +95,8 @@ typedef unsigned __int64 uint64_t;
|
||||||
#define VMPI_isdigit isdigit
|
#define VMPI_isdigit isdigit
|
||||||
#define VMPI_getDate()
|
#define VMPI_getDate()
|
||||||
|
|
||||||
|
extern size_t VMPI_getVMPageSize();
|
||||||
|
|
||||||
extern void VMPI_setPageProtection(void *address,
|
extern void VMPI_setPageProtection(void *address,
|
||||||
size_t size,
|
size_t size,
|
||||||
bool executableFlag,
|
bool executableFlag,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче