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

Unified Diff: lib/compiler/implementation/js_backend/backend.dart

Issue 10834388: Fix stupid mistake (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/js_backend/backend.dart
diff --git a/lib/compiler/implementation/js_backend/backend.dart b/lib/compiler/implementation/js_backend/backend.dart
index c8df34d10f19de59a921c0e78f23d1a6ce1a9b14..66f4479aebd9eb8c10156eda66c7bb11330295b4 100644
--- a/lib/compiler/implementation/js_backend/backend.dart
+++ b/lib/compiler/implementation/js_backend/backend.dart
@@ -402,16 +402,16 @@ class JavaScriptBackend extends Backend {
}
/**
- * Retreive the return type of the function [calee]. The type is optimistic
- * in the sense that is is based on the compilation of [callee]. If [calee] is
- * recompiled the return type might change to someting broader. For that
+ * Retreive the return type of the function [callee]. The type is optimistic
+ * in the sense that is is based on the compilation of [callee]. If [callee]
+ * is recompiled the return type might change to someting broader. For that
* reason [caller] is registered for recompilation if this happens. If the
* function [callee] has not yet been compiled the returned type is [null].
*/
HType optimisticReturnTypesWithRecompilationOnTypeChange(
FunctionElement caller, FunctionElement callee) {
- returnInfo.putIfAbsent(calee, () => new ReturnInfo.unknownType());
- ReturnInfo info = returnInfo[calee];
+ returnInfo.putIfAbsent(callee, () => new ReturnInfo.unknownType());
+ ReturnInfo info = returnInfo[callee];
if (info.returnType != HType.UNKNOWN && caller != null) {
info.addCompiledFunction(caller);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698