Bug 893684. r=bbouvier, a=lsblakk
authorLuke Wagner <luke@mozilla.com>
Fri, 19 Jul 2013 21:46:22 -0400
changeset 143110 aa1e0d96de39e6d797f14ce7c137e1fe5be2a4ee
parent 143109 bc0f5e676268d9597af2ce444bb9ed34eeb4638d
child 143111 b4fa00ef357fd2b3fc965354f0eeb0851482c470
push id2655
push userryanvm@gmail.com
push dateSat, 20 Jul 2013 01:48:13 +0000
treeherdermozilla-beta@da80d09909f3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbbouvier, lsblakk
bugs893684
milestone23.0
Bug 893684. r=bbouvier, a=lsblakk
js/src/ion/AsmJSModule.h
--- a/js/src/ion/AsmJSModule.h
+++ b/js/src/ion/AsmJSModule.h
@@ -690,16 +690,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_;
     }
 };