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

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

Issue 1134063002: dart2js cps: Introduce GetStatic/SetStatic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix SExpression parsing/unparsing Created 5 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/cps_ir/cps_ir_builder.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 b9fcea3ec342675108a6221bc1d55ced7cdb5fd8..d4d89d0af576b555683993ff82e964f6d3b4074a 100644
--- a/pkg/analyzer2dart/test/sexpr_data.dart
+++ b/pkg/analyzer2dart/test/sexpr_data.dart
@@ -1298,9 +1298,8 @@ main(args) {
''', const {
'main': '''
(FunctionDefinition main () (args) return
- (LetCont ((k0 (v0)
- (InvokeContinuation return (v0))))
- (InvokeStatic field () k0)))
+ (LetPrim (v0 (GetStatic field))
+ (InvokeContinuation return (v0))))
''',
'field': '''
(FieldDefinition field)
@@ -1314,9 +1313,8 @@ main(args) {
''', const {
'main': '''
(FunctionDefinition main () (args) return
- (LetCont ((k0 (v0)
- (InvokeContinuation return (v0))))
- (InvokeStatic field () k0)))
+ (LetPrim (v0 (GetStatic field))
+ (InvokeContinuation return (v0))))
''',
'field': '''
(FieldDefinition field () return
@@ -1332,9 +1330,8 @@ main(args) {
''', const {
'main': '''
(FunctionDefinition main () (args) return
- (LetCont ((k0 (v0)
- (InvokeContinuation return (v0))))
- (InvokeStatic field () k0)))
+ (LetPrim (v0 (GetStatic field))
+ (InvokeContinuation return (v0))))
''',
'field': '''
(FieldDefinition field () return
@@ -1351,11 +1348,9 @@ main(args) {
''', '''
(FunctionDefinition main () (args) return
(LetCont ((k0 (v0)
- (LetCont ((k1 (v1)
- (LetCont ((k2 (v2)
- (InvokeContinuation return (v2))))
- (InvokeStatic field () k2))))
- (InvokeStatic field (v0) k1))))
+ (SetStatic field v0
+ (LetPrim (v1 (GetStatic field))
+ (InvokeContinuation return (v1))))))
(InvokeMethod args length () k0)))
'''),
]),
« no previous file with comments | « no previous file | pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698