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

Side by Side Diff: vm/intermediate_language.h

Issue 11519006: Add read only handles for the following predefined symbols (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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
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 2040 matching lines...) Expand 10 before | Expand all | Expand 10 after
2051 ZoneGrowableArray<PushArgumentInstr*>* arguments, 2051 ZoneGrowableArray<PushArgumentInstr*>* arguments,
2052 const Array& argument_names, 2052 const Array& argument_names,
2053 intptr_t checked_argument_count) 2053 intptr_t checked_argument_count)
2054 : ic_data_(Isolate::Current()->GetICDataForDeoptId(deopt_id())), 2054 : ic_data_(Isolate::Current()->GetICDataForDeoptId(deopt_id())),
2055 token_pos_(token_pos), 2055 token_pos_(token_pos),
2056 function_name_(function_name), 2056 function_name_(function_name),
2057 token_kind_(token_kind), 2057 token_kind_(token_kind),
2058 arguments_(arguments), 2058 arguments_(arguments),
2059 argument_names_(argument_names), 2059 argument_names_(argument_names),
2060 checked_argument_count_(checked_argument_count) { 2060 checked_argument_count_(checked_argument_count) {
2061 ASSERT(function_name.IsZoneHandle()); 2061 ASSERT(function_name.IsPredefinedHandle() || function_name.IsZoneHandle());
2062 ASSERT(!arguments->is_empty()); 2062 ASSERT(!arguments->is_empty());
2063 ASSERT(argument_names.IsZoneHandle()); 2063 ASSERT(argument_names.IsZoneHandle());
2064 ASSERT(Token::IsBinaryOperator(token_kind) || 2064 ASSERT(Token::IsBinaryOperator(token_kind) ||
2065 Token::IsPrefixOperator(token_kind) || 2065 Token::IsPrefixOperator(token_kind) ||
2066 Token::IsIndexOperator(token_kind) || 2066 Token::IsIndexOperator(token_kind) ||
2067 token_kind == Token::kGET || 2067 token_kind == Token::kGET ||
2068 token_kind == Token::kSET || 2068 token_kind == Token::kSET ||
2069 token_kind == Token::kILLEGAL); 2069 token_kind == Token::kILLEGAL);
2070 } 2070 }
2071 2071
(...skipping 2229 matching lines...) Expand 10 before | Expand all | Expand 10 after
4301 ForwardInstructionIterator* current_iterator_; 4301 ForwardInstructionIterator* current_iterator_;
4302 4302
4303 private: 4303 private:
4304 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 4304 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
4305 }; 4305 };
4306 4306
4307 4307
4308 } // namespace dart 4308 } // namespace dart
4309 4309
4310 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 4310 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« vm/ast.h ('K') | « vm/flow_graph_builder.cc ('k') | vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698