summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/compiler_llvm.cc
diff options
context:
space:
mode:
author Shih-wei Liao <sliao@google.com> 2012-03-20 04:26:01 -0700
committer Shih-wei Liao <sliao@google.com> 2012-03-26 21:08:41 -0700
commit5b21308bfa0f4d25a3fd2f5346e51bd66d4722e8 (patch)
tree5deea0c751a373d7536dc65510c7f8f9d1642a46 /src/compiler_llvm/compiler_llvm.cc
parent9b2ba2ee9fafe46a08473657a2387fd20ab49a35 (diff)
Implement for AME for the LLVM version. Fix the compiler_test.
AME (Abstract Method Error) processing is different for LLVM version, because we uses return-style exception handling. We have our LLVM version of runtime support in runtime_support_llvm.cc, but we have to share this one: ThrowAbstractMethodErrorFromCode() because it's called from the stub/assembly code for AME exception. Those tricky assembly code shouldn't be duplicated to 2 versions. Instead, we try to just limit to return processing. Only differ in the DeliverException case in ThrowAbstractMethodErrorFromCode(). I.e., LLVM is using return-style and no need for long-jump delivery. Compiler_test passes now. (cherry picked from commit c33262b21ece4072cc229511ba9d878981fc5d3c) Change-Id: If959d100a9e157cbc3618770f6ff1118dce066f5
Diffstat (limited to 'src/compiler_llvm/compiler_llvm.cc')
0 files changed, 0 insertions, 0 deletions