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

Unified Diff: runtime/vm/code_generator_x64.cc

Issue 9474001: Allocate and finalize a code object on x64 if the new compiler succeeds. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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
Index: runtime/vm/code_generator_x64.cc
diff --git a/runtime/vm/code_generator_x64.cc b/runtime/vm/code_generator_x64.cc
index 66845887b75e4cd68469adb88b1a142a9fbd7188..83d1533b426ab0514de57db9c18e46a4b13204c9 100644
--- a/runtime/vm/code_generator_x64.cc
+++ b/runtime/vm/code_generator_x64.cc
@@ -218,8 +218,8 @@ void CodeGenerator::GeneratePreEntryCode() {
// - No two descriptors of same kind have the same PC.
// A function without unique ids is marked as non-optimizable (e.g., because of
// finally blocks).
-static void VerifyPcDescriptors(const PcDescriptors& descriptors,
- bool check_ids) {
+void CodeGenerator::VerifyPcDescriptors(const PcDescriptors& descriptors,
+ bool check_ids) {
srdjan 2012/02/28 00:23:39 Move VerifyPcDescriptors out to shared code, e.g.,
#if defined(DEBUG)
// TODO(srdjan): Implement a more efficient way to check, currently drop
// the check for too large number of descriptors.
« no previous file with comments | « runtime/vm/code_generator_x64.h ('k') | runtime/vm/compiler.cc » ('j') | runtime/vm/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698