| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 /// Test data for sexpr_test. | 5 /// Test data for sexpr_test. |
| 6 library test.sexpr.data; | 6 library test.sexpr.data; |
| 7 | 7 |
| 8 import 'test_helper.dart'; | 8 import 'test_helper.dart'; |
| 9 | 9 |
| 10 class TestSpec extends TestSpecBase { | 10 class TestSpec extends TestSpecBase { |
| (...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1365 main(x,foo) { | 1365 main(x,foo) { |
| 1366 print(x); | 1366 print(x); |
| 1367 getFoo() => foo; | 1367 getFoo() => foo; |
| 1368 print(getFoo()); | 1368 print(getFoo()); |
| 1369 } | 1369 } |
| 1370 ''', ''' | 1370 ''', ''' |
| 1371 (FunctionDefinition main (x foo) return | 1371 (FunctionDefinition main (x foo) return |
| 1372 (LetCont ((k0 (v0) | 1372 (LetCont ((k0 (v0) |
| 1373 (LetPrim (v1 (CreateFunction | 1373 (LetPrim (v1 (CreateFunction |
| 1374 (FunctionDefinition getFoo () return | 1374 (FunctionDefinition getFoo () return |
| 1375 (LetPrim (v2 (GetClosureVariable foo)) | 1375 (LetPrim (v2 (GetMutableVariable foo)) |
| 1376 (InvokeContinuation return (v2)))))) | 1376 (InvokeContinuation return (v2)))))) |
| 1377 (LetCont ((k1 (v3) | 1377 (LetCont ((k1 (v3) |
| 1378 (LetCont ((k2 (v4) | 1378 (LetCont ((k2 (v4) |
| 1379 (LetPrim (v5 (Constant (Null))) | 1379 (LetPrim (v5 (Constant (Null))) |
| 1380 (InvokeContinuation return (v5))))) | 1380 (InvokeContinuation return (v5))))) |
| 1381 (InvokeStatic print (v3) k2)))) | 1381 (InvokeStatic print (v3) k2)))) |
| 1382 (InvokeMethod v1 call () k1))))) | 1382 (InvokeMethod v1 call () k1))))) |
| 1383 (InvokeStatic print (x) k0))) | 1383 (InvokeStatic print (x) k0))) |
| 1384 ''', skipInAnalyzerFrontend: true) | 1384 ''', skipInAnalyzerFrontend: true) |
| 1385 ]), | 1385 ]), |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1400 (InvokeContinuation return (v0)))) | 1400 (InvokeContinuation return (v0)))) |
| 1401 (InvokeConstructor C () k0))) | 1401 (InvokeConstructor C () k0))) |
| 1402 ''', | 1402 ''', |
| 1403 'C.': ''' | 1403 'C.': ''' |
| 1404 (FunctionDefinition () return | 1404 (FunctionDefinition () return |
| 1405 (LetPrim (v0 (Constant (Null))) | 1405 (LetPrim (v0 (Constant (Null))) |
| 1406 (InvokeContinuation return (v0)))) | 1406 (InvokeContinuation return (v0)))) |
| 1407 '''}), | 1407 '''}), |
| 1408 ]), | 1408 ]), |
| 1409 ]; | 1409 ]; |
| OLD | NEW |