Index: src/v8natives.js |
diff --git a/src/v8natives.js b/src/v8natives.js |
index 93636d008f1b6639a79f885812549e415e24d164..dc1d34cfbcb84939fc147f2fe0cd31314188935f 100644 |
--- a/src/v8natives.js |
+++ b/src/v8natives.js |
@@ -1622,7 +1622,7 @@ function FunctionSourceString(func) { |
throw MakeTypeError(kNotGeneric, 'Function.prototype.toString'); |
} |
- if (%FunctionIsBuiltin(func)) { |
+ if (%FunctionHidesSource(func)) { |
return NativeCodeFunctionSourceString(func); |
} |