src: cleanup useless importation

Signed-off-by: Jean Privat <jean@pryen.org>
lib/jvm: prevents string warnings on JVM

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/jvm: support the Android platform by desactivating unavailable features

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/jvm: adapt Jvm::attach_current_thread to Android

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: fix broken assert in FStream::opens

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: fix Counter::clear

Now the sum is also set to 0 when call to clear

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
metrics: clear metrics set between each group analysis

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
model_utils: add attributes count (local + inherited) in MClass
model_utils: add MAttribute::is_nullable

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
metrics: compute number of properties and number of attributes in mclasses_metrics

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
metrics: count nullable attributes

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
metrics: display sums in to_console

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
metrics: update tests

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
transform: do not detach things while itering

This invalidates the underlying iterator.

Signed-off-by: Jean Privat <jean@pryen.org>
rta: guard `add_send` with a specific set, instead of overusing `live_methods`.

Eg. a monomorph method could be live, without being subject to try_send.

Signed-off-by: Jean Privat <jean@pryen.org>
rta: add_monomorphic_send mark the mproperty as live

Signed-off-by: Jean Privat <jean@pryen.org>
rta: do not try to remove things from a set in iteration

Instead, register the things to remove then remove them once the
iteration is over,

Signed-off-by: Jean Privat <jean@pryen.org>
transform: disable transform of ASuperstringExpr

Signed-off-by: Jean Privat <jean@pryen.org>
typing: remove `raw_arguments` as a cache

Because of transform and other potential optimization using astbuilder,
the typing phase cannot stores the raw_arguments and expect it is still
valid after subsequent phases.

The simplest way is to make `raw_arguments` a method that recollect the
correct nodes.

Alternative using some kind of cache invalidation seems to complex for not
a real gain.

Signed-off-by: Jean Privat <jean@pryen.org>
java ffi: use Java int to store C pointers

While long worked with OpenJDK on linux, it did not on Android.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>