Disable RegExpInterruption test for interpreted irregexp.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 15 Oct 2013 08:59:26 +0000 (08:59 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 15 Oct 2013 08:59:26 +0000 (08:59 +0000)
Interrupts are not currently supported by interpreted irregexp.

R=mvstanton@chromium.org
BUG=

Review URL: https://codereview.chromium.org/27312002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17209 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

test/cctest/test-api.cc

index ae6dbfa..c70f988 100644 (file)
@@ -14612,6 +14612,8 @@ TEST(CompileExternalTwoByteSource) {
 }
 
 
+#ifndef V8_INTERPRETED_REGEXP
+
 struct RegExpInterruptionData {
   int loop_count;
   UC16VectorResource* string_resource;
@@ -14681,6 +14683,8 @@ TEST(RegExpInterruption) {
   regexp_interruption_data.string.Dispose();
 }
 
+#endif  // V8_INTERPRETED_REGEXP
+
 
 // Test that we cannot set a property on the global object if there
 // is a read-only property in the prototype chain.