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

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

Issue 11199002: Remove built-in identifier 'negate' from VM (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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_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 2053 matching lines...) Expand 10 before | Expand all | Expand 10 after
2064 : ic_data_(Isolate::Current()->GetICDataForDeoptId(deopt_id())), 2064 : ic_data_(Isolate::Current()->GetICDataForDeoptId(deopt_id())),
2065 token_pos_(token_pos), 2065 token_pos_(token_pos),
2066 function_name_(function_name), 2066 function_name_(function_name),
2067 token_kind_(token_kind), 2067 token_kind_(token_kind),
2068 arguments_(arguments), 2068 arguments_(arguments),
2069 argument_names_(argument_names), 2069 argument_names_(argument_names),
2070 checked_argument_count_(checked_argument_count) { 2070 checked_argument_count_(checked_argument_count) {
2071 ASSERT(function_name.IsZoneHandle()); 2071 ASSERT(function_name.IsZoneHandle());
2072 ASSERT(!arguments->is_empty()); 2072 ASSERT(!arguments->is_empty());
2073 ASSERT(argument_names.IsZoneHandle()); 2073 ASSERT(argument_names.IsZoneHandle());
2074 ASSERT(Token::IsBinaryToken(token_kind) || 2074 ASSERT(Token::IsBinaryOperator(token_kind) ||
2075 Token::IsUnaryToken(token_kind) || 2075 Token::IsPrefixOperator(token_kind) ||
2076 Token::IsIndexOperator(token_kind) || 2076 Token::IsIndexOperator(token_kind) ||
2077 token_kind == Token::kGET || 2077 token_kind == Token::kGET ||
2078 token_kind == Token::kSET || 2078 token_kind == Token::kSET ||
2079 token_kind == Token::kILLEGAL); 2079 token_kind == Token::kILLEGAL);
2080 } 2080 }
2081 2081
2082 DECLARE_INSTRUCTION(InstanceCall) 2082 DECLARE_INSTRUCTION(InstanceCall)
2083 virtual RawAbstractType* CompileType() const; 2083 virtual RawAbstractType* CompileType() const;
2084 2084
2085 const ICData* ic_data() const { return ic_data_; } 2085 const ICData* ic_data() const { return ic_data_; }
(...skipping 2143 matching lines...) Expand 10 before | Expand all | Expand 10 after
4229 ForwardInstructionIterator* current_iterator_; 4229 ForwardInstructionIterator* current_iterator_;
4230 4230
4231 private: 4231 private:
4232 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 4232 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
4233 }; 4233 };
4234 4234
4235 4235
4236 } // namespace dart 4236 } // namespace dart
4237 4237
4238 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 4238 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/parser.h » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698