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

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

Issue 396733006: Optimize the multiplication of two 32-bit unsigned integers. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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_OBJECT_H_ 5 #ifndef VM_OBJECT_H_
6 #define VM_OBJECT_H_ 6 #define VM_OBJECT_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include "include/dart_api.h" 9 #include "include/dart_api.h"
10 #include "platform/assert.h" 10 #include "platform/assert.h"
(...skipping 3311 matching lines...) Expand 10 before | Expand all | Expand 10 after
3322 } 3322 }
3323 3323
3324 #define DEOPT_REASONS(V) \ 3324 #define DEOPT_REASONS(V) \
3325 V(Unknown) \ 3325 V(Unknown) \
3326 V(InstanceGetter) \ 3326 V(InstanceGetter) \
3327 V(PolymorphicInstanceCallTestFail) \ 3327 V(PolymorphicInstanceCallTestFail) \
3328 V(InstanceCallNoICData) \ 3328 V(InstanceCallNoICData) \
3329 V(IntegerToDouble) \ 3329 V(IntegerToDouble) \
3330 V(BinarySmiOp) \ 3330 V(BinarySmiOp) \
3331 V(BinaryMintOp) \ 3331 V(BinaryMintOp) \
3332 V(BinaryUint32Op) \
3332 V(UnaryMintOp) \ 3333 V(UnaryMintOp) \
3333 V(ShiftMintOp) \ 3334 V(ShiftMintOp) \
3334 V(BinaryDoubleOp) \ 3335 V(BinaryDoubleOp) \
3335 V(InstanceSetter) \ 3336 V(InstanceSetter) \
3336 V(Equality) \ 3337 V(Equality) \
3337 V(RelationalOp) \ 3338 V(RelationalOp) \
3338 V(EqualityClassCheck) \ 3339 V(EqualityClassCheck) \
3339 V(NoTypeFeedback) \ 3340 V(NoTypeFeedback) \
3340 V(UnaryOp) \ 3341 V(UnaryOp) \
3341 V(UnboxInteger) \ 3342 V(UnboxInteger) \
(...skipping 3843 matching lines...) Expand 10 before | Expand all | Expand 10 after
7185 7186
7186 7187
7187 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 7188 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
7188 intptr_t index) { 7189 intptr_t index) {
7189 return array.At((index * kEntryLength) + kTargetFunctionIndex); 7190 return array.At((index * kEntryLength) + kTargetFunctionIndex);
7190 } 7191 }
7191 7192
7192 } // namespace dart 7193 } // namespace dart
7193 7194
7194 #endif // VM_OBJECT_H_ 7195 #endif // VM_OBJECT_H_
OLDNEW
« runtime/vm/intermediate_language_ia32.cc ('K') | « runtime/vm/intermediate_language_ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698