Skip to content

Commit d2f333d

Browse files
InnPatronblerner
authored andcommitted
Remove redundant line of code
1 parent e406572 commit d2f333d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/js/trove/ffi.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
nativeRequires: [],
1717
theModule: function(runtime, namespace, uri, L, Se, O, E, EQ, ERR, S, CON, /* CH, */ ED, VS) {
1818
var gf = runtime.getField;
19-
var srcloc = runtime.getField(S, "values");
2019
L = gf(L, "values");
2120
Se = gf(Se, "values");
2221
O = gf(O, "values");
@@ -43,7 +42,7 @@
4342

4443
function makePyretPos(fileName, p) {
4544
var n = runtime.makeNumber;
46-
return runtime.getField(srcloc, "srcloc").app(
45+
return runtime.getField(S, "srcloc").app(
4746
runtime.makeString(fileName),
4847
n(p.startRow),
4948
n(p.startCol),
@@ -55,7 +54,7 @@
5554
}
5655
function combinePyretPos(fileName, p1, p2) {
5756
var n = runtime.makeNumber;
58-
return runtime.getField(srcloc, "srcloc").app(
57+
return runtime.getField(S, "srcloc").app(
5958
runtime.makeString(fileName),
6059
n(p1.startRow),
6160
n(p1.startCol),

0 commit comments

Comments
 (0)