⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 167563 in webkit


Ignore:
Timestamp:
Apr 19, 2014, 9:42:42 PM (12 years ago)
Author:
fpizlo@apple.com
Message:

It should be OK to store new fields into objects that have no prototypes
https://bugs.webkit.org/show_bug.cgi?id=131905

Reviewed by Mark Hahnenberg.

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::emitPrototypeChecks):

  • tests/stress/put-by-id-transition-null-prototype.js: Added.

(foo):

Location:
trunk/Source/JavaScriptCore
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r167557 r167563  
     12014-04-19  Filip Pizlo  <fpizlo@apple.com>
     2
     3        It should be OK to store new fields into objects that have no prototypes
     4        https://bugs.webkit.org/show_bug.cgi?id=131905
     5
     6        Reviewed by Mark Hahnenberg.
     7
     8        * dfg/DFGByteCodeParser.cpp:
     9        (JSC::DFG::ByteCodeParser::emitPrototypeChecks):
     10        * tests/stress/put-by-id-transition-null-prototype.js: Added.
     11        (foo):
     12
    1132014-04-19  Benjamin Poulain  <bpoulain@apple.com>
    214
  • trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp

    r167467 r167563  
    18861886        base = cellConstantWithStructureCheck(currentObject, currentStructure);
    18871887    }
    1888     RELEASE_ASSERT(base);
    18891888    return base;
    18901889}
Note: See TracChangeset for help on using the changeset viewer.