mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-24 19:12:56 +00:00
Style cleanup by leper, preparing the SpiderMonkey update. Refs #3708
This was SVN commit r18579.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#include "ps/CLogger.h"
|
||||
|
||||
#include "scriptinterface/ScriptInterface.h"
|
||||
#include "scriptinterface/ScriptExtraHeaders.h" // for JSDOUBLE_IS_INT32, typed arrays
|
||||
#include "scriptinterface/ScriptExtraHeaders.h"
|
||||
#include "SerializedScriptTypes.h"
|
||||
|
||||
static u8 GetArrayType(JSArrayBufferViewType arrayType)
|
||||
@@ -296,10 +296,6 @@ void CBinarySerializerScriptImpl::HandleScriptVal(JS::HandleValue val)
|
||||
}
|
||||
|
||||
// Find all properties (ordered by insertion time)
|
||||
|
||||
// (Note that we don't do any rooting, because we assume nothing is going to trigger GC.
|
||||
// I'm not absolute certain that's necessarily a valid assumption.)
|
||||
|
||||
JS::AutoIdArray ida (cx, JS_Enumerate(cx, obj));
|
||||
if (!ida)
|
||||
throw PSERROR_Serialize_ScriptError("JS_Enumerate failed");
|
||||
|
||||
Reference in New Issue
Block a user