Fix trap instruction in trace-test, bump XDR version (r=dvander)

This commit is contained in:
Bill McCloskey 2010-10-06 11:58:33 -07:00
Родитель 6b12494bf3
Коммит 095ae8501a
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -205,7 +205,7 @@ JS_XDRFindClassById(JSXDRState *xdr, uint32 id);
* before deserialization of bytecode. If the saved version does not match * before deserialization of bytecode. If the saved version does not match
* the current version, abort deserialization and invalidate the file. * the current version, abort deserialization and invalidate the file.
*/ */
#define JSXDR_BYTECODE_VERSION (0xb973c0de - 72) #define JSXDR_BYTECODE_VERSION (0xb973c0de - 73)
/* /*
* Library-private functions. * Library-private functions.

Просмотреть файл

@ -3,7 +3,7 @@ x = "notset";
function myparent(nested) { function myparent(nested) {
if (nested) { if (nested) {
/* myparent call in myparent. */ /* myparent call in myparent. */
trap(myparent, 38, "failure()"); trap(myparent, 39, "failure()");
} else { } else {
x = "success"; x = "success";
myparent(true); myparent(true);