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

Side by Side Diff: runtime/vm/code_generator.h

Issue 11043020: Add fast 64-bit bitwise negation to the IA32 optimizing compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: fixed bug in the optimizer that prevented optimization Created 8 years, 2 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
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 #ifndef VM_CODE_GENERATOR_H_ 5 #ifndef VM_CODE_GENERATOR_H_
6 #define VM_CODE_GENERATOR_H_ 6 #define VM_CODE_GENERATOR_H_
7 7
8 #include "vm/globals.h" 8 #include "vm/globals.h"
9 #include "vm/runtime_entry.h" 9 #include "vm/runtime_entry.h"
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 V(SmiCompareSmi) \ 71 V(SmiCompareSmi) \
72 V(SmiCompareAny) \ 72 V(SmiCompareAny) \
73 V(DoubleCompareDouble) \ 73 V(DoubleCompareDouble) \
74 V(EqualityNoFeedback) \ 74 V(EqualityNoFeedback) \
75 V(EqualityClassCheck) \ 75 V(EqualityClassCheck) \
76 V(DoubleComparison) \ 76 V(DoubleComparison) \
77 V(LoadIndexedFixedArray) \ 77 V(LoadIndexedFixedArray) \
78 V(LoadIndexedGrowableArray) \ 78 V(LoadIndexedGrowableArray) \
79 V(LoadIndexedPolymorphic) \ 79 V(LoadIndexedPolymorphic) \
80 V(NoTypeFeedback) \ 80 V(NoTypeFeedback) \
81 V(SAR) \
82 V(UnaryOp) \ 81 V(UnaryOp) \
82 V(UnboxInteger) \
83 V(CheckClass) \ 83 V(CheckClass) \
84 V(CheckSmi) \ 84 V(CheckSmi) \
85 V(AtCall) \ 85 V(AtCall) \
86 V(NumReasons) \ 86 V(NumReasons) \
87 87
88 enum DeoptReasonId { 88 enum DeoptReasonId {
89 #define DEFINE_ENUM_LIST(name) kDeopt##name, 89 #define DEFINE_ENUM_LIST(name) kDeopt##name,
90 DEOPT_REASONS(DEFINE_ENUM_LIST) 90 DEOPT_REASONS(DEFINE_ENUM_LIST)
91 #undef DEFINE_ENUM_LIST 91 #undef DEFINE_ENUM_LIST
92 }; 92 };
93 93
94 94
95 const char* DeoptReasonToText(intptr_t deopt_id); 95 const char* DeoptReasonToText(intptr_t deopt_id);
96 96
97 97
98 RawCode* ResolveCompileInstanceCallTarget(Isolate* isolate, 98 RawCode* ResolveCompileInstanceCallTarget(Isolate* isolate,
99 const Instance& receiver); 99 const Instance& receiver);
100 100
101 void DeoptimizeAll(); 101 void DeoptimizeAll();
102 102
103 } // namespace dart 103 } // namespace dart
104 104
105 #endif // VM_CODE_GENERATOR_H_ 105 #endif // VM_CODE_GENERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698