Skip to content

Commit

Permalink
Remove new page allocator case for now
Browse files Browse the repository at this point in the history
  • Loading branch information
thetarnav committed Jan 18, 2024
1 parent e1ae61e commit d17a0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasm/memory_js.odin
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ page_allocator :: proc() -> mem.Allocator {
case .Alloc, .Alloc_Non_Zeroed:
assert(size % PAGE_SIZE == 0)
return page_alloc(size / PAGE_SIZE)
case .Resize, .Free, .Free_All, .Query_Info, .Resize_Non_Zeroed:
case .Resize, .Free, .Free_All, .Query_Info:
return nil, .Mode_Not_Implemented
case .Query_Features:
set := (^mem.Allocator_Mode_Set)(old_memory)
Expand Down

0 comments on commit d17a0e8

Please sign in to comment.