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

Side by Side Diff: src/regexp-macro-assembler.h

Issue 6759025: Version 3.2.6 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 9 years, 9 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
« no previous file with comments | « src/profile-generator.cc ('k') | src/scanner.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 the V8 project authors. All rights reserved. 1 // Copyright 2008 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 30 matching lines...) Expand all
41 41
42 class RegExpMacroAssembler { 42 class RegExpMacroAssembler {
43 public: 43 public:
44 // The implementation must be able to handle at least: 44 // The implementation must be able to handle at least:
45 static const int kMaxRegister = (1 << 16) - 1; 45 static const int kMaxRegister = (1 << 16) - 1;
46 static const int kMaxCPOffset = (1 << 15) - 1; 46 static const int kMaxCPOffset = (1 << 15) - 1;
47 static const int kMinCPOffset = -(1 << 15); 47 static const int kMinCPOffset = -(1 << 15);
48 enum IrregexpImplementation { 48 enum IrregexpImplementation {
49 kIA32Implementation, 49 kIA32Implementation,
50 kARMImplementation, 50 kARMImplementation,
51 kMIPSImplementation,
51 kX64Implementation, 52 kX64Implementation,
52 kBytecodeImplementation 53 kBytecodeImplementation
53 }; 54 };
54 55
55 enum StackCheckFlag { 56 enum StackCheckFlag {
56 kNoStackLimitCheck = false, 57 kNoStackLimitCheck = false,
57 kCheckStackLimit = true 58 kCheckStackLimit = true
58 }; 59 };
59 60
60 RegExpMacroAssembler(); 61 RegExpMacroAssembler();
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 const byte* input_end, 227 const byte* input_end,
227 int* output, 228 int* output,
228 Isolate* isolate); 229 Isolate* isolate);
229 }; 230 };
230 231
231 #endif // V8_INTERPRETED_REGEXP 232 #endif // V8_INTERPRETED_REGEXP
232 233
233 } } // namespace v8::internal 234 } } // namespace v8::internal
234 235
235 #endif // V8_REGEXP_MACRO_ASSEMBLER_H_ 236 #endif // V8_REGEXP_MACRO_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/profile-generator.cc ('k') | src/scanner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698