def __compare_contexts(self, context_init, x86_context, reil_context):
        match = True
        mask = 2**64-1

        for reg in sorted(context_init.keys()):
            if (x86_context[reg] & mask) != (reil_context[reg] & mask):
                match = False
                break

        return match
dataset/ETHPy150Open programa-stic/barf-project/barf/tests/arch/x86/test_x86translator.py/X86TranslationTests.__compare_contexts/original