Index: runtime/vm/parser.h |
diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h |
index 4524b7a07a9683423844280e4d4352b9e545744d..d9d24c92cacb76058529bdb622cc5bfed4dbbef8 100644 |
--- a/runtime/vm/parser.h |
+++ b/runtime/vm/parser.h |
@@ -817,6 +817,8 @@ class Parser : public ValueObject { |
ArgumentListNode* arguments); |
RawInstance* TryCanonicalize(const Instance& instance, intptr_t token_pos); |
+ void CacheConstantValue(intptr_t token_pos, const Instance& value); |
+ bool GetCachedConstant(intptr_t token_pos, Instance* value); |
Thread* thread() const { return thread_; } |
Isolate* isolate() const { return isolate_; } |