/[jscoverage]/trunk/js/jsstaticcheck.h
ViewVC logotype

Diff of /trunk/js/jsstaticcheck.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 459 by siliconforks, Thu Oct 23 19:03:33 2008 UTC revision 460 by siliconforks, Sat Sep 26 23:15:22 2009 UTC
# Line 49  Line 49 
49    
50  /* avoid unused goto-label warnings */  /* avoid unused goto-label warnings */
51  #define MUST_FLOW_LABEL(label) goto label; label:  #define MUST_FLOW_LABEL(label) goto label; label:
52    
53    inline JS_FORCES_STACK void VOUCH_DOES_NOT_REQUIRE_STACK() {}
54    
55    inline JS_FORCES_STACK void
56    JS_ASSERT_NOT_ON_TRACE(JSContext *cx)
57    {
58        JS_ASSERT(!JS_ON_TRACE(cx));
59    }
60    
61  #else  #else
62  #define MUST_FLOW_THROUGH(label) ((void)0)  #define MUST_FLOW_THROUGH(label)            ((void) 0)
63  #define MUST_FLOW_LABEL(label)  #define MUST_FLOW_LABEL(label)
64    #define VOUCH_DOES_NOT_REQUIRE_STACK()      ((void) 0)
65    #define JS_ASSERT_NOT_ON_TRACE(cx)          JS_ASSERT(!JS_ON_TRACE(cx))
66  #endif  #endif
67    #define VOUCH_HAVE_STACK                    VOUCH_DOES_NOT_REQUIRE_STACK
68    
69  #endif /* jsstaticcheck_h___ */  #endif /* jsstaticcheck_h___ */

Legend:
Removed from v.459  
changed lines
  Added in v.460

  ViewVC Help
Powered by ViewVC 1.1.24