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

Unified Diff: tools/tickprocessor.py

Issue 55007: Mark some of the places we leave V8 via callbacks as transitions to... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/testcfg.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/tickprocessor.py
===================================================================
--- tools/tickprocessor.py (revision 1629)
+++ tools/tickprocessor.py (working copy)
@@ -147,7 +147,7 @@
self.regions = []
-VMStates = { 'JS': 0, 'GC': 1, 'COMPILER': 2, 'OTHER': 3 }
+VMStates = { 'JS': 0, 'GC': 1, 'COMPILER': 2, 'OTHER': 3, 'EXTERNAL' : 4 }
class TickProcessor(object):
@@ -416,7 +416,13 @@
class CmdLineProcessor(object):
def __init__(self):
- self.options = ["js", "gc", "compiler", "other", "ignore-unknown", "separate-ic"]
+ self.options = ["js",
+ "gc",
+ "compiler",
+ "other",
+ "external",
+ "ignore-unknown",
+ "separate-ic"]
# default values
self.state = None
self.ignore_unknown = False
@@ -425,7 +431,7 @@
def ProcessArguments(self):
try:
- opts, args = getopt.getopt(sys.argv[1:], "jgco", self.options)
+ opts, args = getopt.getopt(sys.argv[1:], "jgcoe", self.options)
except getopt.GetoptError:
self.PrintUsageAndExit()
for key, value in opts:
@@ -437,6 +443,8 @@
self.state = VMStates['COMPILER']
if key in ("-o", "--other"):
self.state = VMStates['OTHER']
+ if key in ("-e", "--external"):
+ self.state = VMStates['EXTERNAL']
if key in ("--ignore-unknown"):
self.ignore_unknown = True
if key in ("--separate-ic"):
« no previous file with comments | « test/cctest/testcfg.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698