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

Unified Diff: src/objects-debug.cc

Issue 27267: Experimental: periodic merge from the bleeding edge branch to the code... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
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
« no previous file with comments | « src/objects.cc ('k') | src/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-debug.cc
===================================================================
--- src/objects-debug.cc (revision 1380)
+++ 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:
« no previous file with comments | « src/objects.cc ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698