Commit 6b2bd2eb authored by Ng Zhi An's avatar Ng Zhi An Committed by V8 LUCI CQ

Add comments to describe some builtins

Bug: v8:11879
Change-Id: Ia0047b701e77b6e766984de527e817874d95f38e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2989102Reviewed-by: 's avatarSantiago Aboy Solanes <solanes@chromium.org>
Reviewed-by: 's avatarShu-yu Guo <syg@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75488}
parent c8350144
...@@ -131,7 +131,9 @@ namespace internal { ...@@ -131,7 +131,9 @@ namespace internal {
ASM(JSEntry, Dummy) \ ASM(JSEntry, Dummy) \
ASM(JSConstructEntry, Dummy) \ ASM(JSConstructEntry, Dummy) \
ASM(JSRunMicrotasksEntry, RunMicrotasksEntry) \ ASM(JSRunMicrotasksEntry, RunMicrotasksEntry) \
/* Call a JSValue. */ \
ASM(JSEntryTrampoline, JSTrampoline) \ ASM(JSEntryTrampoline, JSTrampoline) \
/* Construct a JSValue. */ \
ASM(JSConstructEntryTrampoline, JSTrampoline) \ ASM(JSConstructEntryTrampoline, JSTrampoline) \
ASM(ResumeGeneratorTrampoline, ResumeGenerator) \ ASM(ResumeGeneratorTrampoline, ResumeGenerator) \
\ \
...@@ -149,6 +151,8 @@ namespace internal { ...@@ -149,6 +151,8 @@ namespace internal {
TFS(OrderedHashTableHealIndex, kTable, kIndex) \ TFS(OrderedHashTableHealIndex, kTable, kIndex) \
\ \
/* Interpreter */ \ /* Interpreter */ \
/* InterpreterEntryTrampoline dispatches to the interpreter to run a */ \
/* JSFunction in the form of bytecodes */ \
ASM(InterpreterEntryTrampoline, JSTrampoline) \ ASM(InterpreterEntryTrampoline, JSTrampoline) \
ASM(InterpreterPushArgsThenCall, InterpreterPushArgsThenCall) \ ASM(InterpreterPushArgsThenCall, InterpreterPushArgsThenCall) \
ASM(InterpreterPushUndefinedAndArgsThenCall, InterpreterPushArgsThenCall) \ ASM(InterpreterPushUndefinedAndArgsThenCall, InterpreterPushArgsThenCall) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment