Index: src/heap.h |
=================================================================== |
--- src/heap.h (revision 12826) |
+++ src/heap.h (working copy) |
@@ -1451,6 +1451,10 @@ |
STATIC_CHECK(kFalseValueRootIndex == Internals::kFalseValueRootIndex); |
STATIC_CHECK(kempty_symbolRootIndex == Internals::kEmptySymbolRootIndex); |
+ // Generated code can embed direct references to non-writable roots if |
+ // they are in new space. |
danno
2012/11/07 21:51:36
I don't think this comment is correct. The comment
|
+ static bool RootCanBeWrittenAfterInitialization(RootListIndex root_index); |
+ |
MUST_USE_RESULT MaybeObject* NumberToString( |
Object* number, bool check_number_string_cache = true); |
MUST_USE_RESULT MaybeObject* Uint32ToString( |