Compilation_unit experiment. Fix because of no long_call.
Change-Id: Id8ab9c50317ade34f80be6e72784db00c0b23f6b
diff --git a/src/compiler_llvm/upcall_compiler.cc b/src/compiler_llvm/upcall_compiler.cc
index 691d7e5..4b99cf7 100644
--- a/src/compiler_llvm/upcall_compiler.cc
+++ b/src/compiler_llvm/upcall_compiler.cc
@@ -184,7 +184,7 @@
llvm::verifyFunction(*func, llvm::PrintMessageAction);
// Add the memory usage approximation of the compilation unit
- cunit_->AddMemUsageApproximation((shorty_size * 3 + 8) * 500);
+ cunit_->AddMemUsageApproximation((shorty_size * 3 + 8) * 50);
// NOTE: We will emit 3 LLVM instructions per shorty for the argument,
// plus 3 for pointer arithmetic, and 5 for code_addr, retval, ret_addr,
// store ret_addr, and ret_void. Beside, we guess that we have to use