fix broken caused by boltdb in mips/mipsle (#1107)

This commit is contained in:
Lunny Xiao authored and GitHub committed 2017-03-03 15:57:54 +08:00
1 parent ef13bbaf7d
commit 6bdfadf4a9
2 files changed
+22

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
// +build mips
package bolt
// maxMapSize represents the largest mmap size supported by Bolt.
const maxMapSize = 0x40000000 // 1GB
// maxAllocSize is the size used when creating array pointers.
const maxAllocSize = 0xFFFFFFF
// brokenUnaligned Are unaligned load/stores broken on this arch?
var brokenUnaligned = false
+11
View File
@@ -0,0 +1,11 @@
// +build mipsle
package bolt
// maxMapSize represents the largest mmap size supported by Bolt.
const maxMapSize = 0x40000000 // 1GB
// maxAllocSize is the size used when creating array pointers.
const maxAllocSize = 0xFFFFFFF
// brokenUnaligned Are unaligned load/stores broken on this arch?
var brokenUnaligned = false