PyObject *null = NULL;
oparg = CURRENT_OPARG();
owner = stack_pointer[-1];
- PyObject * descr = (PyObject *)CURRENT_OPERAND();
+ PyObject *descr = (PyObject *)CURRENT_OPERAND();
STAT_INC(LOAD_ATTR, hit);
assert(descr != NULL);
attr = Py_NewRef(descr);
PyObject *self = NULL;
oparg = CURRENT_OPARG();
owner = stack_pointer[-1];
- PyObject * descr = (PyObject *)CURRENT_OPERAND();
+ PyObject *descr = (PyObject *)CURRENT_OPERAND();
assert(oparg & 1);
/* Cached method object */
STAT_INC(LOAD_ATTR, hit);
PyObject *self = NULL;
oparg = CURRENT_OPARG();
owner = stack_pointer[-1];
- PyObject * descr = (PyObject *)CURRENT_OPERAND();
+ PyObject *descr = (PyObject *)CURRENT_OPERAND();
assert(oparg & 1);
assert(Py_TYPE(owner)->tp_dictoffset == 0);
STAT_INC(LOAD_ATTR, hit);
PyObject *attr;
oparg = CURRENT_OPARG();
owner = stack_pointer[-1];
- PyObject * descr = (PyObject *)CURRENT_OPERAND();
+ PyObject *descr = (PyObject *)CURRENT_OPERAND();
assert((oparg & 1) == 0);
STAT_INC(LOAD_ATTR, hit);
assert(descr != NULL);
PyObject *attr;
oparg = CURRENT_OPARG();
owner = stack_pointer[-1];
- PyObject * descr = (PyObject *)CURRENT_OPERAND();
+ PyObject *descr = (PyObject *)CURRENT_OPERAND();
assert((oparg & 1) == 0);
assert(Py_TYPE(owner)->tp_dictoffset == 0);
STAT_INC(LOAD_ATTR, hit);
PyObject *self = NULL;
oparg = CURRENT_OPARG();
owner = stack_pointer[-1];
- PyObject * descr = (PyObject *)CURRENT_OPERAND();
+ PyObject *descr = (PyObject *)CURRENT_OPERAND();
assert(oparg & 1);
STAT_INC(LOAD_ATTR, hit);
assert(descr != NULL);
for cache in uop.caches:
if cache.name != "unused":
if cache.size == 4:
- type = "PyObject *"
+ type = cast ="PyObject *"
else:
- type = f"uint{cache.size*16}_t"
- out.emit(f"{type} {cache.name} = ({type})CURRENT_OPERAND();\n")
+ type = f"uint{cache.size*16}_t "
+ cast = f"uint{cache.size*16}_t"
+ out.emit(f"{type}{cache.name} = ({cast})CURRENT_OPERAND();\n")
emit_tokens(out, uop, stack, None, TIER2_REPLACEMENT_FUNCTIONS)
if uop.properties.stores_sp:
for i, var in enumerate(uop.stack.outputs):