MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / is_optimizing

Method is_optimizing

test/test_core.py:459–460  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

457
458 # A simple check whether the compiler arguments cause optimization.
459 def is_optimizing(self):
460 return '-O' in str(self.cflags) and '-O0' not in self.cflags
461
462 def should_use_closure(self):
463 # Don't run closure in all test modes, just a couple, since it slows

Callers 15

test_bigswitchMethod · 0.95
test_biggerswitchMethod · 0.95
test_indirectbr_manyMethod · 0.95
test_source_mapMethod · 0.95
test_dwarfMethod · 0.95
test_return_addressMethod · 0.95
test_safe_stackMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected