Add packages for the new compiler
Issue: https://github.com/dart-lang/sdk/issues/61635 Change-Id: I9bd9f0dc94df5797d6c66aa575bae6599f6f6228 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/453100 Reviewed-by: Stephen Adams <sra@google.com> Reviewed-by: Slava Egorov <vegorov@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
This commit is contained in:
committed by
Commit Queue
parent
7bf561b4b5
commit
906a62c70f
@@ -0,0 +1,6 @@
|
||||
set noparent
|
||||
alexmarkov@google.com
|
||||
sra@google.com
|
||||
vegorov@google.com
|
||||
# Global owners.
|
||||
file:/OWNERS
|
||||
@@ -0,0 +1,20 @@
|
||||
This package defines control flow graph (CFG) intermediate representation of
|
||||
Dart programs and optimization passes performed on CFG.
|
||||
|
||||
This package is intended to be used only by Dart compiler(s) in the Dart SDK.
|
||||
|
||||
Structure of the package:
|
||||
```
|
||||
front_end/ # Translation from kernel AST to CFG.
|
||||
ir/ # CFG/SSA IR and computation of its properties.
|
||||
passes/ # Optimization passes.
|
||||
utils/ # General-purpose utilities.
|
||||
```
|
||||
|
||||
## Status: experimental
|
||||
|
||||
**NOTE**: This package is currently experimental and not published or
|
||||
included in the SDK.
|
||||
|
||||
Do not take dependency on this package unless you are prepared for
|
||||
breaking changes and possibly removal of this code at any point in time.
|
||||
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
|
||||
# for details. All rights reserved. Use of this source code is governed by a
|
||||
# BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
include: package:lints/core.yaml
|
||||
@@ -0,0 +1,14 @@
|
||||
name: cfg
|
||||
description: CFG/SSA compiler IR and optimization passes.
|
||||
# This package is not intended for consumption on pub.dev. DO NOT publish.
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
sdk: ^3.7.0
|
||||
|
||||
resolution: workspace
|
||||
|
||||
# Use 'any' constraints here; we get our versions from the DEPS file.
|
||||
dependencies:
|
||||
|
||||
dev_dependencies:
|
||||
@@ -0,0 +1,6 @@
|
||||
set noparent
|
||||
alexmarkov@google.com
|
||||
sra@google.com
|
||||
vegorov@google.com
|
||||
# Global owners.
|
||||
file:/OWNERS
|
||||
@@ -0,0 +1,9 @@
|
||||
This package hosts compiler targeting native platforms.
|
||||
|
||||
## Status: experimental
|
||||
|
||||
**NOTE**: This package is currently experimental and not published or
|
||||
included in the SDK.
|
||||
|
||||
Do not take dependency on this package unless you are prepared for
|
||||
breaking changes and possibly removal of this code at any point in time.
|
||||
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
|
||||
# for details. All rights reserved. Use of this source code is governed by a
|
||||
# BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
include: package:lints/core.yaml
|
||||
@@ -0,0 +1,14 @@
|
||||
name: native_compiler
|
||||
description: Compiler targeting native platforms
|
||||
# This package is not intended for consumption on pub.dev. DO NOT publish.
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
sdk: ^3.7.0
|
||||
|
||||
resolution: workspace
|
||||
|
||||
# Use 'any' constraints here; we get our versions from the DEPS file.
|
||||
dependencies:
|
||||
|
||||
dev_dependencies:
|
||||
@@ -26,6 +26,7 @@ workspace:
|
||||
- pkg/async_helper
|
||||
- pkg/bisect_dart
|
||||
- pkg/build_integration
|
||||
- pkg/cfg
|
||||
- pkg/compiler
|
||||
- pkg/dart2bytecode
|
||||
- pkg/dart2js_info
|
||||
@@ -58,6 +59,7 @@ workspace:
|
||||
- pkg/meta
|
||||
- pkg/mmap
|
||||
- pkg/modular_test
|
||||
- pkg/native_compiler
|
||||
- pkg/native_stack_traces
|
||||
- pkg/node_preamble
|
||||
- pkg/record_use
|
||||
|
||||
Reference in New Issue
Block a user