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

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

Issue 735543003: Range feedback for binary integer operations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 6 years 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/il_printer.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_INTERMEDIATE_LANGUAGE_H_ 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_
6 #define VM_INTERMEDIATE_LANGUAGE_H_ 6 #define VM_INTERMEDIATE_LANGUAGE_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/ast.h" 9 #include "vm/ast.h"
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
(...skipping 2691 matching lines...) Expand 10 before | Expand all | Expand 10 after
2702 arguments_(arguments), 2702 arguments_(arguments),
2703 argument_names_(argument_names), 2703 argument_names_(argument_names),
2704 checked_argument_count_(checked_argument_count) { 2704 checked_argument_count_(checked_argument_count) {
2705 ic_data_ = GetICData(ic_data_array); 2705 ic_data_ = GetICData(ic_data_array);
2706 ASSERT(function_name.IsNotTemporaryScopedHandle()); 2706 ASSERT(function_name.IsNotTemporaryScopedHandle());
2707 ASSERT(!arguments->is_empty()); 2707 ASSERT(!arguments->is_empty());
2708 ASSERT(argument_names.IsZoneHandle() || argument_names.InVMHeap()); 2708 ASSERT(argument_names.IsZoneHandle() || argument_names.InVMHeap());
2709 ASSERT(Token::IsBinaryOperator(token_kind) || 2709 ASSERT(Token::IsBinaryOperator(token_kind) ||
2710 Token::IsEqualityOperator(token_kind) || 2710 Token::IsEqualityOperator(token_kind) ||
2711 Token::IsRelationalOperator(token_kind) || 2711 Token::IsRelationalOperator(token_kind) ||
2712 Token::IsPrefixOperator(token_kind) || 2712 Token::IsUnaryOperator(token_kind) ||
2713 Token::IsIndexOperator(token_kind) || 2713 Token::IsIndexOperator(token_kind) ||
2714 Token::IsTypeTestOperator(token_kind) || 2714 Token::IsTypeTestOperator(token_kind) ||
2715 Token::IsTypeCastOperator(token_kind) || 2715 Token::IsTypeCastOperator(token_kind) ||
2716 token_kind == Token::kGET || 2716 token_kind == Token::kGET ||
2717 token_kind == Token::kSET || 2717 token_kind == Token::kSET ||
2718 token_kind == Token::kILLEGAL); 2718 token_kind == Token::kILLEGAL);
2719 } 2719 }
2720 2720
2721 DECLARE_INSTRUCTION(InstanceCall) 2721 DECLARE_INSTRUCTION(InstanceCall)
2722 2722
(...skipping 5270 matching lines...) Expand 10 before | Expand all | Expand 10 after
7993 Isolate* isolate, bool opt) const { \ 7993 Isolate* isolate, bool opt) const { \
7994 UNIMPLEMENTED(); \ 7994 UNIMPLEMENTED(); \
7995 return NULL; \ 7995 return NULL; \
7996 } \ 7996 } \
7997 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } 7997 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); }
7998 7998
7999 7999
8000 } // namespace dart 8000 } // namespace dart
8001 8001
8002 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 8002 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/il_printer.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698