Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.41 KB | None | 0 0
  1. diff -r 951f34044122 js/src/jsobjinlines.h
  2. --- a/js/src/jsobjinlines.h Tue Feb 15 19:00:55 2011 -0800
  3. +++ b/js/src/jsobjinlines.h Thu Feb 24 21:14:51 2011 +0100
  4. @@ -248,7 +248,7 @@
  5.  inline bool
  6.  JSObject::canHaveMethodBarrier() const
  7.  {
  8. -    return isObject() || isFunction() || isPrimitive() || isDate();
  9. +    return isObject() || isFunction() || isPrimitive() || isDate() || isRegExp();
  10.  }
  11.  
  12.  inline bool
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement