[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Viuavm-commits] [SCM] Viua VM branch issue/ce6f5d82/rewrite-assembler u

From: git
Subject: [Viuavm-commits] [SCM] Viua VM branch issue/ce6f5d82/rewrite-assembler updated. v0.9.0-2110-g2a17fc8
Date: Wed, 12 Sep 2018 20:32:09 +0200 (CEST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Viua VM".

The branch, issue/ce6f5d82/rewrite-assembler has been updated
       via  2a17fc858bebf19ee61eec608ebcb76c9c858529 (commit)
       via  8153e4a7ad8c9cadc3311b98f22ba32466ad7174 (commit)
       via  98a4e45ee627ea7e2a20aba995c3c33cb6a6fe56 (commit)
       via  734cbbb14894c7b161a7e932dcd115656b0b1b8a (commit)
       via  05be0a5461f2b0884b83c653d9c497d01233b7cf (commit)
       via  d4221c58422b397902b8746187cc4e10bec384a7 (commit)
       via  89b01bf3c9e655f539f3f4f3fe495c221c87de9b (commit)
       via  7278829092235f805e70e349307c5e5c51119be8 (commit)
       via  b749505cfb990bb869a6185c88c652d483e83946 (commit)
       via  1849ccbe6d846648739098c7e1a0b2c723c16158 (commit)
       via  5b03269a245171bb608db979ea90bb8af68faedd (commit)
       via  b539fd8fb548742d240c5b041031ca5580e23b03 (commit)
       via  9ef8c18dea5c7b263742cb7152dad98c6be17c05 (commit)
      from  35fa20702f439513b9988a2400a923c5750db29b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2a17fc858bebf19ee61eec608ebcb76c9c858529
Author: Marek Marecki <address@hidden>
Date:   Wed Sep 12 20:31:36 2018 +0200

    Static analyser has basic understanding of the `integer` instruction

commit 8153e4a7ad8c9cadc3311b98f22ba32466ad7174
Author: Marek Marecki <address@hidden>
Date:   Wed Sep 12 20:27:45 2018 +0200

    Prepare class representing types of values for use in static analyser
    Simple bitmask is not sufficient for representing nested or complex
    types, so a full-blown structs will be used instead. This will provide
    additional flexibility (e.g. embedding actual, or estimated, values
    contained in registers analysed to use them in analysis).

commit 98a4e45ee627ea7e2a20aba995c3c33cb6a6fe56
Author: Marek Marecki <address@hidden>
Date:   Wed Sep 12 20:27:04 2018 +0200

    Fix: add tokens to fragments

commit 734cbbb14894c7b161a7e932dcd115656b0b1b8a
Author: Marek Marecki <address@hidden>
Date:   Wed Sep 12 20:26:32 2018 +0200

    Fix: allow accessing tokens of an operand

commit 05be0a5461f2b0884b83c653d9c497d01233b7cf
Author: Marek Marecki <address@hidden>
Date:   Mon Sep 10 20:00:39 2018 +0200

    Detect reusing a name for a different register

commit d4221c58422b397902b8746187cc4e10bec384a7
Author: Marek Marecki <address@hidden>
Date:   Mon Sep 10 19:52:49 2018 +0200

    Detect renaming already named registers

commit 89b01bf3c9e655f539f3f4f3fe495c221c87de9b
Author: Marek Marecki <address@hidden>
Date:   Mon Sep 10 19:43:23 2018 +0200

    Handle iota and register naming
    This commit makes the new static analyser recognise the `iota` keyword
    and `.name:` directives. Not all errors are handled yet, e.g. renaming
    already named registers, or reusing a name for another register index
    are not yet detected.

commit 7278829092235f805e70e349307c5e5c51119be8
Author: Marek Marecki <address@hidden>
Date:   Mon Sep 10 19:42:29 2018 +0200

    Prepare function state to handle iotas and register names

commit b749505cfb990bb869a6185c88c652d483e83946
Author: Marek Marecki <address@hidden>
Date:   Mon Sep 10 19:41:58 2018 +0200

    Add an error for out-of-range register indexes

commit 1849ccbe6d846648739098c7e1a0b2c723c16158
Author: Marek Marecki <address@hidden>
Date:   Mon Sep 10 19:30:46 2018 +0200

    Initialise function state with the information about local registers 

commit 5b03269a245171bb608db979ea90bb8af68faedd
Author: Marek Marecki <address@hidden>
Date:   Mon Sep 10 19:26:39 2018 +0200

    Create function state to store information about the function's state
    At every line (either a directive, or an instruction) the state is
    mutated and the static analyser decides whether the state is valid, or
    in error.

commit b539fd8fb548742d240c5b041031ca5580e23b03
Author: Marek Marecki <address@hidden>
Date:   Mon Sep 10 19:21:49 2018 +0200

    Fix: line numbers are properly aligned in error listings
    Making classic off-by-one error, I forgot that line indexes are
    zero-based but when displayed to humans should be converted to

commit 9ef8c18dea5c7b263742cb7152dad98c6be17c05
Author: Marek Marecki <address@hidden>
Date:   Mon Sep 10 19:21:26 2018 +0200

    Add error for out-of-range register addresses created by iota


Summary of changes:
 include/viua/tooling/errors/compile_time.h         |   4 +
 include/viua/tooling/libs/parser/parser.h          |   3 +-
 .../tooling/libs/static_analyser/static_analyser.h |  62 ++++++++
 src/tooling/errors/compile_time.cpp                |   4 +
 src/tooling/exec/assembler/main.cpp                |   2 +-
 src/tooling/libs/parser/parse.cpp                  |  16 +-
 .../libs/static_analyser/static_analyser.cpp       | 177 +++++++++++++++++++++
 7 files changed, 264 insertions(+), 4 deletions(-)

Viua VM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]