Description(The following text appears in 'myvn describe' but was not showing here on appspot. I don't know why.
Fixes uses of cajita's taming API and improves primFreeze speed.
Deprecated in ___, in anticipation of removal:
* grantEnumOnly, grantCall, grantGeneric, useApplyHandler, useCallHandler,
handleGeneric, grantTypedGeneric, grantMutator, useDeleteHandler,
isXo4aFunc, xo4a.
Several of these will continue to be used internal to cajita.js, but
should no longer be exposed.
* Changed incorrect uses of ___.func() to use ___.markFuncFreeze().
* Changed incorrect uses of ___.grantCall() to a grant that also
correctly determines what is read.
* Changed anachronistic "grantEnumOnly" to "grantEnum". Likewise
fastpathEnumOnly.
* grantGeneric -> grantGenericMethod
* grantTypedGeneric -> grantTypedMethod
* grantMutator -> grantMutatingMethod
* handleGeneric -> handleGenericMethod
* ctor -> markCtor
* frozenFunc -> markFuncFreeze
* func -> markFuncOnly (only used by cajoled output)
* xo4a -> markXo4a (only within cajita.js)
primFreeze was typically doing much unneeded work enumerating all
property names with a for-in, in order to delete or override
the per-property *_canSet___ and *_canDelete___ flags. Instead, added
a per-object SLOWFREEZE___ flag that records whether there may be any
*_canSet___ or *_canDelete___ on this object. If not, as is typical,
primFreeze can safely skip the enumeration.
Added more internal diagnostics to catch more accidental bad usage of
the taming API.
Moved most of the logic for creating inert constructors from hidden
tamed constructors from domita.js's inertClassCtor() to cajita.js's
extend(). Refactored some to remove redundancy and make more robust.
Fixes issue 1058 simply by removing the code that overrode the grant*
operations. The CajaRuntimeDebuggingRewriter already rewrites the code
it generates to avoid checking the fastpath flags by just calling the
entry functions directly. Since the internal logic for using the
fastpath is still intact, that should close issue 1058.
Patch Set 1 #Patch Set 2 : Fixes uses cajita's taming API #Patch Set 3 : Fixes uses cajita's taming API #Patch Set 4 : Fixes uses cajita's taming API and improves primFreeze speed. #Patch Set 5 : Fixes uses cajita's taming API and improves primFreeze speed. #Patch Set 6 : Fixes uses cajita's taming API and improves primFreeze speed. #Patch Set 7 : Fixes uses of cajita's taming API and improves primFreeze speed. #
Total comments: 12
Patch Set 8 : Fixes uses of cajita's taming API and improves primFreeze speed. #Patch Set 9 : Fixes uses of cajita's taming API and improves primFreeze speed. #Patch Set 10 : Fixes uses of cajita's taming API and improves primFreeze speed. #Patch Set 11 : Fixes uses of cajita's taming API and improves primFreeze speed. #Patch Set 12 : Fixes uses of cajita's taming API and improves primFreeze speed. #Patch Set 13 : Fixes uses of cajita's taming API and improves primFreeze speed. #
Total comments: 17
Patch Set 14 : Fixes uses of cajita's taming API and improves primFreeze speed. #Patch Set 15 : Fixes uses of cajita's taming API and improves primFreeze speed. #Patch Set 16 : Fixes uses of cajita's taming API and improves primFreeze speed. #MessagesTotal messages: 10
|