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

Unified Diff: src/objects.cc

Issue 504183002: Remove dead code from LookupResult (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Install the LoadFastElementStub descriptor and addressed comments Created 6 years, 4 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/mirror-debugger.js ('k') | src/objects-printer.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 3f1bdc6d31fc235703fbc05c9fe836ef5efcb8e4..7a4c6f5e803a552ecdfa13cc4f463ebaa2809c94 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -2775,8 +2775,6 @@ MaybeHandle<Map> Map::TryUpdateInternal(Handle<Map> old_map) {
break;
case NORMAL:
- case HANDLER:
- case INTERCEPTOR:
UNREACHABLE();
}
}
@@ -4230,9 +4228,6 @@ void JSObject::MigrateFastToSlow(Handle<JSObject> object,
dictionary = NameDictionary::Add(dictionary, key, value, d);
break;
}
- case INTERCEPTOR:
- break;
- case HANDLER:
case NORMAL:
UNREACHABLE();
break;
@@ -6737,8 +6732,7 @@ bool DescriptorArray::CanHoldValue(int descriptor, Object* value) {
return false;
case NORMAL:
- case INTERCEPTOR:
- case HANDLER:
+ UNREACHABLE();
break;
}
« no previous file with comments | « src/mirror-debugger.js ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698