Closed Bug 469872 Opened 16 years ago Closed 16 years ago

jsstack.js errors in tracemonkey (JS_FORCES_STACK isn't working)

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: benjamin, Assigned: dmandelin)

References

Details

Attachments

(1 file)

Tracemonkey with static checking is currently broken:

../../../src/js/src/jsapi.cpp: In function ‘void JS_RestoreFrameChain(JSContext*, JSStackFrame*)’:
../../../src/js/src/jsapi.cpp:5387: error: cannot access JS_REQUIRES_STACK variable JSContext::fp
../../../src/js/src/jsapi.cpp:5392: error: cannot access JS_REQUIRES_STACK variable JSContext::fp
../../../src/js/src/jsapi.cpp: In function ‘JSStackFrame* JS_SaveFrameChain(JSContext*)’:
../../../src/js/src/jsapi.cpp:5378: error: cannot access JS_REQUIRES_STACK variable JSContext::fp
../../../src/js/src/jsapi.cpp: In function ‘JSBool JS_IsRunning(JSContext*)’:
../../../src/js/src/jsapi.cpp:5334: error: cannot access JS_REQUIRES_STACK variable JSContext::fp
../../../src/js/src/jsapi.cpp: In function ‘JSBool js_generic_native_method_dispatcher(JSContext*, JSObject*, uintN, jsval*, jsval*)’:
../../../src/js/src/jsapi.cpp:4585: error: cannot access JS_REQUIRES_STACK variable JSContext::fp

This is an error in the analysis script: it appears that JS_FORCES_STACK isn't actually producing the desired effect. I'm not sure why!

Note: if this isn't fixed by the next tracemonkey->mozilla-central merge, it will cause the static-checking tinderbox to go red.
Assignee: nobody → dmandelin
Attached patch PatchSplinter Review
Attachment #353288 - Flags: review?(jorendorff)
Attachment #353288 - Flags: review?(jorendorff) → review+
Pushed to gcc-dehydra.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: