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

Side by Side Diff: src/objects.cc

Issue 24120007: Rename StubType MAP_TRANSITION to TRANSITION. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/objects.h ('k') | src/stub-cache.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 10766 matching lines...) Expand 10 before | Expand all | Expand 10 after
10777 } 10777 }
10778 10778
10779 10779
10780 const char* Code::StubType2String(StubType type) { 10780 const char* Code::StubType2String(StubType type) {
10781 switch (type) { 10781 switch (type) {
10782 case NORMAL: return "NORMAL"; 10782 case NORMAL: return "NORMAL";
10783 case FIELD: return "FIELD"; 10783 case FIELD: return "FIELD";
10784 case CONSTANT: return "CONSTANT"; 10784 case CONSTANT: return "CONSTANT";
10785 case CALLBACKS: return "CALLBACKS"; 10785 case CALLBACKS: return "CALLBACKS";
10786 case INTERCEPTOR: return "INTERCEPTOR"; 10786 case INTERCEPTOR: return "INTERCEPTOR";
10787 case MAP_TRANSITION: return "MAP_TRANSITION"; 10787 case TRANSITION: return "TRANSITION";
10788 case NONEXISTENT: return "NONEXISTENT"; 10788 case NONEXISTENT: return "NONEXISTENT";
10789 } 10789 }
10790 UNREACHABLE(); // keep the compiler happy 10790 UNREACHABLE(); // keep the compiler happy
10791 return NULL; 10791 return NULL;
10792 } 10792 }
10793 10793
10794 10794
10795 void Code::PrintExtraICState(FILE* out, Kind kind, ExtraICState extra) { 10795 void Code::PrintExtraICState(FILE* out, Kind kind, ExtraICState extra) {
10796 PrintF(out, "extra_ic_state = "); 10796 PrintF(out, "extra_ic_state = ");
10797 const char* name = NULL; 10797 const char* name = NULL;
(...skipping 5352 matching lines...) Expand 10 before | Expand all | Expand 10 after
16150 #define ERROR_MESSAGES_TEXTS(C, T) T, 16150 #define ERROR_MESSAGES_TEXTS(C, T) T,
16151 static const char* error_messages_[] = { 16151 static const char* error_messages_[] = {
16152 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS) 16152 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS)
16153 }; 16153 };
16154 #undef ERROR_MESSAGES_TEXTS 16154 #undef ERROR_MESSAGES_TEXTS
16155 return error_messages_[reason]; 16155 return error_messages_[reason];
16156 } 16156 }
16157 16157
16158 16158
16159 } } // namespace v8::internal 16159 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698