OSDN Git Service

Fix the protection of code cache for x86 JIT
authorJun Tian <jun.j.tian@intel.com>
Tue, 6 Aug 2013 07:03:15 +0000 (15:03 +0800)
committerElliott Hughes <enh@google.com>
Fri, 9 Aug 2013 23:57:16 +0000 (16:57 -0700)
commit9cf04e3569d48dae36e0492226250da04699f8d4
tree1f2bfecbcf82a25601421ad5cc2638eec8532fd4
parente19b6bd17c794e7ff2b17fa378f1b5357df83a5a
Fix the protection of code cache for x86 JIT

During generation of code into code cache
an unprotected region of memory does not correspond to
protected one, The patch fixes that.

Author: Katkov Serguei <serguei.i.katkov@intel.com>

(cherry picked from commit 74a62214ef262380371bc21be2a1c42295046fb2)

Change-Id: I362a10897564b987c8a3b2dfc9ded8f0a9efd56a
vm/compiler/Compiler.cpp
vm/compiler/codegen/x86/CodegenInterface.cpp