Revision: 22241
Author: [email protected]
Date: Mon Jul 7 12:31:25 2014 UTC
Log: Remove SetOwnPropertyIgnoreAttribute uses from the bootstrapper
BUG=
[email protected]
Review URL: https://codereview.chromium.org/367763003
http://code.google.com/p/v8/source/detail?r=22241
Modified:
/branches/bleeding_edge/src/bootstrapper.cc
=======================================
--- /branches/bleeding_edge/src/bootstrapper.cc Mon Jul 7 12:21:01 2014 UTC
+++ /branches/bleeding_edge/src/bootstrapper.cc Mon Jul 7 12:31:25 2014 UTC
@@ -2174,15 +2174,10 @@
}
// Expose the stack trace symbol to native JS.
- RETURN_ON_EXCEPTION_VALUE(
- isolate,
- JSObject::SetOwnPropertyIgnoreAttributes(
- handle(native_context->builtins(), isolate),
- factory->InternalizeOneByteString(
- STATIC_ASCII_VECTOR("stack_trace_symbol")),
- factory->stack_trace_symbol(),
- NONE),
- false);
+ JSObject::AddProperty(handle(global->builtins()),
+ factory->InternalizeOneByteString(
+ STATIC_ASCII_VECTOR("stack_trace_symbol")),
+ factory->stack_trace_symbol(), NONE);
// Expose the debug global object in global if a name for it is
specified.
if (FLAG_expose_debug_as != NULL && strlen(FLAG_expose_debug_as) != 0) {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.