Skip to content

Commit a23d225

Browse files
committed
---
yaml --- r: 39843 b: refs/heads/incoming c: e6b57f8 h: refs/heads/master i: 39841: 03860bb 39839: e07944f v: v3
1 parent eb2a0c3 commit a23d225

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
9-
refs/heads/incoming: 4fb4be8f174c9d19c8ec6702070ef55987f73cb3
9+
refs/heads/incoming: e6b57f858f4ac946e6f829f54680d292db36700d
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/librustc/middle/trans/base.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2152,6 +2152,7 @@ fn register_fn_fuller(ccx: @crate_ctxt,
21522152
let llfn: ValueRef = decl_fn(ccx.llmod, copy ps, cc, llfty);
21532153
ccx.item_symbols.insert(node_id, ps);
21542154

2155+
// FIXME #4404 android JNI hacks
21552156
let is_main = is_main_name(path) && (!ccx.sess.building_library ||
21562157
(ccx.sess.building_library &&
21572158
ccx.sess.targ_cfg.os == session::os_android));
@@ -2205,6 +2206,7 @@ fn create_main_wrapper(ccx: @crate_ctxt, sp: span, main_llfn: ValueRef) {
22052206
fn main_name() -> ~str { return ~"main"; }
22062207
let llfty = T_fn(~[ccx.int_type, ccx.int_type], ccx.int_type);
22072208

2209+
// FIXME #4404 android JNI hacks
22082210
let llfn = if ccx.sess.building_library {
22092211
decl_cdecl_fn(ccx.llmod, ~"amain", llfty)
22102212
} else {

0 commit comments

Comments
 (0)