diff options
| author | 2012-03-06 16:53:31 +0800 | |
|---|---|---|
| committer | 2012-03-06 11:05:17 -0800 | |
| commit | bae4c85765fa94393c44c0e3be532a08761913cd (patch) | |
| tree | 5ccf9af51bb5c6b8817989874a266587d4d2a72a /src/compiler_llvm/ir_builder.cc | |
| parent | 2771fb1ebc5dd9be8b56ff721c0b2606287d5a62 (diff) | |
Remove the quotation of the function name.
Change-Id: Ib01363787fe69b23996bdd0e200a07c7997370fc
Diffstat (limited to 'src/compiler_llvm/ir_builder.cc')
| -rw-r--r-- | src/compiler_llvm/ir_builder.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler_llvm/ir_builder.cc b/src/compiler_llvm/ir_builder.cc index 30ed6ecee4..60f31f2891 100644 --- a/src/compiler_llvm/ir_builder.cc +++ b/src/compiler_llvm/ir_builder.cc @@ -58,8 +58,8 @@ void IRBuilder::InitRuntimeSupportFuncDecl() { #define GET_RUNTIME_SUPPORT_FUNC_DECL(ID, NAME) \ do { \ - llvm::Function* fn = module_->getFunction(NAME); \ - DCHECK_NE(fn, (void*)NULL) << "Function not found: " << NAME; \ + llvm::Function* fn = module_->getFunction(#NAME); \ + DCHECK_NE(fn, (void*)NULL) << "Function not found: " << #NAME; \ runtime_support_func_decls_[ID] = fn; \ } while (0); |