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

Unified Diff: pkg/analyzer2dart/test/sexpr_data.dart

Issue 979693003: Streamline the CPS IR Visitor interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Signal an error in visit methods that should not be called. Created 5 years, 10 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 | pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer2dart/test/sexpr_data.dart
diff --git a/pkg/analyzer2dart/test/sexpr_data.dart b/pkg/analyzer2dart/test/sexpr_data.dart
index d380c6d1d358d7cd4c62d070ea7e911dc6cae578..5b35b1b5e45ce3a08252ab5f0fcb98df7bffc376 100644
--- a/pkg/analyzer2dart/test/sexpr_data.dart
+++ b/pkg/analyzer2dart/test/sexpr_data.dart
@@ -1399,7 +1399,8 @@ main() {
(InvokeConstructor C () k0)))
''',
'C.': '''
-(FunctionDefinition () return
+(ConstructorDefinition () return (
+ )
(LetPrim (v0 (Constant (Null)))
(InvokeContinuation return (v0))))
'''}),
@@ -1420,7 +1421,8 @@ main() {
(InvokeConstructor C () k0)))
''',
'C.': '''
-(FunctionDefinition () return
+(ConstructorDefinition () return (
+ )
(LetPrim (v0 (Constant (Null)))
(InvokeContinuation return (v0))))
'''}),
@@ -1442,12 +1444,14 @@ main() {
(InvokeConstructor C () k0)))
''',
'B.': '''
-(FunctionDefinition () return
+(ConstructorDefinition () return (
+ )
(LetPrim (v0 (Constant (Null)))
(InvokeContinuation return (v0))))
''',
'C.': '''
-(FunctionDefinition () return
+(ConstructorDefinition () return (
+ )
(LetPrim (v0 (Constant (Null)))
(InvokeContinuation return (v0))))
'''}),
@@ -1469,12 +1473,14 @@ main() {
(InvokeConstructor C () k0)))
''',
'B.': '''
-(FunctionDefinition () return
+(ConstructorDefinition () return (
+ )
(LetPrim (v0 (Constant (Null)))
(InvokeContinuation return (v0))))
''',
'C.': '''
-(FunctionDefinition () return
+(ConstructorDefinition () return (
+ )
(LetPrim (v0 (Constant (Null)))
(InvokeContinuation return (v0))))
'''}),
« no previous file with comments | « no previous file | pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698