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

Unified Diff: src/objects-debug.cc

Issue 21504: Remove JSCRE (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 10 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
Index: src/objects-debug.cc
===================================================================
--- src/objects-debug.cc (revision 1305)
+++ src/objects-debug.cc (working copy)
@@ -693,16 +693,10 @@
ASSERT(arr->get(JSRegExp::kAtomPatternIndex)->IsString());
break;
}
- case JSRegExp::JSCRE: {
- FixedArray* arr = FixedArray::cast(data());
- Object* jscre_data = arr->get(JSRegExp::kJscreDataIndex);
- ASSERT(jscre_data->IsFixedArray() || jscre_data->IsUndefined());
- break;
- }
case JSRegExp::IRREGEXP: {
FixedArray* arr = FixedArray::cast(data());
- Object* jscre_data = arr->get(JSRegExp::kJscreDataIndex);
- ASSERT(jscre_data->IsFixedArray());
+ Object* irregexp_data = arr->get(JSRegExp::kIrregexpDataIndex);
+ ASSERT(irregexp_data->IsFixedArray());
break;
}
default:
« LICENSE ('K') | « src/objects.h ('k') | src/third_party/jscre/ASCIICType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698