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

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

Issue 115756: Split nested namespaces declaration in two lines in accordance with C++ Style Guide. (Closed)
Patch Set: Created 11 years, 7 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
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 18 matching lines...) Expand all
29 29
30 30
31 #include "v8.h" 31 #include "v8.h"
32 #include "unicode.h" 32 #include "unicode.h"
33 #include "utils.h" 33 #include "utils.h"
34 #include "ast.h" 34 #include "ast.h"
35 #include "bytecodes-irregexp.h" 35 #include "bytecodes-irregexp.h"
36 #include "interpreter-irregexp.h" 36 #include "interpreter-irregexp.h"
37 37
38 38
39 namespace v8 { namespace internal { 39 namespace v8 {
40 namespace internal {
40 41
41 42
42 static unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize; 43 static unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize;
43 44
44 45
45 static bool BackRefMatchesNoCase(int from, 46 static bool BackRefMatchesNoCase(int from,
46 int current, 47 int current,
47 int len, 48 int len,
48 Vector<const uc16> subject) { 49 Vector<const uc16> subject) {
49 for (int i = 0; i < len; i++) { 50 for (int i = 0; i < len; i++) {
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 if (start_position != 0) previous_char = subject_vector[start_position - 1]; 588 if (start_position != 0) previous_char = subject_vector[start_position - 1];
588 return RawMatch(code_base, 589 return RawMatch(code_base,
589 subject_vector, 590 subject_vector,
590 registers, 591 registers,
591 start_position, 592 start_position,
592 previous_char); 593 previous_char);
593 } 594 }
594 } 595 }
595 596
596 } } // namespace v8::internal 597 } } // namespace v8::internal
OLDNEW
« src/accessors.h ('K') | « src/interpreter-irregexp.h ('k') | src/jsregexp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698