Chromium Code Reviews| Index: src/jsregexp.h |
| =================================================================== |
| --- src/jsregexp.h (revision 753) |
| +++ src/jsregexp.h (working copy) |
| @@ -404,7 +404,7 @@ |
| // Until the implementation is complete we will return true for success and |
| // false for failure. |
| bool GoTo(RegExpCompiler* compiler); |
| - void EmitAddress(RegExpCompiler* compiler); |
| + Label* GetLabel(); |
|
Christian Plesner Hansen
2008/11/14 13:28:34
Since this is a simple accessor you could just cal
|
| // Until the implementation is complete we will return true for success and |
| // false for failure. |
| virtual bool Emit(RegExpCompiler* compiler) = 0; |
| @@ -589,6 +589,9 @@ |
| bool visited() { return visited_; } |
| void set_visited(bool value) { visited_ = value; } |
| private: |
| + void GenerateGuard(RegExpCompiler* compiler, |
| + Guard *guard, |
| + Label* on_failure); |
| RegExpNode* on_failure_; |
| ZoneList<GuardedAlternative>* choices_; |
| DispatchTable table_; |