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

Unified Diff: src/objects-printer.cc

Issue 23584004: Remove OptimizedCodeEntry *sigh*. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects-inl.h ('k') | src/objects-visiting.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-printer.cc
diff --git a/src/objects-printer.cc b/src/objects-printer.cc
index dd6cd2c4ed72de35599033850307c80e11fba4f9..9ea060f5ed81f7abcba5a7617de45490ae59480d 100644
--- a/src/objects-printer.cc
+++ b/src/objects-printer.cc
@@ -195,9 +195,6 @@ void HeapObject::HeapObjectPrint(FILE* out) {
case SHARED_FUNCTION_INFO_TYPE:
SharedFunctionInfo::cast(this)->SharedFunctionInfoPrint(out);
break;
- case OPTIMIZED_CODE_ENTRY_TYPE:
- OptimizedCodeEntry::cast(this)->OptimizedCodeEntryPrint(out);
- break;
case JS_MESSAGE_OBJECT_TYPE:
JSMessageObject::cast(this)->JSMessageObjectPrint(out);
break;
@@ -893,25 +890,6 @@ void SharedFunctionInfo::SharedFunctionInfoPrint(FILE* out) {
}
-void OptimizedCodeEntry::OptimizedCodeEntryPrint(FILE* out) {
- HeapObject::PrintHeader(out, "OptimizedCodeEntry");
- PrintF(out, "\n - native_context = ");
- native_context()->ShortPrint(out);
- PrintF(out, "\n - function = ");
- function()->ShortPrint(out);
- PrintF(out, "\n - code = ");
- code()->ShortPrint(out);
- PrintF(out, "\n - literals = ");
- literals()->ShortPrint(out);
- PrintF(out, "\n - next_by_shared_info = ");
- next_by_shared_info()->ShortPrint(out);
- PrintF(out, "\n - next_by_native_context = ");
- next_by_native_context()->ShortPrint(out);
- PrintF(out, "\n - cacheable = %s", cacheable() ? "true" : "false");
- PrintF(out, "\n");
-}
-
-
void JSGlobalProxy::JSGlobalProxyPrint(FILE* out) {
PrintF(out, "global_proxy ");
JSObjectPrint(out);
« no previous file with comments | « src/objects-inl.h ('k') | src/objects-visiting.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698