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

Unified Diff: src/objects.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.h ('k') | src/objects-debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 75c96a6b0c2fbc4ca1d85af82a27843674bbb1b4..fa005091dd7f33ad003f305844cb80bfa687d271 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -1790,10 +1790,6 @@ void HeapObject::IterateBody(InstanceType type, int object_size,
SharedFunctionInfo::BodyDescriptor::IterateBody(this, v);
break;
}
- case OPTIMIZED_CODE_ENTRY_TYPE: {
- OptimizedCodeEntry::BodyDescriptor::IterateBody(this, v);
- break;
- }
#define MAKE_STRUCT_CASE(NAME, Name, name) \
case NAME##_TYPE:
@@ -9426,15 +9422,6 @@ void SharedFunctionInfo::TrimOptimizedCodeMap(int shrink_by) {
}
-void OptimizedCodeEntry::Kill() {
- set_function(NULL, SKIP_WRITE_BARRIER);
- set_code(NULL, SKIP_WRITE_BARRIER);
- set_native_context(NULL, SKIP_WRITE_BARRIER);
- set_literals(NULL, SKIP_WRITE_BARRIER);
- set_cacheable(false);
-}
-
-
bool JSFunction::CompileLazy(Handle<JSFunction> function,
ClearExceptionFlag flag) {
bool result = true;
« no previous file with comments | « src/objects.h ('k') | src/objects-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698