summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-js_src_ion_AsmJSModule.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/patches/patch-js_src_ion_AsmJSModule.h')
-rw-r--r--www/firefox/patches/patch-js_src_ion_AsmJSModule.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/www/firefox/patches/patch-js_src_ion_AsmJSModule.h b/www/firefox/patches/patch-js_src_ion_AsmJSModule.h
deleted file mode 100644
index 6e1145ce023..00000000000
--- a/www/firefox/patches/patch-js_src_ion_AsmJSModule.h
+++ /dev/null
@@ -1,37 +0,0 @@
-$NetBSD: patch-js_src_ion_AsmJSModule.h,v 1.1 2013/08/07 12:17:54 ryoon Exp $
-
---- js/src/ion/AsmJSModule.h.orig 2013-07-30 00:58:18.000000000 +0000
-+++ js/src/ion/AsmJSModule.h
-@@ -582,12 +582,12 @@ class AsmJSModule
- }
-
- void setFunctionBytes(size_t functionBytes) {
-- JS_ASSERT(functionBytes % gc::PageSize == 0);
-+ JS_ASSERT(functionBytes % AsmJSPageSize == 0);
- functionBytes_ = functionBytes;
- }
- size_t functionBytes() const {
- JS_ASSERT(functionBytes_);
-- JS_ASSERT(functionBytes_ % gc::PageSize == 0);
-+ JS_ASSERT(functionBytes_ % AsmJSPageSize == 0);
- return functionBytes_;
- }
- bool containsPC(void *pc) const {
-@@ -648,7 +648,7 @@ class AsmJSModule
-
-
- void takeOwnership(JSC::ExecutablePool *pool, uint8_t *code, size_t codeBytes, size_t totalBytes) {
-- JS_ASSERT(uintptr_t(code) % gc::PageSize == 0);
-+ JS_ASSERT(uintptr_t(code) % AsmJSPageSize == 0);
- codePool_ = pool;
- code_ = code;
- codeBytes_ = codeBytes;
-@@ -656,7 +656,7 @@ class AsmJSModule
- }
- uint8_t *functionCode() const {
- JS_ASSERT(code_);
-- JS_ASSERT(uintptr_t(code_) % gc::PageSize == 0);
-+ JS_ASSERT(uintptr_t(code_) % AsmJSPageSize == 0);
- return code_;
- }
-