Version 3.8.3

Avoid embedding new space objects into code objects in the lithium gap resolver. (chromium:108296)

Bug fixes and performance optimizations on all platforms.

git-svn-id: http://v8.googlecode.com/svn/trunk@10304 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/string-search.h b/src/string-search.h
index f540583..8c3456a 100644
--- a/src/string-search.h
+++ b/src/string-search.h
@@ -369,6 +369,10 @@
   shift_table[pattern_length] = 1;
   suffix_table[pattern_length] = pattern_length + 1;
 
+  if (pattern_length <= start) {
+    return;
+  }
+
   // Find suffixes.
   PatternChar last_char = pattern[pattern_length - 1];
   int suffix = pattern_length + 1;