|
Add extended attribute, [Measure], to simplify use counting
Setting [Measure] applies use counting to that member.
Use counter references are generated based on name with a type suffix,
for example:
interface Test {
[Measure] attribute double thing;
[Measure] void action();
}
will reference UseCounter::V8Test_Thing_AttributeGetter, UseCounter::V8Test_Thing_AttributeSetter,
and UseCounter::V8Test_Action_Method.
Note that this also allows getters/setters to be counted separately which
previously required custom bindings.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191253
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+144 lines, -22 lines) |
Patch |
 |
M |
Source/bindings/IDLExtendedAttributes.txt
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/v8_attributes.py
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/v8_interface.py
|
View
|
1
2
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/v8_methods.py
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/v8_utilities.py
|
View
|
1
2
|
1 chunk |
+11 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/attributes.cpp
|
View
|
1
2
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/constants.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/interface.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/methods.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/idls/core/TestInterface.idl
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/idls/core/TestObject.idl
|
View
|
1
2
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestInterface.cpp
|
View
|
1
2
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestObject.cpp
|
View
|
1
2
|
8 chunks |
+109 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 27 (4 generated)
|