|
Add helper functions for throwing arity-related TypeErrors
Add a few new helper functions that the generated bindings code can use
to throw TypeErrors for arity mismatches.
This reduces the binary footprint for these exceptional code-paths.
(Approx. 75kB smaller content_shell binary on Linux, x86-64, gcc-4.8.2)
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170666
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+157 lines, -184 lines) |
Patch |
|
M |
Source/bindings/templates/methods.cpp
|
View
|
1
|
5 chunks |
+16 lines, -12 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterface.cpp
|
View
|
|
4 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterface2.cpp
|
View
|
|
6 chunks |
+6 lines, -12 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestObject.cpp
|
View
|
|
98 chunks |
+98 lines, -141 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestSpecialOperations.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestTypedefs.cpp
|
View
|
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/V8Binding.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/V8Binding.cpp
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
Total messages: 24 (0 generated)
|