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

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

Issue 2015113002: DBC: Collect type feedback for fastpath smi ops (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add comment Created 4 years, 6 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
« no previous file with comments | « runtime/vm/assembler_dbc_test.cc ('k') | runtime/vm/intermediate_language.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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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_CONSTANTS_DBC_H_ 5 #ifndef VM_CONSTANTS_DBC_H_
6 #define VM_CONSTANTS_DBC_H_ 6 #define VM_CONSTANTS_DBC_H_
7 7
8 #include "platform/globals.h" 8 #include "platform/globals.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 V(Move, A_X, reg, xeg, ___) \ 397 V(Move, A_X, reg, xeg, ___) \
398 V(Swap, A_X, reg, xeg, ___) \ 398 V(Swap, A_X, reg, xeg, ___) \
399 V(Push, X, xeg, ___, ___) \ 399 V(Push, X, xeg, ___, ___) \
400 V(LoadConstant, A_D, reg, lit, ___) \ 400 V(LoadConstant, A_D, reg, lit, ___) \
401 V(LoadClassId, A_D, reg, reg, ___) \ 401 V(LoadClassId, A_D, reg, reg, ___) \
402 V(LoadClassIdTOS, 0, ___, ___, ___) \ 402 V(LoadClassIdTOS, 0, ___, ___, ___) \
403 V(PushConstant, D, lit, ___, ___) \ 403 V(PushConstant, D, lit, ___, ___) \
404 V(StoreLocal, X, xeg, ___, ___) \ 404 V(StoreLocal, X, xeg, ___, ___) \
405 V(PopLocal, X, xeg, ___, ___) \ 405 V(PopLocal, X, xeg, ___, ___) \
406 V(StaticCall, A_D, num, num, ___) \ 406 V(StaticCall, A_D, num, num, ___) \
407 V(InstanceCall1, A_D, num, num, ___) \ 407 V(InstanceCall1, A_D, num, num, ___) \
408 V(InstanceCall2, A_D, num, num, ___) \ 408 V(InstanceCall2, A_D, num, num, ___) \
409 V(InstanceCall1Opt, A_D, num, num, ___) \ 409 V(InstanceCall1Opt, A_D, num, num, ___) \
410 V(InstanceCall2Opt, A_D, num, num, ___) \ 410 V(InstanceCall2Opt, A_D, num, num, ___) \
411 V(NativeCall, 0, ___, ___, ___) \ 411 V(NativeCall, 0, ___, ___, ___) \
412 V(NativeBootstrapCall, 0, ___, ___, ___) \ 412 V(NativeBootstrapCall, 0, ___, ___, ___) \
413 V(AddTOS, 0, ___, ___, ___) \ 413 V(AddTOS, 0, ___, ___, ___) \
414 V(SubTOS, 0, ___, ___, ___) \ 414 V(SubTOS, 0, ___, ___, ___) \
415 V(MulTOS, 0, ___, ___, ___) \ 415 V(MulTOS, 0, ___, ___, ___) \
416 V(BitOrTOS, 0, ___, ___, ___) \ 416 V(BitOrTOS, 0, ___, ___, ___) \
417 V(BitAndTOS, 0, ___, ___, ___) \ 417 V(BitAndTOS, 0, ___, ___, ___) \
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 kNumberOfDummyFpuRegisters, 568 kNumberOfDummyFpuRegisters,
569 }; 569 };
570 const FpuRegister FpuTMP = kFakeFpuRegister; 570 const FpuRegister FpuTMP = kFakeFpuRegister;
571 const intptr_t kNumberOfFpuRegisters = 1; 571 const intptr_t kNumberOfFpuRegisters = 1;
572 572
573 enum Condition { EQ, NE }; 573 enum Condition { EQ, NE };
574 574
575 } // namespace dart 575 } // namespace dart
576 576
577 #endif // VM_CONSTANTS_DBC_H_ 577 #endif // VM_CONSTANTS_DBC_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_dbc_test.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698