summaryrefslogtreecommitdiff
path: root/Python/opcode_targets.h
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-07-22 16:34:28 +0200
committerChristian Heimes <christian@cheimes.de>2013-07-22 16:34:28 +0200
commitb2decdab33ce8b74051a8dcddfa409d7f9af8fb1 (patch)
treed58fc597874e0c5bb3e878ed2b446bcb606f5f04 /Python/opcode_targets.h
parentb69651179a1ac37b3e959a404388ce9fc1b273f8 (diff)
parentedc97951e09d9ea20937dbddf4b0d9b09c6cb463 (diff)
downloadcpython-b2decdab33ce8b74051a8dcddfa409d7f9af8fb1.tar.gz
Some compilers complain about 'control reaches end of non-void function'
because they don't understand that Py_FatalError() terminates the program.
Diffstat (limited to 'Python/opcode_targets.h')
-rw-r--r--Python/opcode_targets.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/opcode_targets.h b/Python/opcode_targets.h
index 2d6bcda513..f90a17a7ee 100644
--- a/Python/opcode_targets.h
+++ b/Python/opcode_targets.h
@@ -68,7 +68,7 @@ static void *opcode_targets[256] = {
&&TARGET_BINARY_OR,
&&TARGET_INPLACE_POWER,
&&TARGET_GET_ITER,
- &&TARGET_STORE_LOCALS,
+ &&_unknown_opcode,
&&TARGET_PRINT_EXPR,
&&TARGET_LOAD_BUILD_CLASS,
&&TARGET_YIELD_FROM,
@@ -147,7 +147,7 @@ static void *opcode_targets[256] = {
&&TARGET_LIST_APPEND,
&&TARGET_SET_ADD,
&&TARGET_MAP_ADD,
- &&_unknown_opcode,
+ &&TARGET_LOAD_CLASSDEREF,
&&_unknown_opcode,
&&_unknown_opcode,
&&_unknown_opcode,