WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit dcee23b6 authored by Stefan Marr's avatar Stefan Marr
Browse files

Changed interpreter dispatch table to use a tuple instead of a list



RPython complained about not being able to determine a unique name for the function pointers, using a tuple doesn't cause this warning anymore.
Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent 3a4962cf
......@@ -10,7 +10,7 @@ class Interpreter(object):
def __init__(self, universe):
self._universe = universe
self._frame = None
self._dispatch_table = [self._do_halt,
self._dispatch_table = (self._do_halt,
self._do_dup,
self._do_push_local,
self._do_push_argument,
......@@ -25,7 +25,7 @@ class Interpreter(object):
self._do_send,
self._do_super_send,
self._do_return_local,
self._do_return_non_local]
self._do_return_non_local)
def _do_halt(self, bytecode_index):
raise InterpreterHalt()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment