Chromium Code Reviews

Unified Diff: src/runtime/runtime.h

Issue 2625053006: [debugging] Add %Verify() helper and check verify a HeapObject has a Map. (Closed)
Patch Set: added simple verification in release build Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/objects-debug.cc ('k') | src/runtime/runtime-test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index b0b65a6e7ab030fd0cefcf257ead98a5020d4fbd..3cbf71f8de8333b2c28cc26fdce07c4448f449cf 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -911,7 +911,8 @@ namespace internal {
F(IsWasmCode, 1, 1) \
F(ValidateWasmInstancesChain, 2, 1) \
F(ValidateWasmModuleState, 1, 1) \
- F(ValidateWasmOrphanedInstance, 1, 1)
+ F(ValidateWasmOrphanedInstance, 1, 1) \
+ F(Verify, 1, 1)
#define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \
F(ArrayBufferGetByteLength, 1, 1) \
« no previous file with comments | « src/objects-debug.cc ('k') | src/runtime/runtime-test.cc » ('j') | no next file with comments »

Powered by Google App Engine