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; |