From 8756f2211073346e2581497416269b8d7299cfa3 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Mon, 3 Feb 2003 23:07:50 +0000 Subject: [PATCH] 2003-02-03 Frank Ch. Eigler * sid-cpu.scm (-gen-sfrag-engine-fn): Generate more hygienic C++. --- ChangeLog | 4 ++++ sid-cpu.scm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 67c247e..971f619 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-02-03 Frank Ch. Eigler + + * sid-cpu.scm (-gen-sfrag-engine-fn): Generate more hygienic C++. + 2003-01-09 Graydon Hoare * utils-sim.scm (-gen-decoder-switch): Fix edge condition for diff --git a/sid-cpu.scm b/sid-cpu.scm index 96a4823..9a35144 100644 --- a/sid-cpu.scm +++ b/sid-cpu.scm @@ -1096,7 +1096,7 @@ void static void** frag_label_table; int max_insns = @PREFIX@_INSN_" (-last-insn) " + 1; int tabsize = max_insns * 4; - frag_label_table = new (void*) [tabsize]; + frag_label_table = new void* [tabsize]; memset (frag_label_table, 0, sizeof (void*) * tabsize); int i; void** v; -- 2.43.5