Index: src/js/v8natives.js |
diff --git a/src/js/v8natives.js b/src/js/v8natives.js |
index 5be6eeac25ff989a5f29f2c0acf91244b5d0ce5b..427741e9a1be7684d3b66825f535c73ce34e56fc 100644 |
--- a/src/js/v8natives.js |
+++ b/src/js/v8natives.js |
@@ -1542,10 +1542,6 @@ function NativeCodeFunctionSourceString(func) { |
} |
function FunctionSourceString(func) { |
- while (%IsJSFunctionProxy(func)) { |
- func = %GetCallTrap(func); |
- } |
- |
if (!IS_FUNCTION(func)) { |
throw MakeTypeError(kNotGeneric, 'Function.prototype.toString'); |
} |