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

Side by Side Diff: src/bytecodes-irregexp.h

Issue 3812012: Revert revision 5657. (Closed)
Patch Set: Created 10 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
« no previous file with comments | « src/ast.cc ('k') | src/ia32/regexp-macro-assembler-ia32.h » ('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 2008-2009 the V8 project authors. All rights reserved. 1 // Copyright 2008-2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 V(LOOKUP_MAP1, 37, 12) /* bc8 pad8 start16 bit_map_addr32 addr32 */ \ 81 V(LOOKUP_MAP1, 37, 12) /* bc8 pad8 start16 bit_map_addr32 addr32 */ \
82 V(LOOKUP_MAP2, 38, 96) /* bc8 pad8 start16 half_nibble_map_addr32* */ \ 82 V(LOOKUP_MAP2, 38, 96) /* bc8 pad8 start16 half_nibble_map_addr32* */ \
83 V(LOOKUP_MAP8, 39, 96) /* bc8 pad8 start16 byte_map addr32* */ \ 83 V(LOOKUP_MAP8, 39, 96) /* bc8 pad8 start16 byte_map addr32* */ \
84 V(LOOKUP_HI_MAP8, 40, 96) /* bc8 start24 byte_map_addr32 addr32* */ \ 84 V(LOOKUP_HI_MAP8, 40, 96) /* bc8 start24 byte_map_addr32 addr32* */ \
85 V(CHECK_REGISTER_LT, 41, 12) /* bc8 reg_idx24 value32 addr32 */ \ 85 V(CHECK_REGISTER_LT, 41, 12) /* bc8 reg_idx24 value32 addr32 */ \
86 V(CHECK_REGISTER_GE, 42, 12) /* bc8 reg_idx24 value32 addr32 */ \ 86 V(CHECK_REGISTER_GE, 42, 12) /* bc8 reg_idx24 value32 addr32 */ \
87 V(CHECK_REGISTER_EQ_POS, 43, 8) /* bc8 reg_idx24 addr32 */ \ 87 V(CHECK_REGISTER_EQ_POS, 43, 8) /* bc8 reg_idx24 addr32 */ \
88 V(CHECK_AT_START, 44, 8) /* bc8 pad24 addr32 */ \ 88 V(CHECK_AT_START, 44, 8) /* bc8 pad24 addr32 */ \
89 V(CHECK_NOT_AT_START, 45, 8) /* bc8 pad24 addr32 */ \ 89 V(CHECK_NOT_AT_START, 45, 8) /* bc8 pad24 addr32 */ \
90 V(CHECK_GREEDY, 46, 8) /* bc8 pad24 addr32 */ \ 90 V(CHECK_GREEDY, 46, 8) /* bc8 pad24 addr32 */ \
91 V(ADVANCE_CP_AND_GOTO, 47, 8) /* bc8 offset24 addr32 */ \ 91 V(ADVANCE_CP_AND_GOTO, 47, 8) /* bc8 offset24 addr32 */
92 V(SET_CURRENT_POSITION_FROM_END, 48, 4) /* bc8 idx24 */
93 92
94 #define DECLARE_BYTECODES(name, code, length) \ 93 #define DECLARE_BYTECODES(name, code, length) \
95 static const int BC_##name = code; 94 static const int BC_##name = code;
96 BYTECODE_ITERATOR(DECLARE_BYTECODES) 95 BYTECODE_ITERATOR(DECLARE_BYTECODES)
97 #undef DECLARE_BYTECODES 96 #undef DECLARE_BYTECODES
98 97
99 #define DECLARE_BYTECODE_LENGTH(name, code, length) \ 98 #define DECLARE_BYTECODE_LENGTH(name, code, length) \
100 static const int BC_##name##_LENGTH = length; 99 static const int BC_##name##_LENGTH = length;
101 BYTECODE_ITERATOR(DECLARE_BYTECODE_LENGTH) 100 BYTECODE_ITERATOR(DECLARE_BYTECODE_LENGTH)
102 #undef DECLARE_BYTECODE_LENGTH 101 #undef DECLARE_BYTECODE_LENGTH
103 } } 102 } }
104 103
105 #endif // V8_BYTECODES_IRREGEXP_H_ 104 #endif // V8_BYTECODES_IRREGEXP_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/ia32/regexp-macro-assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698