1摘要

本篇文章是Builtin专题的第七篇。上篇文章讲解了Builtin::kInterpreterEntryTrampoline源码,本篇文章将介绍Builin的编译过程,在此过程中可以看到Bytecodehanlder生成code的技术细节,同时也可借助此过程了解CompilerPipeline技术和重要数据结构。

2Bytecodehandler

的重要数据结构

GenerateBytecodeHandler()负责生成Bytecodehander,源码如下:

1.HandleCodeGenerateBytecodeHandler(Isolate*isolate,constchar*debug_name,2.Bytecodebytecode,3.OperandScaleoperand_scale,4.intbuiltin_index,5.constAssemblerOptionsoptions){6.Zonezone(isolate-allocator(),ZONE_NAME);7.



转载请注明地址:http://www.tanhuaa.com/gjth/10906.html