From: verwaest@chromium.org Date: Mon, 16 Sep 2013 09:30:43 +0000 (+0000) Subject: Rename StubType MAP_TRANSITION to TRANSITION. X-Git-Tag: upstream/4.7.83~12492 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=223ac69ff633d6a144b8d0628c7d2499c0cb1be3;p=platform%2Fupstream%2Fv8.git Rename StubType MAP_TRANSITION to TRANSITION. R=mvstanton@chromium.org Review URL: https://chromiumcodereview.appspot.com/24120007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16726 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/objects.cc b/src/objects.cc index bb78a8e..d586c4a 100644 --- a/src/objects.cc +++ b/src/objects.cc @@ -10784,7 +10784,7 @@ const char* Code::StubType2String(StubType type) { case CONSTANT: return "CONSTANT"; case CALLBACKS: return "CALLBACKS"; case INTERCEPTOR: return "INTERCEPTOR"; - case MAP_TRANSITION: return "MAP_TRANSITION"; + case TRANSITION: return "TRANSITION"; case NONEXISTENT: return "NONEXISTENT"; } UNREACHABLE(); // keep the compiler happy diff --git a/src/objects.h b/src/objects.h index 9ddf10f..e5c1a22 100644 --- a/src/objects.h +++ b/src/objects.h @@ -4812,7 +4812,7 @@ class Code: public HeapObject { CONSTANT, CALLBACKS, INTERCEPTOR, - MAP_TRANSITION, + TRANSITION, NONEXISTENT }; diff --git a/src/stub-cache.cc b/src/stub-cache.cc index 7b23d0c..338ed2a 100644 --- a/src/stub-cache.cc +++ b/src/stub-cache.cc @@ -520,7 +520,7 @@ Handle StubCache::ComputeStoreTransition(Handle name, Handle transition, StrictModeFlag strict_mode) { Handle stub = FindStoreHandler( - name, receiver, Code::STORE_IC, Code::MAP_TRANSITION, strict_mode); + name, receiver, Code::STORE_IC, Code::TRANSITION, strict_mode); if (!stub.is_null()) return stub; StoreStubCompiler compiler(isolate_, strict_mode); @@ -702,7 +702,7 @@ Handle StubCache::ComputeKeyedStoreTransition( Handle transition, StrictModeFlag strict_mode) { Handle stub = FindStoreHandler( - name, receiver, Code::KEYED_STORE_IC, Code::MAP_TRANSITION, strict_mode); + name, receiver, Code::KEYED_STORE_IC, Code::TRANSITION, strict_mode); if (!stub.is_null()) return stub; KeyedStoreStubCompiler compiler(isolate(), strict_mode, STANDARD_STORE); @@ -1849,7 +1849,7 @@ Handle BaseStoreStubCompiler::CompileStoreTransition( TailCallBuiltin(masm(), SlowBuiltin(kind())); // Return the generated code. - return GetCode(kind(), Code::MAP_TRANSITION, name); + return GetCode(kind(), Code::TRANSITION, name); }