Better naming (MARK_EXIT => MARK_REGS).

This commit is contained in:
Andreas Gal 2008-06-30 18:41:22 -07:00
parent 84274f1b33
commit 1567618f99

View File

@ -2823,11 +2823,11 @@ JS_INTERPRET(JSContext *cx, JSInterpreterState *state)
# define ABORT_TRACE(x) \ # define ABORT_TRACE(x) \
REPORT_ABORT(x); \ REPORT_ABORT(x); \
goto abort_recording; goto abort_recording;
# define MARK_EXIT(x) \ # define MARK_REGS(x) \
JS_TRACE_MONITOR(cx).recorder->mark(); JS_TRACE_MONITOR(cx).recorder->mark();
#else #else
# define ABORT_TRACE(x) ((void)0) # define ABORT_TRACE(x) ((void)0)
# define MARK_EXIT(x) ((void)0) # define MARK_REGS(x) ((void)0)
#endif #endif
#if JS_THREADED_INTERP #if JS_THREADED_INTERP
@ -2860,7 +2860,7 @@ JS_INTERPRET(JSContext *cx, JSInterpreterState *state)
# define BEGIN_CASE(OP) L_##OP: \ # define BEGIN_CASE(OP) L_##OP: \
ABORT_TRACE(#OP); ABORT_TRACE(#OP);
# define TRACE_CASE(OP) L_##OP: \ # define TRACE_CASE(OP) L_##OP: \
MARK_EXIT(); MARK_REGS();
# define END_CASE(OP) DO_NEXT_OP(OP##_LENGTH); # define END_CASE(OP) DO_NEXT_OP(OP##_LENGTH);
# define END_VARLEN_CASE DO_NEXT_OP(len); # define END_VARLEN_CASE DO_NEXT_OP(len);
# define ADD_EMPTY_CASE(OP) TRACE_CASE(OP) \ # define ADD_EMPTY_CASE(OP) TRACE_CASE(OP) \