Skip to content

Commit d8d131a

Browse files
authored
Update update_v8_wasm_profile.py
修改匹配脚本
1 parent 135df10 commit d8d131a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/update_v8_wasm_profile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def main(cpuprofile_file, symbol_file):
1010
symbol_map = {}
1111
with open(symbol_file) as f:
1212
symbol_text = f.read()
13-
result = re.findall(r"(\d+):'(.*)'", symbol_text)
13+
result = re.findall(r'"(\d+)": "(.*)"', symbol_text)
1414
for p in result:
1515
symbol_map['wasm-function['+str(p[0])+']'] = p[1]
1616

0 commit comments

Comments
 (0)