Bug 880041 (part 1) - Introduce JSObject::{is,as} template functions, and use them for ModuleObject.  r=nnethercote.

--HG--
extra : rebase_source : 46a475d54d29fd8a20ca3f201368b350b6d69008
Bug 880041 (part 2) - Use JSObject::{is,as} for {Normal,Strict,}ArgumentsObjects.  r=luke.

--HG--
extra : rebase_source : 1648dd8eae1d1fdcc28644b9865960560ba301f8
Bug 880041 (part 3) - Use JSObject::{is,as} for ArrayBufferObject.  r=luke.

--HG--
extra : rebase_source : 0c37996aa68c943451a52e819d6c6fb71eb0a7b4
Bug 880041 (part 4) - Use JSObject::{is,as} for DataViewObject.  r=luke.

--HG--
extra : rebase_source : 07ff2585a6e592d0ae0ec9716556d61165eb6a50
Bug 880041 (part 5) - Use JSObject::{is,as} for ElementIteratorObject.  r=sfink.

--HG--
extra : rebase_source : 0f71366ff461d7c4d021e1d0381dad1b45462342
Bug 880041 (part 6) - Use JSObject::{is,as} for MapIteratorObject.  r=sfink.

--HG--
extra : rebase_source : 32577e3ec9c0aebc94dfedd46e7af29d8475c927
Bug 880041 (part 7) - Remove JSObject::isPrimitive, because it's dead.  r=sfink.

--HG--
extra : rebase_source : 1e71fe2261b01b3769ecbb4377f8ef19d3a813da
Bug 880041 (part 8) - Use JSObject::{is,as} for PropertyIteratorObject.  r=sfink.

--HG--
extra : rebase_source : 07cb730830bc8f61d6c28148c8c1e7e3ee94a6c8
Bug 880041 (part 9) - Use JSObject::{is,as} for RegExpObject.  r=sfink.

--HG--
extra : rebase_source : 083c58e8a82bf7edb2a46e24cae47236af51a2ac
Bug 880041 (part 10) - Use JSObject::{is,as} for ScriptSourceObject.  r=evilpies.

--HG--
extra : rebase_source : d55f1fa65735074b96e8006a76939defc5f40379
Bug 880041 (part 11) - Use JSObject::{is,as} for SetIteratorObject.  r=evilpies.

--HG--
extra : rebase_source : de562a03da15209322232e0c9f00d1f0c07abbfb
Bug 880041 (part 12) - Use JSObject::{is,as} for BlockObject.  r=evilpies.

--HG--
extra : rebase_source : c41de9544c966c8859a429a8a0c63875c7d00b71
Bug 880041 (part 13) - Use JSObject::{is,as} for CallObject.  r=evilpies.

--HG--
extra : rebase_source : 6d7f5171a03d5cd963ac869566b7661bb7ddbc2d
Bug 880041 (part 14) - Use JSObject::{is,as} for DeclEnvObject.  r=evilpies.

--HG--
extra : rebase_source : f4b916ae894c1ed1eefe31d82abd459181621f69