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

Side by Side Diff: src/objects-debug.cc

Issue 11600: * Rename to Irregexp throughout.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/regexp2000/
Patch Set: Created 12 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 FixedArray* arr = FixedArray::cast(data()); 667 FixedArray* arr = FixedArray::cast(data());
668 ASSERT(arr->get(JSRegExp::kAtomPatternIndex)->IsString()); 668 ASSERT(arr->get(JSRegExp::kAtomPatternIndex)->IsString());
669 break; 669 break;
670 } 670 }
671 case JSRegExp::JSCRE: { 671 case JSRegExp::JSCRE: {
672 FixedArray* arr = FixedArray::cast(data()); 672 FixedArray* arr = FixedArray::cast(data());
673 Object* jscre_data = arr->get(JSRegExp::kJscreDataIndex); 673 Object* jscre_data = arr->get(JSRegExp::kJscreDataIndex);
674 ASSERT(jscre_data->IsFixedArray() || jscre_data->IsUndefined()); 674 ASSERT(jscre_data->IsFixedArray() || jscre_data->IsUndefined());
675 break; 675 break;
676 } 676 }
677 case JSRegExp::RE2K: { 677 case JSRegExp::IRREGEXP: {
678 FixedArray* arr = FixedArray::cast(data()); 678 FixedArray* arr = FixedArray::cast(data());
679 Object* jscre_data = arr->get(JSRegExp::kJscreDataIndex); 679 Object* jscre_data = arr->get(JSRegExp::kJscreDataIndex);
680 ASSERT(jscre_data->IsFixedArray()); 680 ASSERT(jscre_data->IsFixedArray());
681 break; 681 break;
682 } 682 }
683 default: 683 default:
684 ASSERT_EQ(JSRegExp::NOT_COMPILED, TypeTag()); 684 ASSERT_EQ(JSRegExp::NOT_COMPILED, TypeTag());
685 ASSERT(data()->IsUndefined()); 685 ASSERT(data()->IsUndefined());
686 break; 686 break;
687 } 687 }
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
1056 } 1056 }
1057 current = hash; 1057 current = hash;
1058 } 1058 }
1059 return true; 1059 return true;
1060 } 1060 }
1061 1061
1062 1062
1063 #endif // DEBUG 1063 #endif // DEBUG
1064 1064
1065 } } // namespace v8::internal 1065 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/regexp-macro-assembler.h » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698