Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qq_34031325
engine
提交
0d151816
E
engine
项目概览
qq_34031325
/
engine
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
engine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
0d151816
编写于
10月 09, 2020
作者:
A
Alexander Markov
提交者:
GitHub
10月 09, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove uses of Dart VM bytecode mode from Flutter engine (#21741)
上级
85b0031f
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
0 addition
and
27 deletion
+0
-27
flutter_frontend_server/lib/server.dart
flutter_frontend_server/lib/server.dart
+0
-2
shell/platform/fuchsia/dart_runner/dart_runner.cc
shell/platform/fuchsia/dart_runner/dart_runner.cc
+0
-4
shell/platform/fuchsia/dart_runner/kernel/BUILD.gn
shell/platform/fuchsia/dart_runner/kernel/BUILD.gn
+0
-5
shell/platform/fuchsia/flutter/component.cc
shell/platform/fuchsia/flutter/component.cc
+0
-11
shell/platform/fuchsia/flutter/kernel/BUILD.gn
shell/platform/fuchsia/flutter/kernel/BUILD.gn
+0
-5
未找到文件。
flutter_frontend_server/lib/server.dart
浏览文件 @
0d151816
...
...
@@ -147,8 +147,6 @@ Future<int> starter(
'--target=flutter'
,
'--track-widget-creation'
,
'--enable-asserts'
,
'--gen-bytecode'
,
'--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions'
,
]);
compiler
??=
_FlutterFrontendCompiler
(
output
,
...
...
shell/platform/fuchsia/dart_runner/dart_runner.cc
浏览文件 @
0d151816
...
...
@@ -47,10 +47,6 @@ const char* kDartVMArgs[] = {
"--precompilation"
,
#else
"--enable_mirrors=false"
,
// The interpreter is enabled unconditionally. If an app is built for
// debugging (that is, with no bytecode), the VM will fall back on ASTs.
"--enable_interpreter"
,
#endif
// No asserts in debug or release product.
...
...
shell/platform/fuchsia/dart_runner/kernel/BUILD.gn
浏览文件 @
0d151816
...
...
@@ -22,10 +22,6 @@ compile_platform("kernel_platform_files") {
args = [
"--enable-experiment=non-nullable",
"--nnbd-agnostic",
# TODO(dartbug.com/36342): enable bytecode for core libraries when performance of bytecode
# pipeline is on par with default pipeline and continuously tracked.
# "--bytecode",
"--target=dart_runner",
"dart:core",
]
...
...
@@ -75,7 +71,6 @@ template("create_kernel_core_snapshot") {
# TODO(FL-117): Re-enable causal async stack traces when this issue is
# addressed.
"--no_causal_async_stacks",
"--use_bytecode_compiler",
"--enable_mirrors=false",
"--deterministic",
"--snapshot_kind=core-jit",
...
...
shell/platform/fuchsia/flutter/component.cc
浏览文件 @
0d151816
...
...
@@ -406,17 +406,6 @@ Application::Application(
// addressed.
settings_
.
dart_flags
=
{
"--no_causal_async_stacks"
};
// Disable code collection as it interferes with JIT code warmup
// by decreasing usage counters and flushing code which is still useful.
settings_
.
dart_flags
.
push_back
(
"--no-collect_code"
);
if
(
!
flutter
::
DartVM
::
IsRunningPrecompiledCode
())
{
// The interpreter is enabled unconditionally in JIT mode. If an app is
// built for debugging (that is, with no bytecode), the VM will fall back on
// ASTs.
settings_
.
dart_flags
.
push_back
(
"--enable_interpreter"
);
}
// Don't collect CPU samples from Dart VM C++ code.
settings_
.
dart_flags
.
push_back
(
"--no_profile_vm"
);
...
...
shell/platform/fuchsia/flutter/kernel/BUILD.gn
浏览文件 @
0d151816
...
...
@@ -22,10 +22,6 @@ compile_platform("kernel_platform_files") {
args = [
"--enable-experiment=non-nullable",
"--nnbd-agnostic",
# TODO(dartbug.com/36342): enable bytecode for core libraries when performance of bytecode
# pipeline is on par with default pipeline and continuously tracked.
# "--bytecode",
"--target=flutter_runner",
"dart:core",
]
...
...
@@ -79,7 +75,6 @@ template("core_snapshot") {
# TODO(FL-117): Re-enable causal async stack traces when this issue is
# addressed.
"--no_causal_async_stacks",
"--use_bytecode_compiler",
"--enable_mirrors=false",
"--deterministic",
"--snapshot_kind=core-jit",
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录