Bug 893684. r=bbouvier, a=lsblakk
authorLuke Wagner <luke@mozilla.com>
Fri, 19 Jul 2013 21:37:37 -0400
changeset 143615 b3aa850f03fc54392a9dc26a46096d89902a165b
parent 143614 dd08f5dd367cc0fc1da4d9312691d38e209af70e
child 143616 e3d234674a863d7baaebf7a534684919cb12cd02
push id4009
push userryanvm@gmail.com
push dateSat, 20 Jul 2013 01:42:44 +0000
treeherdermozilla-aurora@73c4cb1518bb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbbouvier, lsblakk
bugs893684
milestone24.0a2
Bug 893684. r=bbouvier, a=lsblakk
js/src/ion/AsmJSModule.h
--- a/js/src/ion/AsmJSModule.h
+++ b/js/src/ion/AsmJSModule.h
@@ -698,16 +698,17 @@ class AsmJSModule
     void initBufferArgumentName(PropertyName *n) { bufferArgumentName_ = n; }
 
     PropertyName *globalArgumentName() const { return globalArgumentName_; }
     PropertyName *importArgumentName() const { return importArgumentName_; }
     PropertyName *bufferArgumentName() const { return bufferArgumentName_; }
 
     void initPostLinkFailureInfo(CompileOptions options,
                                  ScriptSource *scriptSource, uint32_t bufStart, uint32_t bufEnd) {
+        options.filename = scriptSource->filename();
         postLinkFailureInfo_.init(options, scriptSource, bufStart, bufEnd);
     }
 
     const PostLinkFailureInfo &postLinkFailureInfo() const {
         return postLinkFailureInfo_;
     }
 
     size_t exitDatumToExitIndex(ExitDatum *exit) const {