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

Unified Diff: src/regexp-macro-assembler.h

Issue 9690: Rename codegen to macro-assembler.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/regexp2000/
Patch Set: Created 12 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: src/regexp-macro-assembler.h
===================================================================
--- src/regexp-macro-assembler.h (revision 706)
+++ src/regexp-macro-assembler.h (working copy)
@@ -25,8 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#ifndef V8_REGEXP_CODEGEN_H_
-#define V8_REGEXP_CODEGEN_H_
+#ifndef V8_REGEXP_MACRO_ASSEMBLER_H_
+#define V8_REGEXP_MACRO_ASSEMBLER_H_
namespace v8 { namespace internal {
@@ -63,16 +63,16 @@
template <typename SubjectChar>
-class RegexpCodeGenerator {
+class RegexpMacroAssembler {
public:
- RegexpCodeGenerator() { }
- virtual ~RegexpCodeGenerator() { }
+ RegexpMacroAssembler() { }
+ virtual ~RegexpMacroAssembler() { }
virtual void Bind(Label* label) = 0;
// Writes the current position in the subject string into the given index of
// the captures array. The old value is pushed to the stack.
- virtual void WriteCaptureInfo(int index) = 0;
+ virtual void WriteCurrentPositionToRegister(int index) = 0;
// Pops the the given index of the capture array from the stack.
- virtual void PopCaptureInfo(int index) = 0;
+ virtual void PopRegister(int index) = 0;
// Pushes the current position in the subject string onto the stack for later
// retrieval.
virtual void PushCurrentPosition() = 0;
@@ -112,4 +112,4 @@
} } // namespace v8::internal
-#endif // V8_REGEXP_CODEGEN_H_
+#endif // V8_REGEXP_MACRO_ASSEMBLER_H_
Property changes on: src/regexp-macro-assembler.h
___________________________________________________________________
Added: svn:mergeinfo

Powered by Google App Engine
This is Rietveld 408576698