summaryrefslogtreecommitdiffstats
path: root/chromium/v8/src/builtins/constants-table-builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/src/builtins/constants-table-builder.h')
-rw-r--r--chromium/v8/src/builtins/constants-table-builder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/v8/src/builtins/constants-table-builder.h b/chromium/v8/src/builtins/constants-table-builder.h
index 89c95912a1e..fa9d7dee3a3 100644
--- a/chromium/v8/src/builtins/constants-table-builder.h
+++ b/chromium/v8/src/builtins/constants-table-builder.h
@@ -34,6 +34,11 @@ class BuiltinsConstantsTableBuilder final {
void PatchSelfReference(Handle<Object> self_reference,
Handle<Code> code_object);
+ // References to the array that stores basic block usage counters start out as
+ // references to a unique oddball. Once the actual array has been allocated,
+ // such entries in the constants map must be patched up.
+ void PatchBasicBlockCountersReference(Handle<ByteArray> counters);
+
// Should be called after all affected code (e.g. builtins and bytecode
// handlers) has been generated.
void Finalize();