MCPcopy Index your code
hub / github.com/nodejs/node / vmStateString

Method vmStateString

deps/v8/tools/profile.mjs:427–449  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

425 }
426
427 static vmStateString(state) {
428 switch (state) {
429 case this.VMState.JS:
430 return 'JS';
431 case this.VMState.GC:
432 return 'GC';
433 case this.VMState.PARSER:
434 return 'Parse';
435 case this.VMState.BYTECODE_COMPILER:
436 return 'Compile Bytecode';
437 case this.VMState.COMPILER:
438 return 'Compile';
439 case this.VMState.OTHER:
440 return 'Other';
441 case this.VMState.EXTERNAL:
442 return 'External';
443 case this.VMState.EXTERNAL_IDLE:
444 return 'ExternalIdle';
445 case this.VMState.IDLE:
446 return 'Idle';
447 }
448 return 'unknown';
449 }
450
451 /**
452 * Called whenever the specified operation has failed finding a function

Callers 1

extractCodeEntryTypeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected