|
Cleaning up usage of lookup results.
- Ensure that IsFound() is only used when not in combination with other
checks. To do so, the default type is NONEXISTENT rather than NORMAL;
and NotFound() also resets the type to NONEXISTENT.
- Use test methods rather than .type() == A_PROPERTY_TYPE.
Committed: https://code.google.com/p/v8/source/detail?r=11899
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+78 lines, -81 lines) |
Patch |
|
M |
src/arm/lithium-codegen-arm.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm/stub-cache-arm.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/bootstrapper.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.cc
|
View
|
|
5 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.cc
|
View
|
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/ia32/stub-cache-ia32.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ic.cc
|
View
|
|
9 chunks |
+9 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/mips/lithium-codegen-mips.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/mips/stub-cache-mips.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
|
10 chunks |
+15 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/property.h
|
View
|
|
6 chunks |
+11 lines, -4 lines |
5 comments
|
Download
|
|
M |
src/runtime.cc
|
View
|
|
13 chunks |
+15 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.cc
|
View
|
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/x64/stub-cache-x64.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 2 (0 generated)
|