Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: src/code-stubs.cc

Issue 12210083: Renamed "symbols" to "internalized strings" throughout the code base, (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Yang's comments Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index 5e3795ce69386d7ca7d3689d082a3e7cff16de93..a4ac84a966e942f4997ffefaf60fd2ec3a728df7 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -296,8 +296,8 @@ void ICCompareStub::AddToSpecialCache(Handle<Code> new_object) {
Factory* factory = isolate->factory();
return Map::UpdateCodeCache(known_map_,
strict() ?
- factory->strict_compare_ic_symbol() :
- factory->compare_ic_symbol(),
+ factory->strict_compare_ic_string() :
+ factory->compare_ic_string(),
new_object);
}
@@ -311,8 +311,8 @@ bool ICCompareStub::FindCodeInSpecialCache(Code** code_out, Isolate* isolate) {
Handle<Object> probe(
known_map_->FindInCodeCache(
strict() ?
- *factory->strict_compare_ic_symbol() :
- *factory->compare_ic_symbol(),
+ *factory->strict_compare_ic_string() :
+ *factory->compare_ic_string(),
flags));
if (probe->IsCode()) {
*code_out = Code::cast(*probe);
@@ -373,8 +373,8 @@ void ICCompareStub::Generate(MacroAssembler* masm) {
case CompareIC::STRING:
GenerateStrings(masm);
break;
- case CompareIC::SYMBOL:
- GenerateSymbols(masm);
+ case CompareIC::INTERNALIZED_STRING:
+ GenerateInternalizedStrings(masm);
break;
case CompareIC::OBJECT:
GenerateObjects(masm);
« no previous file with comments | « src/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698