Index: runtime/bin/loader.cc |
diff --git a/runtime/bin/loader.cc b/runtime/bin/loader.cc |
index fdeae6ca63facc14fd62fa2acf221697a7fc62a9..f92eb765e21cbccc5305ee91616b4424cbed45f7 100644 |
--- a/runtime/bin/loader.cc |
+++ b/runtime/bin/loader.cc |
@@ -370,8 +370,6 @@ bool Loader::ProcessResultLocked(Loader* loader, Loader::IOResult* result) { |
if (payload_type == DartUtils::kSnapshotMagicNumber) { |
dart_result = Dart_LoadScriptFromSnapshot(payload, payload_length); |
reload_extensions = true; |
- } else if (payload_type == DartUtils::kKernelMagicNumber) { |
- dart_result = Dart_LoadKernel(payload, payload_length); |
} else { |
dart_result = Dart_LoadScript(uri, resolved_uri, source, 0, 0); |
} |