This is actual ISO-C++-code from the Onno sources, my personal enum syntax.UncombedCoconut wrote:A little off-topic: I've never seen this Label:: syntax before. Is this a local struct you defined at the start of the function and populated with the GCC (or ICC) && operator? Or is it an actual language extension (or pseudocode)?
I couldn't find an equivalent for the && operator in MSVC for 64 bit. In MSVC for 32 bit you can use inline assembly to implement your && operator, but it seemed that the compiler could not optimize that well. As I wrote, there is a case switch at the end.
Code: Select all
class Label
{
public:
enum _
{
after_bad_pruning,
after_null_search,
};
}
Code: Select all
node_done:
// return to parent node
--node;
--child;
switch (child->ret_addr)
{
case Label::after_bad_pruning:
goto after_bad_pruning;
case Label::after_null_search:
goto after_null_search;
}