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

Unified Diff: pkg/kernel/lib/binary/ast_from_binary.dart

Issue 2697193008: [Kernel] replace function debuggable field with originalAsyncMarker field (Closed)
Patch Set: Created 3 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
Index: pkg/kernel/lib/binary/ast_from_binary.dart
diff --git a/pkg/kernel/lib/binary/ast_from_binary.dart b/pkg/kernel/lib/binary/ast_from_binary.dart
index 100fe9886627918ff9ff771dae1c3443e94e0f66..1fc606d17fc30ac5fd1dd81e0697eef522a5301e 100644
--- a/pkg/kernel/lib/binary/ast_from_binary.dart
+++ b/pkg/kernel/lib/binary/ast_from_binary.dart
@@ -477,7 +477,7 @@ class BinaryBuilder {
int offset = readOffset();
int endOffset = readOffset();
AsyncMarker asyncMarker = AsyncMarker.values[readByte()];
- bool debuggable = readByte() == 1 ? true : false;
+ AsyncMarker originalAsyncMarker = AsyncMarker.values[readByte()];
int typeParameterStackHeight = typeParameterStack.length;
var typeParameters = readAndPushTypeParameterList();
var requiredParameterCount = readUInt();
@@ -499,10 +499,10 @@ class BinaryBuilder {
namedParameters: named,
returnType: returnType,
inferredReturnValue: inferredReturnValue,
- asyncMarker: asyncMarker)
+ asyncMarker: asyncMarker,
+ originalAsyncMarker: originalAsyncMarker)
..fileOffset = offset
- ..fileEndOffset = endOffset
- ..debuggable = debuggable;
+ ..fileEndOffset = endOffset;
}
void pushVariableDeclaration(VariableDeclaration variable) {

Powered by Google App Engine
This is Rietveld 408576698