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

Side by Side Diff: test/mjsunit/handle-count-runtime-literals.js

Issue 1210153003: Fix flag convention in handle count tests and comment. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « test/mjsunit/handle-count-ast.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Flags: --check_handle_count 5 // Flags: --check-handle-count
6 6
7 (function (s) { 7 (function (s) {
8 s.frob = function () { 8 s.frob = function () {
9 var j; 9 var j;
10 var p0 = /^[\],:{}\s]*$/; 10 var p0 = /^[\],:{}\s]*$/;
11 var p1 = /"[^"\\\n\r]*"|a|b|c|_*-?\d+(?:\.\d*)?(:?[eE][+\-]?\d+)?/g; 11 var p1 = /"[^"\\\n\r]*"|a|b|c|_*-?\d+(?:\.\d*)?(:?[eE][+\-]?\d+)?/g;
12 var p2 = /(?:^|:|,)(?:\s*\[)+/g; 12 var p2 = /(?:^|:|,)(?:\s*\[)+/g;
13 if (p0.test(this.replace(/\\./g, '@').replace(p1, ']').replace(p2, ''))) { 13 if (p0.test(this.replace(/\\./g, '@').replace(p1, ']').replace(p2, ''))) {
14 var tmp = eval('(' + this + ')'); 14 var tmp = eval('(' + this + ')');
15 return 0; 15 return 0;
(...skipping 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1221 {\n \"key\": "ricric",\n \"value\": 774514\n },\ 1221 {\n \"key\": "ricric",\n \"value\": 774514\n },\
1222 {\n \"key\": "ideide",\n \"value\": 774514\n },\ 1222 {\n \"key\": "ideide",\n \"value\": 774514\n },\
1223 {\n \"key\": "nrynry",\n \"value\": 774514\n },\ 1223 {\n \"key\": "nrynry",\n \"value\": 774514\n },\
1224 {\n \"key\": "roiroi",\n \"value\": 775515\n },\ 1224 {\n \"key\": "roiroi",\n \"value\": 775515\n },\
1225 {\n \"key\": "ricric",\n \"value\": 774514\n },\ 1225 {\n \"key\": "ricric",\n \"value\": 774514\n },\
1226 {\n \"key\": "ideide",\n \"value\": 774514\n },\ 1226 {\n \"key\": "ideide",\n \"value\": 774514\n },\
1227 {\n \"key\": "nrynry",\n \"value\": 774514\n },\ 1227 {\n \"key\": "nrynry",\n \"value\": 774514\n },\
1228 {\n \"key\": "ralral",\n \"value\": 779049\n }]'; 1228 {\n \"key\": "ralral",\n \"value\": 779049\n }]';
1229 1229
1230 kvJSON.frob(); 1230 kvJSON.frob();
OLDNEW
« no previous file with comments | « test/mjsunit/handle-count-ast.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698