|
Use UNLIKELY() macro in generated bindings for minimum argument count checks
Use UNLIKELY() macro in generated bindings for minimum argument count checks
in as a speculative fix for a performance regression caused by making
arguments mandatory. It is very unlikely the functions are called without the
required number of arguments so we should minimize the impact of this check
on performance.
R=haraken
BUG= 285069
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157246
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+105 lines, -105 lines) |
Patch |
|
M |
Source/bindings/scripts/deprecated_code_generator_v8.pm
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8Float64Array.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestActiveDOMObject.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestCustomAccessors.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestEventTarget.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterface.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestMediaQueryListListener.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestNamedConstructor.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestObject.cpp
|
View
|
|
72 chunks |
+76 lines, -76 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestOverloadedConstructors.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestTypedefs.cpp
|
View
|
|
10 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|