Index: src/js/messages.js |
diff --git a/src/js/messages.js b/src/js/messages.js |
index 6eac9828e6189c8c70d2976fea32013c90d0f003..581f457a3157a146a3c31b48245d0d0688c45911 100644 |
--- a/src/js/messages.js |
+++ b/src/js/messages.js |
@@ -994,9 +994,8 @@ function MakeURIError() { |
// Boilerplate for exceptions for stack overflows. Used from |
// Isolate::StackOverflow(). |
var StackOverflowBoilerplate = MakeRangeError(kStackOverflow); |
-%DefineAccessorPropertyUnchecked(StackOverflowBoilerplate, 'stack', |
- StackTraceGetter, StackTraceSetter, |
- DONT_ENUM); |
+utils.InstallGetterSetter(StackOverflowBoilerplate, 'stack', |
+ StackTraceGetter, StackTraceSetter) |
// Define actual captureStackTrace function after everything has been set up. |
captureStackTrace = function captureStackTrace(obj, cons_opt) { |