src/jdk/nashorn/internal/objects/NativeRegExp.java

Print this page

        

*** 68,83 **** private final Global globalObject; // initialized by nasgen private static PropertyMap $nasgenmap$; - static PropertyMap getInitialMap() { - return $nasgenmap$; - } - private NativeRegExp(final Global global) { ! super(global.getRegExpPrototype(), getInitialMap()); this.globalObject = global; } NativeRegExp(final String input, final String flagString, final Global global) { this(global); --- 68,79 ---- private final Global globalObject; // initialized by nasgen private static PropertyMap $nasgenmap$; private NativeRegExp(final Global global) { ! super(global.getRegExpPrototype(), $nasgenmap$); this.globalObject = global; } NativeRegExp(final String input, final String flagString, final Global global) { this(global);