aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-14 17:52:40 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-14 17:52:40 -0800
commit814f010b53e3c5647dc97f28b998ad5d895e7d58 (patch)
tree168e11a02d14bd518657af2bff9394237f76e067 /lib
parent4a3d6555bda9fde5dfa3b3189811c85924b447d2 (diff)
emit nothing for lifetime intrinsics
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/JSBackend/CallHandlers.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Target/JSBackend/CallHandlers.h b/lib/Target/JSBackend/CallHandlers.h
index 619ad44675..22d7d1be20 100644
--- a/lib/Target/JSBackend/CallHandlers.h
+++ b/lib/Target/JSBackend/CallHandlers.h
@@ -334,6 +334,14 @@ DEF_CALL_HANDLER(llvm_dbg_value, {
return "";
})
+DEF_CALL_HANDLER(llvm_lifetime_start, {
+ return "";
+})
+
+DEF_CALL_HANDLER(llvm_lifetime_end, {
+ return "";
+})
+
DEF_CALL_HANDLER(bitshift64Lshr, {
return CH___default__(CI, "_bitshift64Lshr", 3);
})
@@ -723,6 +731,8 @@ void setupCallHandlers() {
SETUP_CALL_HANDLER(llvm_expect_i32);
SETUP_CALL_HANDLER(llvm_dbg_declare);
SETUP_CALL_HANDLER(llvm_dbg_value);
+ SETUP_CALL_HANDLER(llvm_lifetime_start);
+ SETUP_CALL_HANDLER(llvm_lifetime_end);
SETUP_CALL_HANDLER(bitshift64Lshr);
SETUP_CALL_HANDLER(bitshift64Ashr);
SETUP_CALL_HANDLER(bitshift64Shl);