Index: src/string.js |
diff --git a/src/string.js b/src/string.js |
index 387e5bef51febf340ae6e117a94c6621180f5243..322e5ae6d8a8d645c46dfbe74d1d6b1f4d0ac2e5 100644 |
--- a/src/string.js |
+++ b/src/string.js |
@@ -1112,8 +1112,8 @@ function StringFromCodePoint(_) { // length = 1 |
function StringRaw(callSite) { |
// TODO(caitp): Use rest parameters when implemented |
var numberOfSubstitutions = %_ArgumentsLength(); |
- var cooked = $toObject(callSite); |
- var raw = $toObject(cooked.raw); |
+ var cooked = TO_OBJECT(callSite); |
+ var raw = TO_OBJECT(cooked.raw); |
var literalSegments = $toLength(raw.length); |
if (literalSegments <= 0) return ""; |