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

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

Issue 300763002: Don't require eliminating certain type checks in unoptimized compilation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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/object.h" 5 #include "vm/object.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/cpu.h" 10 #include "vm/cpu.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 "Show names of internal classes (e.g. \"OneByteString\") in error messages " 58 "Show names of internal classes (e.g. \"OneByteString\") in error messages "
59 "instead of showing the corresponding interface names (e.g. \"String\")"); 59 "instead of showing the corresponding interface names (e.g. \"String\")");
60 DEFINE_FLAG(bool, trace_disabling_optimized_code, false, 60 DEFINE_FLAG(bool, trace_disabling_optimized_code, false,
61 "Trace disabling optimized code."); 61 "Trace disabling optimized code.");
62 DEFINE_FLAG(bool, throw_on_javascript_int_overflow, false, 62 DEFINE_FLAG(bool, throw_on_javascript_int_overflow, false,
63 "Throw an exception when the result of an integer calculation will not " 63 "Throw an exception when the result of an integer calculation will not "
64 "fit into a javascript integer."); 64 "fit into a javascript integer.");
65 DEFINE_FLAG(bool, use_field_guards, true, "Guard field cids."); 65 DEFINE_FLAG(bool, use_field_guards, true, "Guard field cids.");
66 DEFINE_FLAG(bool, use_lib_cache, true, "Use library name cache"); 66 DEFINE_FLAG(bool, use_lib_cache, true, "Use library name cache");
67 67
68 DECLARE_FLAG(bool, eliminate_type_checks);
69 DECLARE_FLAG(bool, enable_type_checks); 68 DECLARE_FLAG(bool, enable_type_checks);
70 DECLARE_FLAG(bool, error_on_bad_override); 69 DECLARE_FLAG(bool, error_on_bad_override);
71 DECLARE_FLAG(bool, trace_compiler); 70 DECLARE_FLAG(bool, trace_compiler);
72 DECLARE_FLAG(bool, trace_deoptimization); 71 DECLARE_FLAG(bool, trace_deoptimization);
73 DECLARE_FLAG(bool, trace_deoptimization_verbose); 72 DECLARE_FLAG(bool, trace_deoptimization_verbose);
74 DECLARE_FLAG(bool, verbose_stacktrace); 73 DECLARE_FLAG(bool, verbose_stacktrace);
75 DECLARE_FLAG(charp, coverage_dir); 74 DECLARE_FLAG(charp, coverage_dir);
76 DECLARE_FLAG(bool, write_protect_code); 75 DECLARE_FLAG(bool, write_protect_code);
77 76
78 static const char* kGetterPrefix = "get:"; 77 static const char* kGetterPrefix = "get:";
(...skipping 18831 matching lines...) Expand 10 before | Expand all | Expand 10 after
18910 return tag_label.ToCString(); 18909 return tag_label.ToCString();
18911 } 18910 }
18912 18911
18913 18912
18914 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { 18913 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const {
18915 Instance::PrintJSONImpl(stream, ref); 18914 Instance::PrintJSONImpl(stream, ref);
18916 } 18915 }
18917 18916
18918 18917
18919 } // namespace dart 18918 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698