|
FYI: Compile fixes when always using a local for method return value
By always storing the return value in a local, we tend to narrow the
range of acceptable return values on the C++ side, compared to when
passing the return value directly as an argument to a v8SetReturnValue()
function or similar (since those are often overloaded or templates
accepting a multitude of types.)
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+156 lines, -86 lines) |
Patch |
 |
M |
Source/bindings/scripts/v8_methods.py
|
View
|
|
1 chunk |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/v8_types.py
|
View
|
|
1 chunk |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestException.cpp
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestInterface.cpp
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestInterface2.cpp
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestInterfaceNode.cpp
|
View
|
|
5 chunks |
+14 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestObject.cpp
|
View
|
|
50 chunks |
+106 lines, -53 lines |
3 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestTypedefs.cpp
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.cpp
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/modules/filesystem/EntrySync.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/modules/filesystem/EntrySync.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|