| Index: runtime/vm/symbols.h
|
| diff --git a/runtime/vm/symbols.h b/runtime/vm/symbols.h
|
| index 83c7458c255e3cb3fe9b9fd1c5ed766b6d016afe..f4236b2b439bca37f892e0c113343e12f667b8b6 100644
|
| --- a/runtime/vm/symbols.h
|
| +++ b/runtime/vm/symbols.h
|
| @@ -555,19 +555,17 @@ class Symbols : public AllStatic {
|
| static void InitOnce(Isolate* isolate);
|
| static void InitOnceFromSnapshot(Isolate* isolate);
|
|
|
| - // Add all the symbols that were cached in the VM isolate to this isolate,
|
| - // we do this when an Isolate is not created from the snapshot so that
|
| - // we get a unified symbol table that can be be dumped into the VM isolate
|
| - // snapshot.
|
| - static void AddPredefinedSymbolsToIsolate();
|
| -
|
| // Initialize and setup a symbol table for the isolate.
|
| static void SetupSymbolTable(Isolate* isolate);
|
|
|
| + static RawArray* UnifiedSymbolTable();
|
| +
|
| +#if defined(DART_PRECOMPILER)
|
| // Treat the symbol table as weak and collect garbage. Answer the number of
|
| // symbols deleted from the symbol table because they where not referenced
|
| // from anywhere else.
|
| static intptr_t Compact(Isolate* isolate);
|
| +#endif
|
|
|
| // Creates a Symbol given a C string that is assumed to contain
|
| // UTF-8 encoded characters and '\0' is considered a termination character.
|
|
|