[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Viuavm-commits] [SCM] Viua VM branch issue/38a0f558/add-instruction-for
From: |
git |
Subject: |
[Viuavm-commits] [SCM] Viua VM branch issue/38a0f558/add-instruction-for-allocating-local-registers updated. v0.9.0-1791-ga6fb1f5 |
Date: |
Sat, 7 Jul 2018 23:46:27 +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/38a0f558/add-instruction-for-allocating-local-registers has
been updated
via a6fb1f55f3cb1e586c86c160e52efc320eebd2b6 (commit)
via 6740fbb7a36484d25c290f67093b41164f0457bb (commit)
via 56f4956f9626127d4389f9fbf9d1373289debbfb (commit)
via a6e7f9e75e2c17632cabdf08bc71f516186f78bf (commit)
via 97eba20e9a13415965d8dbad17a57c4746968065 (commit)
from 07931fc3358419bb0b1a0fcdbbd4925eae9bd86b (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 a6fb1f55f3cb1e586c86c160e52efc320eebd2b6
Author: Marek Marecki <address@hidden>
Date: Sat Jul 7 23:46:16 2018 +0200
Refactor Changelog
commit 6740fbb7a36484d25c290f67093b41164f0457bb
Author: Marek Marecki <address@hidden>
Date: Sat Jul 7 23:41:43 2018 +0200
Fix: allocate_registers must be the first instruction in a function
commit 56f4956f9626127d4389f9fbf9d1373289debbfb
Author: Marek Marecki <address@hidden>
Date: Sat Jul 7 23:40:59 2018 +0200
Fix for bad register access, when there was no 'allocate_registers'
instruction
diff --git
a/src/assembler/frontend/static_analyser/checkers/check_for_unused_registers.cpp
b/src/assembler/frontend/static_analyser/checkers/check_for_unused_registers.cpp
index e1c748b7..483d27de 100644
---
a/src/assembler/frontend/static_analyser/checkers/check_for_unused_registers.cpp
+++
b/src/assembler/frontend/static_analyser/checkers/check_for_unused_registers.cpp
@@ -28,6 +28,9 @@ namespace static_analyser { namespace checkers {
auto check_for_unused_registers(
Register_usage_profile const& register_usage_profile) -> void {
const auto& limit = register_usage_profile.allocated_registers();
+ if (not limit) {
+ return;
+ }
if (limit.value() == 0) {
return;
}
commit a6e7f9e75e2c17632cabdf08bc71f516186f78bf
Author: Marek Marecki <address@hidden>
Date: Sat Jul 7 23:40:27 2018 +0200
Too many false positives...
commit 97eba20e9a13415965d8dbad17a57c4746968065
Author: Marek Marecki <address@hidden>
Date: Sat Jul 7 23:04:29 2018 +0200
Remove useless prints
-----------------------------------------------------------------------
Summary of changes:
Changelog.markdown | 86 ++++++++++++----------
include/viua/version.h | 2 +-
sample/asm/functions/higher_order/apply.asm | 4 +-
.../asm/functions/higher_order/apply_by_move.asm | 4 +-
.../checkers/check_for_unused_registers.cpp | 9 +--
.../static_analyser/checkers/check_op_if.cpp | 29 --------
6 files changed, 56 insertions(+), 78 deletions(-)
hooks/post-receive
--
Viua VM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Viuavm-commits] [SCM] Viua VM branch issue/38a0f558/add-instruction-for-allocating-local-registers updated. v0.9.0-1791-ga6fb1f5,
git <=