Changeset 52984 in webkit for trunk/JavaScriptCore/runtime


Ignore:
Timestamp:
Jan 8, 2010, 3:44:19 AM (15 years ago)
Author:
[email protected]
Message:

2010-01-08 Eric Seidel <[email protected]>

No review, rolling out r52981.
http://trac.webkit.org/changeset/52981
https://bugs.webkit.org/show_bug.cgi?id=33319

Caused two JS tests to start failing:
ecma_2/RegExp/properties-001.js and js1_2/regexp/toString.js

  • runtime/RegExpPrototype.cpp: (JSC::regExpProtoFuncToString):

2010-01-08 Eric Seidel <[email protected]>

No review, rolling out r52981.
http://trac.webkit.org/changeset/52981
https://bugs.webkit.org/show_bug.cgi?id=33319

Caused two JS tests to start failing:
ecma_2/RegExp/properties-001.js and js1_2/regexp/toString.js

  • fast/js/kde/RegExp-expected.txt:
  • fast/js/kde/script-tests/RegExp.js:
  • fast/js/regexp-compile-expected.txt:
  • fast/js/script-tests/regexp-compile.js:
  • fast/regex/non-pattern-characters-expected.txt:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/RegExpPrototype.cpp

    r52981 r52984  
    115115    if (asRegExpObject(thisValue)->get(exec, exec->propertyNames().multiline).toBoolean(exec))
    116116        postfix[index] = 'm';
    117     UString source = asRegExpObject(thisValue)->get(exec, exec->propertyNames().source).toString(exec);
    118     return jsNontrivialString(exec, makeString("/", source.size() ? source : UString("(?:)"), postfix));
     117   
     118    return jsNontrivialString(exec, makeString("/", asRegExpObject(thisValue)->get(exec, exec->propertyNames().source).toString(exec), postfix));
    119119}
    120120
Note: See TracChangeset for help on using the changeset viewer.