Skip to content

Commit

Permalink
Dynamic CPU: Use working path
Browse files Browse the repository at this point in the history
  • Loading branch information
s-macke committed May 28, 2017
1 parent afe3650 commit 5b62ae8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions js/worker/or1k/dynamic/dynamiccpu.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,7 @@ DynamicCPU.prototype.SetSPR = function (idx, x) {
},
};
if (this.recompilepath == "/usr/bin/fbdemo")
this.FetchAndInstantiate("fbdemo.wasm", importObject);
if (this.recompilepath == "/usr/bin/nbench")
this.FetchAndInstantiate("nbench.wasm", importObject);

this.FetchAndInstantiate(message.GetWorkingPath()+"/precompiled/fbdemo.wasm", importObject);
}
} else
if (address == 22) {
Expand Down

0 comments on commit 5b62ae8

Please sign in to comment.