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

Side by Side Diff: src/jsregexp.h

Issue 6123007: Fixes needed to compile on gcc-4.4.1 on ARM. It is still necessary... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 11 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/heap.h ('k') | src/jsregexp.cc » ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 // Execute a regular expression once on the subject, starting from 108 // Execute a regular expression once on the subject, starting from
109 // character "index". 109 // character "index".
110 // If successful, returns RE_SUCCESS and set the capture positions 110 // If successful, returns RE_SUCCESS and set the capture positions
111 // in the first registers. 111 // in the first registers.
112 // If matching fails, returns RE_FAILURE. 112 // If matching fails, returns RE_FAILURE.
113 // If execution fails, sets a pending exception and returns RE_EXCEPTION. 113 // If execution fails, sets a pending exception and returns RE_EXCEPTION.
114 static IrregexpResult IrregexpExecOnce(Handle<JSRegExp> regexp, 114 static IrregexpResult IrregexpExecOnce(Handle<JSRegExp> regexp,
115 Handle<String> subject, 115 Handle<String> subject,
116 int index, 116 int index,
117 Vector<int32_t> registers); 117 Vector<int> registers);
118 118
119 // Execute an Irregexp bytecode pattern. 119 // Execute an Irregexp bytecode pattern.
120 // On a successful match, the result is a JSArray containing 120 // On a successful match, the result is a JSArray containing
121 // captured positions. On a failure, the result is the null value. 121 // captured positions. On a failure, the result is the null value.
122 // Returns an empty handle in case of an exception. 122 // Returns an empty handle in case of an exception.
123 static Handle<Object> IrregexpExec(Handle<JSRegExp> regexp, 123 static Handle<Object> IrregexpExec(Handle<JSRegExp> regexp,
124 Handle<String> subject, 124 Handle<String> subject,
125 int index, 125 int index,
126 Handle<JSArray> lastMatchInfo); 126 Handle<JSArray> lastMatchInfo);
127 127
(...skipping 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1475 int offsets_vector_length_; 1475 int offsets_vector_length_;
1476 static int static_offsets_vector_[kStaticOffsetsVectorSize]; 1476 static int static_offsets_vector_[kStaticOffsetsVectorSize];
1477 1477
1478 friend class ExternalReference; 1478 friend class ExternalReference;
1479 }; 1479 };
1480 1480
1481 1481
1482 } } // namespace v8::internal 1482 } } // namespace v8::internal
1483 1483
1484 #endif // V8_JSREGEXP_H_ 1484 #endif // V8_JSREGEXP_H_
OLDNEW
« no previous file with comments | « src/heap.h ('k') | src/jsregexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698