Skip to content

Commit eb2caf7

Browse files
committed
Revert "Added warmup_critical_function to several handlers"
This reverts commit 2ee905c.
1 parent 2ee905c commit eb2caf7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pypy/interpreter/pyopcode.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,6 @@ def BUILD_TUPLE(self, itemcount):
971971
w_tuple = self.space.newtuple(items)
972972
self.pushvalue(w_tuple)
973973

974-
@warmup_critical_function
975974
def BUILD_LIST(self, itemcount):
976975
items = self.popvalues_mutable(itemcount)
977976
w_list = self.space.newlist(items)
@@ -991,7 +990,6 @@ def BUILD_LIST_FROM_ARG(self):
991990
self.pushvalue(space.newlist([], sizehint=length_hint))
992991
self.pushvalue(last_val)
993992

994-
@warmup_critical_function
995993
@always_inline
996994
def LOAD_ATTR(self, nameindex):
997995
"obj.attributename"
@@ -1125,7 +1123,6 @@ def POP_JUMP_IF_FALSE(self, target, next_instr):
11251123
return target
11261124
return next_instr
11271125

1128-
@warmup_critical_function
11291126
def POP_JUMP_IF_TRUE(self, target, next_instr):
11301127
w_value = self.popvalue()
11311128
if self.space.is_true(w_value):
@@ -1151,7 +1148,6 @@ def JUMP_IF_NOT_DEBUG(self, jumpby, next_instr):
11511148
next_instr += jumpby
11521149
return next_instr
11531150

1154-
@warmup_critical_function
11551151
def GET_ITER(self):
11561152
w_iterable = self.popvalue()
11571153
w_iterator = self.space.iter(w_iterable)
@@ -1302,7 +1298,6 @@ def MAKE_CLOSURE(self, numdefaults):
13021298
defaultarguments, freevars)
13031299
self.pushvalue(fn)
13041300

1305-
@warmup_critical_function
13061301
def BUILD_SLICE(self, numargs):
13071302
if numargs == 3:
13081303
w_step = self.popvalue()
@@ -1344,7 +1339,6 @@ def MISSING_OPCODE(self):
13441339

13451340
STOP_CODE = MISSING_OPCODE
13461341

1347-
@warmup_critical_function
13481342
def BUILD_MAP(self, itemcount):
13491343
w_dict = self.space.newdict()
13501344
self.pushvalue(w_dict)

0 commit comments

Comments
 (0)