|
Blink GC plugin: Ensure that left-most vtable is the first thing to be initialized for polymorphic classes with trace methods.
This is done by ensuring one of two properties for any polymorphic class with a trace method.
1. If the trace method is virtual, then the left-most base class must define a virtual trace method too.
2. If the trace method is non-virtual, then the left-most base class must define some virtual method.
BUG= 334149
R=ager@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289285
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+295 lines, -20 lines) |
Patch |
 |
M |
tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp
|
View
|
1
2
3
|
7 chunks |
+151 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tools/clang/blink_gc_plugin/Config.h
|
View
|
1
2
|
2 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
A |
tools/clang/blink_gc_plugin/tests/base_class_must_define_virtual_trace.h
|
View
|
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
tools/clang/blink_gc_plugin/tests/base_class_must_define_virtual_trace.cpp
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
A |
tools/clang/blink_gc_plugin/tests/base_class_must_define_virtual_trace.txt
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/clang/blink_gc_plugin/tests/heap/stubs.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
tools/clang/blink_gc_plugin/tests/non_virtual_trace.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/clang/blink_gc_plugin/tests/non_virtual_trace.cpp
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/clang/blink_gc_plugin/tests/non_virtual_trace.txt
|
View
|
|
1 chunk |
+11 lines, -1 line |
0 comments
|
Download
|
 |
A |
tools/clang/blink_gc_plugin/tests/polymorphic_class_with_non_virtual_trace.h
|
View
|
1
2
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
tools/clang/blink_gc_plugin/tests/polymorphic_class_with_non_virtual_trace.cpp
|
View
|
1
2
|
1 chunk |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
A |
tools/clang/blink_gc_plugin/tests/polymorphic_class_with_non_virtual_trace.txt
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|