Skip to content

Commit 33468b0

Browse files
remove constants pass as it's functionality has been replicated
elsewhere
1 parent d397aa5 commit 33468b0

2 files changed

Lines changed: 0 additions & 56 deletions

File tree

pythonbpf/codegen.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from .license_pass import license_processing
44
from .functions_pass import func_proc
55
from .maps_pass import maps_proc
6-
# from .constants_pass import constants_processing
76
from .globals_pass import globals_processing
87

98

@@ -29,12 +28,9 @@ def processor(source_code, filename, module):
2928

3029
map_sym_tab = maps_proc(tree, module, bpf_chunks)
3130
func_proc(tree, module, bpf_chunks, map_sym_tab)
32-
# For now, we will parse the BPF specific parts of AST
3331

34-
# constants_processing(tree, module)
3532
license_processing(tree, module)
3633
globals_processing(tree, module)
37-
# functions_processing(tree, module)
3834

3935

4036
def compile_to_ir(filename: str, output: str):

pythonbpf/constants_pass.py

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)