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

Side by Side Diff: src/interpreter-re2k.cc

Issue 11270: * Remove unexpected passes from mozilla.status. (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | test/mozilla/mozilla.status » ('j') | test/mozilla/mozilla.status » ('J')
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 61
62 # define BYTECODE(name) case BC_##name: \ 62 # define BYTECODE(name) case BC_##name: \
63 TraceInterpreter(code_base, \ 63 TraceInterpreter(code_base, \
64 pc, \ 64 pc, \
65 backtrack_sp - backtrack_stack, \ 65 backtrack_sp - backtrack_stack, \
66 current, \ 66 current, \
67 BC_##name##_LENGTH, \ 67 BC_##name##_LENGTH, \
68 #name); 68 #name);
69 #else 69 #else
70 # define BYTECODE(name) case BC_##name: 70 # define BYTECODE(name) case BC_##name: // NOLINT
71 #endif 71 #endif
72 72
73 73
74 74
75 static bool RawMatch(const byte* code_base, 75 static bool RawMatch(const byte* code_base,
76 Vector<const uc16> subject, 76 Vector<const uc16> subject,
77 int* registers, 77 int* registers,
78 int current) { 78 int current) {
79 const byte* pc = code_base; 79 const byte* pc = code_base;
80 int backtrack_stack[10000]; 80 int backtrack_stack[10000];
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 AssertNoAllocation a; 290 AssertNoAllocation a;
291 const byte* code_base = code_array->GetDataStartAddress(); 291 const byte* code_base = code_array->GetDataStartAddress();
292 return RawMatch(code_base, 292 return RawMatch(code_base,
293 Vector<const uc16>(subject16->GetTwoByteData(), 293 Vector<const uc16>(subject16->GetTwoByteData(),
294 subject16->length()), 294 subject16->length()),
295 registers, 295 registers,
296 start_position); 296 start_position);
297 } 297 }
298 298
299 } } // namespace v8::internal 299 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | test/mozilla/mozilla.status » ('j') | test/mozilla/mozilla.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698