diff --git a/tools/update_v8_wasm_profile.py b/tools/update_v8_wasm_profile.py index c474552f7eab35957cc11228e50d9084336d2fb1..d23908c1a400f977b7584370e722166b883369b1 100644 --- a/tools/update_v8_wasm_profile.py +++ b/tools/update_v8_wasm_profile.py @@ -22,7 +22,7 @@ def main(cpuprofile_file, symbol_file): all_md5s = [] with open(cpuprofile_file) as f: profile_text = f.read() - for k, v in symbol_map.iteritems(): + for k, v in symbol_map.items(): count += 1 strip_name = [] for p in v.split('_'): @@ -54,4 +54,4 @@ if __name__ == '__main__': if len(sys.argv) != 3: print('usage: python update_v8_wasm_profile.py xxx.cpuprofile xxx.symbols') else: - main(sys.argv[1], sys.argv[2]) \ No newline at end of file + main(sys.argv[1], sys.argv[2])