diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-09-11 22:53:20 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-09-11 22:53:20 +0000 |
commit | e2fa3ab0a89c2f741eb7d61fdf1d2e88cb58cad9 (patch) | |
tree | 5843d55a5019460929743a7616f1804014d1197c /mixlib | |
parent | 8ee3b3ff92a28f961d3b8df759613644060379a2 (diff) | |
download | mdk-e2fa3ab0a89c2f741eb7d61fdf1d2e88cb58cad9.tar.gz mdk-e2fa3ab0a89c2f741eb7d61fdf1d2e88cb58cad9.tar.bz2 |
(mix_vm_clock_add_lapse) fixed time del for the MOVE instruction
Diffstat (limited to 'mixlib')
-rw-r--r-- | mixlib/mix_vm_clock.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mixlib/mix_vm_clock.c b/mixlib/mix_vm_clock.c index 41e7116..1d09939 100644 --- a/mixlib/mix_vm_clock.c +++ b/mixlib/mix_vm_clock.c @@ -1,9 +1,9 @@ /* -*-c-*- -------------- mix_vm_clock.c : * Implementation of the functions declared in mix_vm_clock.h * ------------------------------------------------------------------ - * Last change: Time-stamp: "01/02/20 00:23:58 jose" + * $Id: mix_vm_clock.c,v 1.2 2001/09/11 22:53:20 jao Exp $ * ------------------------------------------------------------------ - * Copyright (C) 2000 Free Software Foundation, Inc. + * Copyright (C) 2000, 2001 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -60,7 +60,9 @@ mix_vm_clock_add_lapse (mix_vm_clock_t *clock, const mix_ins_t *ins) if (ins != NULL) { t = exec_times_[ins->opcode]; - if (ins->opcode == mix_MOVE) t += 2 * (ins->fspec); + if (ins->opcode == mix_opMOVE) { + t += 2 * (ins->fspec); + } } clock->time += t; return t; |