• ricow@chromium.org's avatar
    Refactor type checks in v8natives.js and runtime.js. · 49573265
    ricow@chromium.org authored
    This includes adding a new inline IsSpecObject method to the code
    generator.  The old approach was somehow ineffecient since we would
    call both IsObject, IsUndetectable and IsFunction to determine if
    something was an object according to the spec. This change introduces
    a new macro that determines if something is an object according to the
    spec (and this does not include null). 
    
    This change also corrects a few places where undetectable objects was
    not allowed even when they should be (priorly they would use only
    IS_SPEC_OBJECT_OR_NULL, which would return false on an undetectable
    object, the new IS_SPEC_OBJECT returns true on an undetectable object.
    
    Review URL: http://codereview.chromium.org/2877018
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5087 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    49573265
Name
Last commit
Last update
benchmarks Loading commit data...
include Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
ChangeLog Loading commit data...
LICENSE Loading commit data...
SConstruct Loading commit data...