MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / getSizeOf

Method getSizeOf

src/ast/ast.cpp:454–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452 }
453
454 int Structure::getSizeOf() const {
455 uint64_t size = getSizeOf64();
456 DAS_ASSERTF(size<=0x7fffffff,"structure %s is too big, %lu",name.c_str(),(unsigned long)size);
457 return (int) (size <= 0x7fffffff ? size : 1);
458 }
459
460 uint64_t Structure::getSizeOf64() const {
461 if ( circularGuard ) return 1;

Callers 15

makeMethod · 0.45
getTypeBaseSizeFunction · 0.45
preVisitMethod · 0.45
preVisitForStackMethod · 0.45
preVisitLetMethod · 0.45
allocateStackMethod · 0.45
emitScopeFreeMethod · 0.45
visitMethod · 0.45
visitMethod · 0.45
sv_makeLocalCMResMoveMethod · 0.45
sv_makeLocalCMResCopyMethod · 0.45
sv_makeLocalRefMoveMethod · 0.45

Calls 1

c_strMethod · 0.45

Tested by 1

makeMethod · 0.36