search for: val_p

Displaying 4 results from an estimated 4 matches for "val_p".

Did you mean: val_i
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c test/trace
...ass = object; + while ((class = swfdec_as_object_get_prototype (class)) != NULL) { + if (class == prototype) + return TRUE; + } + + return FALSE; +} + static void swfdec_action_instance_of (SwfdecAsContext *cx, guint action, const guint8 *data, guint len) { - SwfdecAsValue val, *val_p; - SwfdecAsObject *object, *class, *constructor, *prototype; + SwfdecAsValue *val; + SwfdecAsObject *object, *constructor; - val_p = swfdec_as_stack_pop (cx); - if (SWFDEC_AS_VALUE_IS_OBJECT (val_p)) { - constructor = SWFDEC_AS_VALUE_GET_OBJECT (val_p); + val = swfdec_as_stack_pop (cx);...
2007 Oct 25
0
12 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c test/trace
...as_interpret.c +++ b/libswfdec/swfdec_as_interpret.c @@ -2175,6 +2175,50 @@ swfdec_action_get_time (SwfdecAsContext *cx, guint action, const guint8 *data, g } static void +swfdec_action_instance_of (SwfdecAsContext *cx, guint action, + const guint8 *data, guint len) +{ + SwfdecAsValue val, *val_p; + SwfdecAsObject *object, *class, *constructor, *prototype; + + val_p = swfdec_as_stack_pop (cx); + if (SWFDEC_AS_VALUE_IS_OBJECT (val_p)) { + constructor = SWFDEC_AS_VALUE_GET_OBJECT (val_p); + } else { + constructor = NULL; + } + + val_p = swfdec_as_stack_pop (cx); + if (SWFDEC_AS_V...
2016 Jun 24
6
RFC: Strong GC References in LLVM
...is valid. Both the initial and the final program assume that %val is a valid bitwise representation of a GC reference. (Note: it may not be valid to speculate the inttoptr instruction above control flow). ### Load forwarding between integers and GCREFs is invalid %val_i = load i64, i64* %loc %val_p = load GCREF, GCREF* (bitcast %loc) ==> %val_i = load i64, i64* %loc %val_p = inttoptr %val_i to GCREF is invalid if *%loc contains a GC reference. Given the model that we have, the first program loads some bitwise representation of fluctuating a GC reference, and then loads the same GC refere...
2016 Jul 12
2
RFC: Strong GC References in LLVM
...eed this? As in the previous case, it doesn’t seem like a sound representation. We don't need this -- the only realistic place this can happen in is in dead code. >> ### Load forwarding between integers and GCREFs is invalid >> >> %val_i = load i64, i64* %loc >> %val_p = load GCREF, GCREF* (bitcast %loc) >> ==> >> %val_i = load i64, i64* %loc >> %val_p = inttoptr %val_i to GCREF >> >> is invalid if *%loc contains a GC reference. Given the model that we >> have, the first program loads some bitwise representation of &...