From 809d3738bb845d5b6d08e348e9a8a03e62536121 Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Tue, 7 Oct 2014 17:44:50 +0200 Subject: Remove vm_ prefix /!\ API MODIF The jitter cpu/vm modules used an unecessary vm_ prefix for various api. jitter.cpu.vm_get_gpreg() => jitter.cpu.get_gpreg() jitter.vm.vm_get_mem... => jitter.vm.get_mem... --- example/test_jit_mips32.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example/test_jit_mips32.py') diff --git a/example/test_jit_mips32.py b/example/test_jit_mips32.py index 5dd9175d..42188ab8 100644 --- a/example/test_jit_mips32.py +++ b/example/test_jit_mips32.py @@ -48,12 +48,12 @@ def jit_mips32_binary(args): myjit.jit.log_mn = args.log_mn myjit.jit.log_newbloc = args.log_newbloc - myjit.vm.vm_add_memory_page(0, PAGE_READ | PAGE_WRITE, open(filepath).read()) + myjit.vm.add_memory_page(0, PAGE_READ | PAGE_WRITE, open(filepath).read()) myjit.add_breakpoint(0x1337BEEF, code_sentinelle) # for stack - myjit.vm.vm_add_memory_page(0xF000, PAGE_READ | PAGE_WRITE, "\x00"*0x1000) + myjit.vm.add_memory_page(0xF000, PAGE_READ | PAGE_WRITE, "\x00"*0x1000) myjit.cpu.SP = 0xF800 -- cgit 1.4.1