Revision: 21365
Author: [email protected]
Date: Mon May 19 12:31:36 2014 UTC
Log: Fix GCMole warning when creating generator arguments poison pill
[email protected]
[email protected]
BUG=
Review URL: https://codereview.chromium.org/289323005
http://code.google.com/p/v8/source/detail?r=21365
Modified:
/branches/bleeding_edge/src/bootstrapper.cc
=======================================
--- /branches/bleeding_edge/src/bootstrapper.cc Mon May 19 10:47:00 2014 UTC
+++ /branches/bleeding_edge/src/bootstrapper.cc Mon May 19 12:31:36 2014 UTC
@@ -1392,8 +1392,9 @@
Handle<AccessorPair> poison_pair(factory()->NewAccessorPair());
PropertyAttributes rw_attribs =
static_cast<PropertyAttributes>(DONT_ENUM | DONT_DELETE);
- poison_pair->set_getter(*GetGeneratorPoisonFunction());
- poison_pair->set_setter(*GetGeneratorPoisonFunction());
+ Handle<JSFunction> poison_function = GetGeneratorPoisonFunction();
+ poison_pair->set_getter(*poison_function);
+ poison_pair->set_setter(*poison_function);
ReplaceAccessors(generator_function_map, factory()->arguments_string(),
rw_attribs, poison_pair);
ReplaceAccessors(generator_function_map, factory()->caller_string(),
--
--
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.