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

Function assertScopeMirrorEquals

deps/v8/test/debugger/debug/debug-scopes.js:81–86  ·  view source on GitHub ↗
(scope1, scope2)

Source from the content-addressed store, hash-verified

79
80// Check that two scope are the same.
81function assertScopeMirrorEquals(scope1, scope2) {
82 assertEquals(scope1.scopeType(), scope2.scopeType());
83 assertEquals(scope1.frameIndex(), scope2.frameIndex());
84 assertEquals(scope1.scopeIndex(), scope2.scopeIndex());
85 assertPropertiesEqual(scope1.scopeObject().value(), scope2.scopeObject().value());
86}
87
88function CheckFastAllScopes(scopes, exec_state)
89{

Callers 1

CheckScopeChainFunction · 0.70

Calls 2

assertEqualsFunction · 0.50
valueMethod · 0.45

Tested by

no test coverage detected