| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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_REGEXP_ASSEMBLER_H_ | 5 #ifndef VM_REGEXP_ASSEMBLER_H_ |
| 6 #define VM_REGEXP_ASSEMBLER_H_ | 6 #define VM_REGEXP_ASSEMBLER_H_ |
| 7 | 7 |
| 8 #include "vm/assembler.h" | 8 #include "vm/assembler.h" |
| 9 #include "vm/intermediate_language.h" | 9 #include "vm/intermediate_language.h" |
| 10 #include "vm/object.h" | 10 #include "vm/object.h" |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 Symbols::LessEqualOperator(), token_kind, 2); | 393 Symbols::LessEqualOperator(), token_kind, 2); |
| 394 case Token::kGT: return InstanceCallDescriptor( | 394 case Token::kGT: return InstanceCallDescriptor( |
| 395 Symbols::RAngleBracket(), token_kind, 2); | 395 Symbols::RAngleBracket(), token_kind, 2); |
| 396 case Token::kGTE: return InstanceCallDescriptor( | 396 case Token::kGTE: return InstanceCallDescriptor( |
| 397 Symbols::GreaterEqualOperator(), token_kind, 2); | 397 Symbols::GreaterEqualOperator(), token_kind, 2); |
| 398 case Token::kNEGATE: return InstanceCallDescriptor( | 398 case Token::kNEGATE: return InstanceCallDescriptor( |
| 399 Symbols::UnaryMinus(), token_kind, 1); | 399 Symbols::UnaryMinus(), token_kind, 1); |
| 400 case Token::kINDEX: return InstanceCallDescriptor( | 400 case Token::kINDEX: return InstanceCallDescriptor( |
| 401 Symbols::IndexToken(), token_kind, 2); | 401 Symbols::IndexToken(), token_kind, 2); |
| 402 case Token::kASSIGN_INDEX: return InstanceCallDescriptor( | 402 case Token::kASSIGN_INDEX: return InstanceCallDescriptor( |
| 403 Symbols::AssignIndexToken(), token_kind, 3); | 403 Symbols::AssignIndexToken(), token_kind, 2); |
| 404 default: | 404 default: |
| 405 UNREACHABLE(); | 405 UNREACHABLE(); |
| 406 } | 406 } |
| 407 UNREACHABLE(); | 407 UNREACHABLE(); |
| 408 return InstanceCallDescriptor(Symbols::Empty()); | 408 return InstanceCallDescriptor(Symbols::Empty()); |
| 409 } | 409 } |
| 410 | 410 |
| 411 const String& name; | 411 const String& name; |
| 412 Token::Kind token_kind; | 412 Token::Kind token_kind; |
| 413 intptr_t checked_argument_count; | 413 intptr_t checked_argument_count; |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 640 IdAllocator temp_id_; | 640 IdAllocator temp_id_; |
| 641 IdAllocator arg_id_; | 641 IdAllocator arg_id_; |
| 642 IdAllocator local_id_; | 642 IdAllocator local_id_; |
| 643 IdAllocator indirect_id_; | 643 IdAllocator indirect_id_; |
| 644 }; | 644 }; |
| 645 | 645 |
| 646 | 646 |
| 647 } // namespace dart | 647 } // namespace dart |
| 648 | 648 |
| 649 #endif // VM_REGEXP_ASSEMBLER_H_ | 649 #endif // VM_REGEXP_ASSEMBLER_H_ |
| OLD | NEW |