Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(742)

Unified Diff: runtime/vm/kernel_binary_flowgraph.h

Issue 2786073002: Stream SymbolLiteral & BigIntLiteral (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/kernel_binary_flowgraph.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/kernel_binary_flowgraph.h
diff --git a/runtime/vm/kernel_binary_flowgraph.h b/runtime/vm/kernel_binary_flowgraph.h
index f143a291d3e85cae6081cc92008655865eb044d2..b46c20973049c3206bbc5d72b9b7eaabcec0aeb1 100644
--- a/runtime/vm/kernel_binary_flowgraph.h
+++ b/runtime/vm/kernel_binary_flowgraph.h
@@ -27,9 +27,16 @@ class StreamingConstantEvaluator {
virtual ~StreamingConstantEvaluator() {}
Instance& EvaluateExpression();
+
+ void EvaluateSymbolLiteral();
void EvaluateDoubleLiteral();
private:
+ RawObject* EvaluateConstConstructorCall(const dart::Class& type_class,
+ const TypeArguments& type_arguments,
+ const Function& constructor,
+ const Object& argument);
+
bool GetCachedConstant(intptr_t kernel_offset, Instance* value);
void CacheConstantValue(intptr_t kernel_offset, const Instance& value);
@@ -96,8 +103,10 @@ class StreamingFlowGraphBuilder {
Fragment IntConstant(int64_t value);
Fragment BuildInvalidExpression();
+ Fragment BuildSymbolLiteral();
Fragment BuildThisExpression();
Fragment BuildRethrow();
+ Fragment BuildBigIntLiteral();
Fragment BuildStringLiteral();
Fragment BuildIntLiteral(uint8_t payload);
Fragment BuildIntLiteral(bool is_negative);
« no previous file with comments | « no previous file | runtime/vm/kernel_binary_flowgraph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698