|
Introduce IsUndefined(Isolate*) and IsTheHole(Isolate*)
Passing in the isolate and pointer compare the instnance against the
corresponding constant is always faster than decoding the instance types.
BUG=
Committed: https://crrev.com/bc0798ca1a7e28eb82f03f40184b3b252f389fc4
Cr-Commit-Position: refs/heads/master@{#36744}
Total comments: 3
Total comments: 2
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+754 lines, -630 lines) |
Patch |
|
M |
src/accessors.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/api.cc
|
View
|
1
2
3
4
5
6
|
11 chunks |
+13 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/api-arguments.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/api-natives.cc
|
View
|
1
2
|
12 chunks |
+23 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/arm/code-stubs-arm.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/ast/ast.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/ast/prettyprinter.h
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ast/prettyprinter.cc
|
View
|
1
2
|
4 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/bootstrapper.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
8 chunks |
+14 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/builtins.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
21 chunks |
+26 lines, -25 lines |
0 comments
|
Download
|
|
M |
src/code-stubs.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/code-stubs.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/codegen.cc
|
View
|
1
2
|
2 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/compilation-cache.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-call-reducer.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/js-context-specialization.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/js-graph.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler/pipeline.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/contexts.cc
|
View
|
1
2
|
7 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/contexts-inl.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/hydrogen.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
6 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/hydrogen-instructions.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/hydrogen-types.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+12 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/d8-posix.cc
|
View
|
3
|
1 chunk |
+5 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/debug/debug.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
9 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/debug/debug-evaluate.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/debug/debug-frames.cc
|
View
|
1
2
|
4 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/debug/debug-scopes.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/debug/liveedit.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/deoptimizer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
10 chunks |
+14 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/elements.cc
|
View
|
1
2
3
6
|
15 chunks |
+19 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/factory.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/frames.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/full-codegen/arm/full-codegen-arm.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/arm64/full-codegen-arm64.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/full-codegen.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/full-codegen/ia32/full-codegen-ia32.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/mips/full-codegen-mips.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/mips64/full-codegen-mips64.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/ppc/full-codegen-ppc.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/s390/full-codegen-s390.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/x64/full-codegen-x64.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/x87/full-codegen-x87.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap/heap.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/heap/heap-inl.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap/incremental-marking.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/heap/mark-compact.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/heap/mark-compact-inl.h
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap/objects-visiting.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/heap/objects-visiting-inl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/ia32/code-stubs-ia32.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/ic/arm/handler-compiler-arm.cc
|
View
|
1
2
|
5 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ic/arm64/handler-compiler-arm64.cc
|
View
|
1
2
3
4
|
5 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ic/call-optimization.cc
|
View
|
1
2
|
2 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/ic/handler-compiler.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ic/ia32/handler-compiler-ia32.cc
|
View
|
1
2
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/ic/ic.cc
|
View
|
1
2
3
4
5
6
7
|
11 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/ic/ic-state.h
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/ic/ic-state.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/ic/mips/handler-compiler-mips.cc
|
View
|
1
2
|
5 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ic/mips64/handler-compiler-mips64.cc
|
View
|
1
2
|
5 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ic/ppc/handler-compiler-ppc.cc
|
View
|
1
2
|
5 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ic/s390/handler-compiler-s390.cc
|
View
|
1
2
|
5 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ic/x64/handler-compiler-x64.cc
|
View
|
1
2
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/ic/x87/handler-compiler-x87.cc
|
View
|
1
2
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/isolate.cc
|
View
|
1
2
3
4
5
|
13 chunks |
+15 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/isolate-inl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/json-parser.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/json-stringifier.cc
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/keys.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/log.cc
|
View
|
1
2
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/log-utils.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/lookup.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/messages.cc
|
View
|
1
2
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/mips/code-stubs-mips.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/mips64/code-stubs-mips64.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
84 chunks |
+147 lines, -121 lines |
0 comments
|
Download
|
|
M |
src/objects-debug.cc
|
View
|
1
2
3
4
5
|
24 chunks |
+53 lines, -44 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
21 chunks |
+48 lines, -27 lines |
0 comments
|
Download
|
|
M |
src/objects-printer.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/ppc/code-stubs-ppc.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/profiler/heap-snapshot-generator.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/property-descriptor.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-array.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-classes.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-collections.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-debug.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
6 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-function.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/runtime/runtime-i18n.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-internal.cc
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-literals.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-liveedit.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/runtime/runtime-object.cc
|
View
|
1
2
|
6 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-proxy.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-scopes.cc
|
View
|
|
5 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-symbol.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/s390/code-stubs-s390.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/snapshot/partial-serializer.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/snapshot/serializer.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/snapshot/serializer-common.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/string-stream.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/type-info.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/typing-asm.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/wasm/wasm-js.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/wasm/wasm-module.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/x64/code-stubs-x64.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
src/x87/code-stubs-x87.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/heap/test-heap.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/test-api.h
|
View
|
1
2
3
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
test/unittests/interpreter/constant-array-builder-unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 46 (15 generated)
|