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

Unified Diff: src/liveobjectlist.cc

Issue 11880017: Remove some ascii checks in advance of latin-1 release (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 11 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/heap-inl.h ('k') | src/v8utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/liveobjectlist.cc
diff --git a/src/liveobjectlist.cc b/src/liveobjectlist.cc
index 6dbe0a86e725c0b98fa22109fd3403c3f6c12bd5..e63fc929e67320886a3aeca2487b309fc1003a05 100644
--- a/src/liveobjectlist.cc
+++ b/src/liveobjectlist.cc
@@ -2025,7 +2025,6 @@ Object* LiveObjectList::PrintObj(int obj_id) {
MemoryMappedExternalResource* resource =
new MemoryMappedExternalResource(temp_filename.start(), true);
if (resource->exists() && !resource->is_empty()) {
- ASSERT(resource->IsAscii());
Handle<String> dump_string =
factory->NewExternalStringFromAscii(resource);
heap->external_string_table()->AddString(*dump_string);
@@ -2232,7 +2231,6 @@ Object* LiveObjectList::GetPathPrivate(HeapObject* obj1, HeapObject* obj2) {
MemoryMappedExternalResource* resource =
new MemoryMappedExternalResource(temp_filename.start(), true);
if (resource->exists() && !resource->is_empty()) {
- ASSERT(resource->IsAscii());
Handle<String> path_string =
factory->NewExternalStringFromAscii(resource);
heap->external_string_table()->AddString(*path_string);
« no previous file with comments | « src/heap-inl.h ('k') | src/v8utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698