Remove last references to frog from SDK.

Review URL: https://codereview.chromium.org//10970056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12792 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
dgrove@google.com
2012-09-24 17:38:57 +00:00
parent 61297238fb
commit 79ff4f313d
4 changed files with 7 additions and 12 deletions
@@ -1293,8 +1293,7 @@ $classesCollector.$mangledName = {'':
}
// TODO(ngeoffray): These globals are currently required by the isolate
// library, but since leg already generates code on an Isolate object, they
// are not really needed. We should remove them once Leg replaces Frog.
// library. They should be removed.
buffer.add("""
var \$globalThis = $currentIsolate;
var \$globalState;
+3 -4
View File
@@ -2297,10 +2297,9 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
typeInfo = pop();
}
if (type.element.isTypeVariable()) {
// TODO(karlklose): We emulate the behavior of the old frog
// compiler and answer true to any is check involving a type variable
// -- both is T and is !T -- until we have a proper implementation of
// reified generics.
// TODO(karlklose): We currently answer true to any is check
// involving a type variable -- both is T and is !T -- until
// we have a proper implementation of reified generics.
stack.add(graph.addConstantBool(true, constantSystem));
} else {
HInstruction instruction;
+2 -2
View File
@@ -65,7 +65,7 @@ abstract class SendPort implements Hashable {
* running in the same process (e.g. isolates created via [spawnFunction]), it
* is also possible to send object instances (which would be copied in the
* process). This is currently only supported by the dartvm. For now, the
* frog compiler only supports the restricted messages described above.
* dart2js compiler only supports the restricted messages described above.
*
* Deprecation note: it is no longer valid to transmit a [ReceivePort] in a
* message. Previously they were translated to the corresponding send port
@@ -136,7 +136,7 @@ interface ReceivePort default _ReceivePortFactory {
}
// TODO(kasperl): Make this hashable and document it.
// TODO(kasperl): Document this.
abstract class SendPortSync {
callSync(var message);
+1 -4
View File
@@ -298,10 +298,6 @@ class _Sentinel {
const _Sentinel();
}
// TODO(sigmund): make a singleton const field when frog supports passing those
// as default values to named arguments.
const _sentinel = const _Sentinel();
/** Simulates spread arguments using named arguments. */
// TODO(sigmund): remove this class and simply use a closure with named
// arguments (if still applicable).
@@ -313,6 +309,7 @@ class _SpreadArgsHelper {
TestCase _testCase;
Function _shouldCallBack;
Function _isDone;
static const _sentinel = const _Sentinel();
_init(Function callback, Function shouldCallBack, Function isDone,
[expectedCalls = 0]) {