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

Side by Side Diff: src/js/macros.py

Issue 1558113002: Add UseCounters for various standards-related code paths (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix accidental redefinition Created 4 years, 11 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 | « src/js/i18n.js ('k') | src/js/promise.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2006-2009 the V8 project authors. All rights reserved. 1 # Copyright 2006-2009 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 # Must match OrderedHashTable::kNotFound. 307 # Must match OrderedHashTable::kNotFound.
308 define NOT_FOUND = -1; 308 define NOT_FOUND = -1;
309 309
310 # Check whether debug is active. 310 # Check whether debug is active.
311 define DEBUG_IS_ACTIVE = (%_DebugIsActive() != 0); 311 define DEBUG_IS_ACTIVE = (%_DebugIsActive() != 0);
312 macro DEBUG_PREPARE_STEP_IN_IF_STEPPING(function) = if (%_DebugIsActive() != 0) %DebugPrepareStepInIfStepping(function); 312 macro DEBUG_PREPARE_STEP_IN_IF_STEPPING(function) = if (%_DebugIsActive() != 0) %DebugPrepareStepInIfStepping(function);
313 313
314 # SharedFlag equivalents 314 # SharedFlag equivalents
315 define kNotShared = false; 315 define kNotShared = false;
316 define kShared = true; 316 define kShared = true;
317
318 # UseCounters from include/v8.h
319 define kUseAsm = 0;
320 define kBreakIterator = 1;
321 define kLegacyConst = 2;
322 define kMarkDequeOverflow = 3;
323 define kStoreBufferOverflow = 4;
324 define kSlotsBufferOverflow = 5;
325 define kObjectObserve = 6;
326 define kForcedGC = 7;
327 define kSloppyMode = 8;
328 define kStrictMode = 9;
329 define kStrongMode = 10;
330 define kRegExpPrototypeStickyGetter = 11;
331 define kRegExpPrototypeToString = 12;
332 define kRegExpPrototypeUnicodeGetter = 13;
333 define kIntlV8Parse = 14;
334 define kIntlPattern = 15;
335 define kIntlResolved = 16;
336 define kPromiseChain = 17;
337 define kPromiseAccept = 18;
338 define kPromiseDefer = 19;
OLDNEW
« no previous file with comments | « src/js/i18n.js ('k') | src/js/promise.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698