зеркало из https://github.com/mozilla/pjs.git
Fix broken aliasing annotations from bug 600016
This commit is contained in:
Родитель
3e7f426a57
Коммит
f5ca4dd467
|
@ -11389,9 +11389,14 @@ roundReturningInt(jsdouble x, int32 *out)
|
|||
return JSDOUBLE_IS_INT32(r, out);
|
||||
}
|
||||
|
||||
JS_DEFINE_CALLINFO_2(static, BOOL, ceilReturningInt, DOUBLE, INT32PTR, 1, ACCSET_NONE)
|
||||
JS_DEFINE_CALLINFO_2(static, BOOL, floorReturningInt, DOUBLE, INT32PTR, 1, ACCSET_NONE)
|
||||
JS_DEFINE_CALLINFO_2(static, BOOL, roundReturningInt, DOUBLE, INT32PTR, 1, ACCSET_NONE)
|
||||
/*
|
||||
* These functions store into their second argument, so they need to
|
||||
* be annotated accordingly. To be future-proof, we use ACCSET_STORE_ANY
|
||||
* so that new callers don't have to remember to update the annotation.
|
||||
*/
|
||||
JS_DEFINE_CALLINFO_2(static, BOOL, ceilReturningInt, DOUBLE, INT32PTR, 0, ACCSET_STORE_ANY)
|
||||
JS_DEFINE_CALLINFO_2(static, BOOL, floorReturningInt, DOUBLE, INT32PTR, 0, ACCSET_STORE_ANY)
|
||||
JS_DEFINE_CALLINFO_2(static, BOOL, roundReturningInt, DOUBLE, INT32PTR, 0, ACCSET_STORE_ANY)
|
||||
|
||||
JS_REQUIRES_STACK RecordingStatus
|
||||
TraceRecorder::callFloatReturningInt(uintN argc, const nanojit::CallInfo *ci)
|
||||
|
|
Загрузка…
Ссылка в новой задаче