Home | History | Annotate | Download | only in src

Lines Matching refs:symbol

711   // Additionally make the object into an external symbol if the original string
712 // was a symbol to start with.
715 // Now morph this external string into a external symbol.
757 // Additionally make the object into an external symbol if the original string
758 // was a symbol to start with.
761 // Now morph this external string into a external symbol.
3243 // Ensure the key is a symbol.
4715 Object* symbol = Heap::LookupAsciiSymbol(to_string);
4716 if (symbol->IsFailure()) return symbol;
4717 set_to_string(String::cast(symbol));
6777 // SymbolKey carries a string/symbol object as key.
6802 // Transform string to symbol if possible.
6809 // Otherwise allocate a new symbol.
7347 // This class is used for looking up two character strings in the symbol table.
7396 // The TwoCharHashTableKey is only used for looking in the symbol
7408 bool SymbolTable::LookupSymbolIfExists(String* string, String** symbol) {
7416 *symbol = result;
7424 String** symbol) {
7432 *symbol = result;
7447 // Symbol already in table.
7453 // Adding new symbol. Grow table if needed.
7457 // Create symbol object.
7458 Object* symbol = key->AsObject();
7459 if (symbol->IsFailure()) return symbol;
7461 // If the symbol table grew as part of EnsureCapacity, obj is not
7462 // the current symbol table and therefore we cannot use
7466 // Add the new symbol and return it along with the symbol table.
7468 table->set(EntryToIndex(entry), symbol);
7470 *s = symbol;
7996 // Ensure the key is a symbol before writing into the instance descriptor.