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

Unified Diff: runtime/vm/parser.h

Issue 260713008: Add support for javascript incompatibility warnings. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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
Index: runtime/vm/parser.h
===================================================================
--- runtime/vm/parser.h (revision 36000)
+++ runtime/vm/parser.h (working copy)
@@ -291,7 +291,7 @@
void SkipFunctionPreamble();
void CheckConstructorCallTypeArguments(intptr_t pos,
- Function& constructor,
+ const Function& constructor,
const TypeArguments& type_arguments);
// A null script means no source and a negative token_pos means no position.
@@ -436,7 +436,7 @@
AstNode* BuildUnarySuperOperator(Token::Kind op, PrimaryNode* super);
static void SetupDefaultsForOptionalParams(const ParamList* params,
- Array& default_values);
+ Array* default_values);
ClosureNode* CreateImplicitClosureNode(const Function& func,
intptr_t token_pos,
AstNode* receiver);
@@ -445,9 +445,9 @@
void AddFormalParamsToScope(const ParamList* params, LocalScope* scope);
SequenceNode* ParseConstructor(const Function& func,
- Array& default_parameter_values);
+ Array* default_parameter_values);
SequenceNode* ParseFunc(const Function& func,
- Array& default_parameter_values);
+ Array* default_parameter_values);
void ParseNativeFunctionBlock(const ParamList* params, const Function& func);
@@ -457,12 +457,12 @@
SequenceNode* ParseStaticInitializer(const Function& func);
SequenceNode* ParseMethodExtractor(const Function& func);
SequenceNode* ParseNoSuchMethodDispatcher(const Function& func,
- Array& default_values);
+ Array* default_values);
SequenceNode* ParseInvokeFieldDispatcher(const Function& func,
- Array& default_values);
+ Array* default_values);
void BuildDispatcherScope(const Function& func,
const ArgumentsDescriptor& desc,
- Array& default_values);
+ Array* default_values);
void ChainNewBlock(LocalScope* outer_scope);
void OpenBlock();
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | runtime/vm/symbols.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698