File tree 3 files changed +0
-11
lines changed
3 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -249,14 +249,6 @@ func do_GET_ITER(vm *Vm, arg int32) {
249
249
vm .SET_TOP (py .Iter (vm .TOP ()))
250
250
}
251
251
252
- // Pops TOS from the stack and stores it as the current frame’s
253
- // f_locals. This is used in class construction.
254
- func do_STORE_LOCALS (vm * Vm , arg int32 ) {
255
- defer vm .CheckException ()
256
- locals := vm .POP ()
257
- vm .frame .Locals = locals .(py.StringDict )
258
- }
259
-
260
252
// Binary operations remove the top of the stack (TOS) and the second
261
253
// top-most stack item (TOS1) from the stack. They perform the
262
254
// operation, and put the result back on the stack.
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ func init() {
54
54
jumpTable [BINARY_OR ] = do_BINARY_OR
55
55
jumpTable [INPLACE_POWER ] = do_INPLACE_POWER
56
56
jumpTable [GET_ITER ] = do_GET_ITER
57
- jumpTable [STORE_LOCALS ] = do_STORE_LOCALS
58
57
jumpTable [PRINT_EXPR ] = do_PRINT_EXPR
59
58
jumpTable [LOAD_BUILD_CLASS ] = do_LOAD_BUILD_CLASS
60
59
jumpTable [YIELD_FROM ] = do_YIELD_FROM
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ const (
46
46
BINARY_OR = 66
47
47
INPLACE_POWER = 67
48
48
GET_ITER = 68
49
- STORE_LOCALS = 69
50
49
PRINT_EXPR = 70
51
50
LOAD_BUILD_CLASS = 71
52
51
YIELD_FROM = 72
@@ -181,7 +180,6 @@ var NameToOpCode = map[string]byte{
181
180
"BINARY_OR" : 66 ,
182
181
"INPLACE_POWER" : 67 ,
183
182
"GET_ITER" : 68 ,
184
- "STORE_LOCALS" : 69 ,
185
183
"PRINT_EXPR" : 70 ,
186
184
"LOAD_BUILD_CLASS" : 71 ,
187
185
"YIELD_FROM" : 72 ,
You can’t perform that action at this time.
0 commit comments