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

Side by Side Diff: runtime/vm/precompiler.cc

Issue 2571563005: Turn the VM's dart:typed_data into a patch (Closed)
Patch Set: Tests pass. Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/precompiler.h" 5 #include "vm/precompiler.h"
6 6
7 #include "vm/aot_optimizer.h" 7 #include "vm/aot_optimizer.h"
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/ast_printer.h" 9 #include "vm/ast_printer.h"
10 #include "vm/branch_optimizer.h" 10 #include "vm/branch_optimizer.h"
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 {"dart:isolate", "IsolateSpawnException", "IsolateSpawnException."}, 591 {"dart:isolate", "IsolateSpawnException", "IsolateSpawnException."},
592 {"dart:isolate", "::", "_getIsolateScheduleImmediateClosure"}, 592 {"dart:isolate", "::", "_getIsolateScheduleImmediateClosure"},
593 {"dart:isolate", "::", "_setupHooks"}, 593 {"dart:isolate", "::", "_setupHooks"},
594 {"dart:isolate", "::", "_startMainIsolate"}, 594 {"dart:isolate", "::", "_startMainIsolate"},
595 {"dart:isolate", "::", "_startIsolate"}, 595 {"dart:isolate", "::", "_startIsolate"},
596 {"dart:isolate", "_RawReceivePortImpl", "_handleMessage"}, 596 {"dart:isolate", "_RawReceivePortImpl", "_handleMessage"},
597 {"dart:isolate", "_RawReceivePortImpl", "_lookupHandler"}, 597 {"dart:isolate", "_RawReceivePortImpl", "_lookupHandler"},
598 {"dart:isolate", "_SendPortImpl", "send"}, 598 {"dart:isolate", "_SendPortImpl", "send"},
599 {"dart:typed_data", "ByteData", "ByteData."}, 599 {"dart:typed_data", "ByteData", "ByteData."},
600 {"dart:typed_data", "ByteData", "ByteData._view"}, 600 {"dart:typed_data", "ByteData", "ByteData._view"},
601 {"dart:typed_data", "ByteBuffer", "ByteBuffer._New"}, 601 {"dart:typed_data", "_ByteBuffer", "_ByteBuffer._New"},
602 {"dart:_vmservice", "::", "_registerIsolate"}, 602 {"dart:_vmservice", "::", "_registerIsolate"},
603 {"dart:_vmservice", "::", "boot"}, 603 {"dart:_vmservice", "::", "boot"},
604 #if !defined(PRODUCT) 604 #if !defined(PRODUCT)
605 {"dart:developer", "Metrics", "_printMetrics"}, 605 {"dart:developer", "Metrics", "_printMetrics"},
606 {"dart:developer", "::", "_runExtension"}, 606 {"dart:developer", "::", "_runExtension"},
607 {"dart:isolate", "::", "_runPendingImmediateCallback"}, 607 {"dart:isolate", "::", "_runPendingImmediateCallback"},
608 #endif // !PRODUCT 608 #endif // !PRODUCT
609 // Fields 609 // Fields
610 {"dart:core", "Error", "_stackTrace"}, 610 {"dart:core", "Error", "_stackTrace"},
611 {"dart:math", "_Random", "_state"}, 611 {"dart:math", "_Random", "_state"},
(...skipping 2687 matching lines...) Expand 10 before | Expand all | Expand 10 after
3299 3299
3300 ASSERT(FLAG_precompiled_mode); 3300 ASSERT(FLAG_precompiled_mode);
3301 const bool optimized = function.IsOptimizable(); // False for natives. 3301 const bool optimized = function.IsOptimizable(); // False for natives.
3302 DartPrecompilationPipeline pipeline(zone, field_type_map); 3302 DartPrecompilationPipeline pipeline(zone, field_type_map);
3303 return PrecompileFunctionHelper(precompiler, &pipeline, function, optimized); 3303 return PrecompileFunctionHelper(precompiler, &pipeline, function, optimized);
3304 } 3304 }
3305 3305
3306 #endif // DART_PRECOMPILER 3306 #endif // DART_PRECOMPILER
3307 3307
3308 } // namespace dart 3308 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698