kripken/emscripten — Issue #94: Generated line 0=0
Author: jterrace
Created: 2011-10-13 16:59:48+00:00
State: open

I'm getting this in emscripten output:

```
js5.js:294906: ReferenceError: invalid assignment left-hand side:
js5.js:294906: 0=0; //@line 343 "/home/jterrace/jsjs/mozilla-central-743ed92f9332/js/src/jsinfer.cpp"
js5.js:294906: .....^
```

This is the C++ function it comes from, line 20:
http://pastebin.com/pgm6biuE
indicating that the line should never be executed. Not really sure what it's doing in there.

Here is the entire function in javascript:
http://pastebin.com/raw.php?i=nbSnBSGj

And here is the LLVM function:
http://pastebin.com/raw.php?i=GDPZJ2n5
with the offending line being:

```
store i32 0, i32* null, !dbg !880869
```