|
|
[Isolates] Avoid dereferencing Isolate::Current() to check oddball identities.
- Added a kind field and accessors to JS Oddball objects.
- IsTrue/IsFalse/IsBoolean/IsTheHole/IsNull/IsUndefined now look like
[IsOddball() && Oddball::cast(this)->kind() == Oddball::kUndefined;]
- Some checks of the form [if (foo == HEAP->an_oddball_value())]
were updated (in such a way that they are resistant to foo being null
and to the oddballs changing locations after a GC.)
- Removed THIS from heap.cc.
Committed: http://code.google.com/p/v8/source/detail?r=5191
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+234 lines, -171 lines) |
Patch |
 |
M |
src/accessors.cc
|
View
|
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/ast.h
|
View
|
2
3
4
5
6
|
1 chunk |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/builtins.cc
|
View
|
2
3
4
5
6
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/debug.cc
|
View
|
2
3
4
5
6
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/disassembler.cc
|
View
|
2
3
4
5
6
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/handles.h
|
View
|
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/handles.cc
|
View
|
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/heap.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/heap.cc
|
View
|
1
2
3
4
5
6
|
47 chunks |
+102 lines, -99 lines |
0 comments
|
Download
|
 |
M |
src/heap-inl.h
|
View
|
2
3
4
5
6
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/ia32/codegen-ia32.cc
|
View
|
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/isolate.h
|
View
|
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/objects.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/objects.cc
|
View
|
1
2
3
4
5
6
|
19 chunks |
+31 lines, -19 lines |
0 comments
|
Download
|
 |
M |
src/objects-debug.cc
|
View
|
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/objects-inl.h
|
View
|
1
2
3
4
5
6
|
5 chunks |
+18 lines, -8 lines |
0 comments
|
Download
|
 |
M |
src/prettyprinter.cc
|
View
|
2
3
4
5
6
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/runtime.cc
|
View
|
2
3
4
5
6
|
6 chunks |
+16 lines, -8 lines |
0 comments
|
Download
|
 |
M |
src/string-stream.cc
|
View
|
2
3
4
5
6
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/stub-cache.cc
|
View
|
2
3
4
5
6
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
src/x64/codegen-x64.cc
|
View
|
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|