Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Last active January 29, 2018 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MasterDuke17/ba861e5c3c1e4a342c38268a43b3b534 to your computer and use it in GitHub Desktop.
Save MasterDuke17/ba861e5c3c1e4a342c38268a43b3b534 to your computer and use it in GitHub Desktop.
Precompiling templates from src/jit/core_templates.expr
compiling src/jit/expr.o
src/jit/expr.c:16:18: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
#define QUOTE(x) (x)
^
src/jit/core_templates.h:494:5: note: in expansion of macro ‘QUOTE’
QUOTE("Cannot look up attributes in a %s type object"),MVM_JIT_PTR_SZ,
^~~~~
src/jit/expr.c:16:18: note: (near initialization for ‘MVM_jit_expr_templates[2625]’)
#define QUOTE(x) (x)
^
src/jit/core_templates.h:494:5: note: in expansion of macro ‘QUOTE’
QUOTE("Cannot look up attributes in a %s type object"),MVM_JIT_PTR_SZ,
^~~~~
(template: getattr_o!
(dov
(when (^is_type_obj $1)
(callv (^func &MVM_exception_throw_adhoc)
(arglist
(carg (tc) ptr)
(carg (const (&QUOTE "Cannot look up attributes in a %s type object") ptr_sz) ptr)
(carg (call (^func &MVM_6model_get_debug_name)
(arglist
(carg (tc) ptr)
(carg $1 ptr)) ptr_sz) ptr))))
(callv (^getf (^repr $1) MVMREPROps attr_funcs.get_attribute)
(arglist
(carg (tc) ptr)
(carg (^stable $1) ptr)
(carg $1 ptr)
(carg (^body $1) ptr)
(carg $2 ptr)
(carg (^cu_string $3) ptr)
(carg $4 int)
(carg $0 ptr)
(carg (const (&QUOTE MVM_reg_obj) int_sz) int)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment