|
Move hashmap into src/base.
We ported hashmap.h into libsampler as a workaround before, so the main focus of
this patch is to reduce code duplication. This patch moves the hashmap into
src/base as well as creates DefaultAllocationPolicy using malloc and free.
BUG= v8:5050
LOG=n
Committed: https://crrev.com/2fd55667a63a1428e9501336e5cd97f5431aa607
Cr-Commit-Position: refs/heads/master@{#36873}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+314 lines, -1028 lines) |
Patch |
|
M |
BUILD.gn
|
View
|
1
2
3
4
5
6
|
3 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
src/address-map.h
|
View
|
1
2
3
4
|
5 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/address-map.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm/simulator-arm.h
|
View
|
1
2
3
4
|
5 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/arm/simulator-arm.cc
|
View
|
1
2
3
4
|
6 chunks |
+8 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/arm64/simulator-arm64.h
|
View
|
1
2
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/arm64/simulator-arm64.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/ast/ast.h
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ast/ast.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ast/ast-value-factory.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ast/ast-value-factory.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/ast/scopes.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
src/base/hashmap.h
|
View
|
1
2
3
4
|
15 chunks |
+40 lines, -46 lines |
0 comments
|
Download
|
|
M |
src/bootstrapper.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/compilation-cache.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/d8.h
|
View
|
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/debug/debug.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/gdb-jit.cc
|
View
|
|
1 chunk |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/hashmap.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -356 lines |
0 comments
|
Download
|
|
M |
src/heap/heap.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/heap/heap.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/heap/heap-inl.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap/mark-compact.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/heap/spaces.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap/spaces.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/isolate.h
|
View
|
1
2
3
4
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
D |
src/libsampler/hashmap.h
|
View
|
|
1 chunk |
+0 lines, -278 lines |
0 comments
|
Download
|
|
D |
src/libsampler/utils.h
|
View
|
|
1 chunk |
+0 lines, -27 lines |
0 comments
|
Download
|
|
M |
src/libsampler/v8-sampler.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/mips/simulator-mips.h
|
View
|
1
2
3
4
|
5 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/mips/simulator-mips.cc
|
View
|
1
2
3
4
|
6 chunks |
+8 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/mips64/simulator-mips64.h
|
View
|
1
2
3
4
|
5 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/mips64/simulator-mips64.cc
|
View
|
1
2
3
4
|
6 chunks |
+8 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/parsing/parser-base.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/parsing/preparse-data.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/parsing/preparse-data.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/parsing/preparser.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/parsing/preparser.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/parsing/scanner.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/parsing/scanner.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/ppc/simulator-ppc.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/profiler/allocation-tracker.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/profiler/allocation-tracker.cc
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/profiler/heap-snapshot-generator.h
|
View
|
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/profiler/heap-snapshot-generator.cc
|
View
|
1
2
3
4
5
6
|
16 chunks |
+25 lines, -37 lines |
0 comments
|
Download
|
|
M |
src/profiler/profile-generator.h
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/profiler/profile-generator.cc
|
View
|
|
5 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/profiler/strings-storage.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/profiler/strings-storage.cc
|
View
|
|
4 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/s390/simulator-s390.h
|
View
|
1
2
3
4
|
5 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/s390/simulator-s390.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/snapshot/partial-serializer.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/snapshot/serializer.h
|
View
|
|
3 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/snapshot/serializer-common.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/snapshot/serializer-common.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/typing-asm.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/v8.gyp
|
View
|
1
2
3
4
5
6
|
3 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
src/wasm/asm-wasm-builder.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/wasm/wasm-js.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/zone.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-api.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-hashmap.cc
|
View
|
|
5 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-heap-profiler.cc
|
View
|
|
6 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
Total messages: 35 (13 generated)
|