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

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

Issue 1790593002: Move the VM's typed_data implementation to runtime/lib. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 { "dart:core", "_TypeError", "_TypeError._create" }, 304 { "dart:core", "_TypeError", "_TypeError._create" },
305 { "dart:isolate", "IsolateSpawnException", "IsolateSpawnException." }, 305 { "dart:isolate", "IsolateSpawnException", "IsolateSpawnException." },
306 { "dart:isolate", "::", "_getIsolateScheduleImmediateClosure" }, 306 { "dart:isolate", "::", "_getIsolateScheduleImmediateClosure" },
307 { "dart:isolate", "::", "_setupHooks" }, 307 { "dart:isolate", "::", "_setupHooks" },
308 { "dart:isolate", "::", "_startMainIsolate" }, 308 { "dart:isolate", "::", "_startMainIsolate" },
309 { "dart:isolate", "_RawReceivePortImpl", "_handleMessage" }, 309 { "dart:isolate", "_RawReceivePortImpl", "_handleMessage" },
310 { "dart:isolate", "_RawReceivePortImpl", "_lookupHandler" }, 310 { "dart:isolate", "_RawReceivePortImpl", "_lookupHandler" },
311 { "dart:isolate", "_SendPortImpl", "send" }, 311 { "dart:isolate", "_SendPortImpl", "send" },
312 { "dart:typed_data", "ByteData", "ByteData." }, 312 { "dart:typed_data", "ByteData", "ByteData." },
313 { "dart:typed_data", "ByteData", "ByteData._view" }, 313 { "dart:typed_data", "ByteData", "ByteData._view" },
314 { "dart:typed_data", "_ByteBuffer", "_ByteBuffer._New" }, 314 { "dart:typed_data", "ByteBuffer", "ByteBuffer._New" },
315 { "dart:_vmservice", "::", "_registerIsolate" }, 315 { "dart:_vmservice", "::", "_registerIsolate" },
316 { "dart:_vmservice", "::", "boot" }, 316 { "dart:_vmservice", "::", "boot" },
317 { "dart:developer", "Metrics", "_printMetrics" }, 317 { "dart:developer", "Metrics", "_printMetrics" },
318 // Fields 318 // Fields
319 { "dart:core", "Error", "_stackTrace" }, 319 { "dart:core", "Error", "_stackTrace" },
320 { "dart:math", "_Random", "_state" }, 320 { "dart:math", "_Random", "_state" },
321 { NULL, NULL, NULL } // Must be terminated with NULL entries. 321 { NULL, NULL, NULL } // Must be terminated with NULL entries.
322 }; 322 };
323 323
324 AddEntryPoints(vm_entry_points); 324 AddEntryPoints(vm_entry_points);
(...skipping 2271 matching lines...) Expand 10 before | Expand all | Expand 10 after
2596 CompilationPipeline::New(thread->zone(), function); 2596 CompilationPipeline::New(thread->zone(), function);
2597 2597
2598 ASSERT(FLAG_precompiled_mode); 2598 ASSERT(FLAG_precompiled_mode);
2599 const bool optimized = function.IsOptimizable(); // False for natives. 2599 const bool optimized = function.IsOptimizable(); // False for natives.
2600 return PrecompileFunctionHelper(pipeline, function, optimized); 2600 return PrecompileFunctionHelper(pipeline, function, optimized);
2601 } 2601 }
2602 2602
2603 #endif // DART_PRECOMPILER 2603 #endif // DART_PRECOMPILER
2604 2604
2605 } // namespace dart 2605 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/profiler_test.cc » ('j') | runtime/vm/vm.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698