Change asX to toX, asXRef to getXRef, XTag to XValue

This commit is contained in:
Luke Wagner
2010-07-05 13:44:59 -07:00
parent cb18f471fd
commit 7f741ffaff
53 changed files with 880 additions and 870 deletions

View File

@@ -342,7 +342,7 @@ js_GetIndexFromBytecode(JSContext *cx, JSScript *script, jsbytecode *pc,
JS_BEGIN_MACRO \
uintN index_ = js_GetIndexFromBytecode(cx, (script), (pc), (pcoff)); \
JS_ASSERT(index_ < (script)->consts()->length); \
(dbl) = (script)->getConst(index_).asDouble(); \
(dbl) = (script)->getConst(index_).toDouble(); \
JS_END_MACRO
#define GET_OBJECT_FROM_BYTECODE(script, pc, pcoff, obj) \