Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(704)

Issue 2451853002: Uniform and precise source positions for inlining (Closed)

Created:
4 years, 1 month ago by Tobias Tebbi
Modified:
4 years ago
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

This CL enables precise source positions for all V8 compilers. It merges compiler::SourcePosition and internal::SourcePosition to a single class used throughout the codebase. The new internal::SourcePosition instances store an id identifying an inlined function in addition to a script offset. SourcePosition::InliningId() refers to a the new table DeoptimizationInputData::InliningPositions(), which provides the following data for every inlining id: - The inlined SharedFunctionInfo as an offset into DeoptimizationInfo::LiteralArray - The SourcePosition of the inlining. Recursively, this yields the full inlining stack. Before the Code object is created, the same information can be found in CompilationInfo::inlined_functions(). If SourcePosition::InliningId() is SourcePosition::kNotInlined, it refers to the outer (non-inlined) function. So every SourcePosition has full information about its inlining stack, as long as the corresponding Code object is known. The internal represenation of a source position is a positive 64bit integer. All compilers create now appropriate source positions for inlined functions. In the case of Turbofan, this required using AstGraphBuilderWithPositions for inlined functions too. So this class is now moved to a header file. At the moment, the additional information in source positions is only used in --trace-deopt and --code-comments. The profiler needs to be updated, at the moment it gets the correct script offsets from the deopt info, but the wrong script id from the reconstructed deopt stack, which can lead to wrong outputs. This should be resolved by making the profiler use the new inlining information for deopts. I activated the inlined deoptimization tests in test-cpu-profiler.cc for Turbofan, changing them to a case where the deopt stack and the inlining position agree. It is currently still broken for other cases. The following additional changes were necessary: - The source position table (internal::SourcePositionTableBuilder etc.) supports now 64bit source positions. Encoding source positions in a single 64bit int together with the difference encoding in the source position table results in very little overhead for the inlining id, since only 12% of the source positions in Octane have a changed inlining id. - The class HPositionInfo was effectively dead code and is now removed. - SourcePosition has new printing and information facilities, including computing a full inlining stack. - I had to rename compiler/source-position.{h,cc} to compiler/compiler-source-position-table.{h,cc} to avoid clashes with the new src/source-position.cc file. - I wrote the new wrapper PodArray for ByteArray. It is a template working with any POD-type. This is used in DeoptimizationInputData::InliningPositions(). - I removed HInlinedFunctionInfo and HGraph::inlined_function_infos, because they were only used for the now obsolete Crankshaft inlining ids. - Crankshaft managed a list of inlined functions in Lithium: LChunk::inlined_functions. This is an analog structure to CompilationInfo::inlined_functions. So I removed LChunk::inlined_functions and made Crankshaft use CompilationInfo::inlined_functions instead, because this was necessary to register the offsets into the literal array in a uniform way. This is a safe change because LChunk::inlined_functions has no other uses and the functions in CompilationInfo::inlined_functions have a strictly longer lifespan, being created earlier (in Hydrogen already). BUG=v8:5432 Committed: https://crrev.com/c3a6ca68d0646b10885ef7017557eaf463db2e4a Cr-Commit-Position: refs/heads/master@{#40975}

Patch Set 1 #

Patch Set 2 : avoiding --track-hydrogen-positions incompatibility #

Patch Set 3 : fixed obsolete identifiers #

Total comments: 3

Patch Set 4 : missing files #

Patch Set 5 : addressed comments #

Patch Set 6 : addressed comments #

Total comments: 7

Patch Set 7 : addressed Daniel's comments #

Patch Set 8 : fixed PodArray::copy_out #

Total comments: 42

Patch Set 9 : addressed comments #

Total comments: 22

Patch Set 10 : addressed comments #

Patch Set 11 : fixed compile issue #

Total comments: 1

Patch Set 12 : another compile problem #

Patch Set 13 : addressed comments #

Total comments: 2

Patch Set 14 : addressed comments #

Patch Set 15 : Rebased. #

Patch Set 16 : fixed rebase issues #

Patch Set 17 : fixed compile issue #

Patch Set 18 : more compile issues #

Total comments: 1

Patch Set 19 : tiny compilation issue #

Patch Set 20 : addressed comments #

Patch Set 21 : fixed gcmole issue #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+912 lines, -946 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -2 lines 0 comments Download
M src/arm/assembler-arm.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/arm64/assembler-arm64.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M src/arm64/assembler-arm64.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -3 lines 0 comments Download
M src/assembler.h View 1 2 3 4 5 6 7 8 9 3 chunks +6 lines, -4 lines 0 comments Download
M src/assembler.cc View 1 2 3 4 5 6 7 8 9 4 chunks +11 lines, -7 lines 0 comments Download
M src/compilation-info.h View 1 2 3 4 5 6 7 8 1 chunk +17 lines, -6 lines 0 comments Download
M src/compilation-info.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +6 lines, -3 lines 0 comments Download
M src/compiler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -0 lines 0 comments Download
M src/compiler/arm/code-generator-arm.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/ast-graph-builder.h View 1 2 3 4 5 6 7 8 9 2 chunks +30 lines, -0 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -0 lines 0 comments Download
M src/compiler/bytecode-graph-builder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +6 lines, -2 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +9 lines, -6 lines 0 comments Download
M src/compiler/code-generator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +32 lines, -18 lines 0 comments Download
A + src/compiler/compiler-source-position-table.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +7 lines, -32 lines 0 comments Download
A + src/compiler/compiler-source-position-table.cc View 1 2 3 9 10 11 12 13 14 15 16 17 3 chunks +2 lines, -6 lines 0 comments Download
M src/compiler/graph-visualizer.cc View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/instruction.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -2 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/js-inlining.h View 1 2 3 4 3 chunks +7 lines, -3 lines 0 comments Download
M src/compiler/js-inlining.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +7 lines, -4 lines 0 comments Download
M src/compiler/js-inlining-heuristic.h View 1 chunk +3 lines, -2 lines 0 comments Download
M src/compiler/mips/code-generator-mips.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/mips64/code-generator-mips64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/node-aux-data.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +13 lines, -12 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +8 lines, -39 lines 0 comments Download
M src/compiler/ppc/code-generator-ppc.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/s390/code-generator-s390.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/simplified-lowering.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +1 line, -1 line 0 comments Download
D src/compiler/source-position.h View 1 chunk +0 lines, -98 lines 0 comments Download
D src/compiler/source-position.cc View 1 chunk +0 lines, -77 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +2 lines, -3 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/x87/code-generator-x87.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/arm/lithium-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/arm64/lithium-arm64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/hydrogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +7 lines, -28 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 22 chunks +29 lines, -59 lines 2 comments Download
M src/crankshaft/hydrogen-instructions.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +7 lines, -130 lines 0 comments Download
M src/crankshaft/hydrogen-representation-changes.cc View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/ia32/lithium-ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M src/crankshaft/lithium.h View 2 chunks +0 lines, -9 lines 0 comments Download
M src/crankshaft/lithium.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M src/crankshaft/lithium-codegen.h View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/lithium-codegen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 6 chunks +39 lines, -12 lines 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/mips/lithium-mips.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/mips64/lithium-mips64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M src/crankshaft/ppc/lithium-codegen-ppc.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/ppc/lithium-ppc.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M src/crankshaft/s390/lithium-codegen-s390.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/s390/lithium-s390.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M src/crankshaft/x64/lithium-codegen-x64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/x64/lithium-x64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M src/crankshaft/x87/lithium-codegen-x87.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/x87/lithium-x87.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M src/debug/debug.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M src/debug/liveedit.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -3 lines 0 comments Download
M src/deoptimizer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +8 lines, -5 lines 0 comments Download
M src/disassembler.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -2 lines 0 comments Download
M src/full-codegen/full-codegen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -2 lines 0 comments Download
M src/ia32/assembler-ia32.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/interpreter/bytecode-array-writer.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/isolate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +1 line, -2 lines 0 comments Download
M src/log.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +5 lines, -4 lines 0 comments Download
M src/messages.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M src/mips/assembler-mips.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/mips64/assembler-mips64.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 10 chunks +45 lines, -15 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 10 chunks +115 lines, -97 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +19 lines, -0 lines 0 comments Download
M src/perf-jit.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ppc/assembler-ppc.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/profiler/cpu-profiler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M src/profiler/profile-generator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +7 lines, -6 lines 0 comments Download
M src/profiler/profiler-listener.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/runtime/runtime-debug.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M src/s390/assembler-s390.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/source-position.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +88 lines, -48 lines 0 comments Download
A src/source-position.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +137 lines, -0 lines 0 comments Download
M src/source-position-table.h View 4 chunks +7 lines, -5 lines 0 comments Download
M src/source-position-table.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +20 lines, -15 lines 0 comments Download
M src/v8.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -2 lines 0 comments Download
M src/x64/assembler-x64.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/x87/assembler-x87.h View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/cctest.status View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -4 lines 0 comments Download
M test/cctest/compiler/test-graph-visualizer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-js-context-specialization.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/interpreter/bytecode-expectations-printer.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/interpreter/source-position-matcher.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +63 lines, -59 lines 0 comments Download
M test/cctest/test-cpu-profiler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 18 6 chunks +27 lines, -23 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M test/unittests/compiler/control-equivalence-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/compiler/instruction-selector-unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M test/unittests/compiler/scheduler-unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -3 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-writer-unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M test/unittests/source-position-table-unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +12 lines, -8 lines 0 comments Download

Messages

Total messages: 81 (49 generated)
Tobias Tebbi
4 years, 1 month ago (2016-10-25 16:30:37 UTC) #3
Yang
Adding vogelheim@ who knows the details of the source position table encoding.
4 years, 1 month ago (2016-10-28 08:15:57 UTC) #8
Michael Starzinger
The compiler-source-position.[h/cc] file seems to be missing. Could you upload that one. Also a first ...
4 years, 1 month ago (2016-10-28 08:45:50 UTC) #9
vogelheim
I'm mostly confused about this CL. That might be just me; I'm confused a lot. ...
4 years, 1 month ago (2016-10-31 17:34:40 UTC) #10
Tobias Tebbi
Thank you so much! Your comments were super helpful! > https://codereview.chromium.org/2451853002/diff/130001/src/source-position.h > File src/source-position.h (right): ...
4 years, 1 month ago (2016-11-02 10:11:54 UTC) #12
Michael Starzinger
Looking good. I like where this is going. One more round of comments, we're almost ...
4 years, 1 month ago (2016-11-03 12:41:44 UTC) #13
vogelheim
I looked mainly at source-position*. Lots of nitpicks, sorry. :-/ Two things I'm genuinely unhappy ...
4 years, 1 month ago (2016-11-04 10:57:42 UTC) #14
Yang
+alph, fyi https://codereview.chromium.org/2451853002/diff/190001/src/assembler.cc File src/assembler.cc (right): https://codereview.chromium.org/2451853002/diff/190001/src/assembler.cc#newcode1899 src/assembler.cc:1899: RecordRelocInfo(RelocInfo::DEOPT_POSITION, position.EncodeInliningId()); Does it make sense to ...
4 years, 1 month ago (2016-11-04 14:32:59 UTC) #16
Tobias Tebbi
I addressed the comments (especialy refactored Script::GetPositionInfo to properly separate handlified and unhandlified code, and ...
4 years, 1 month ago (2016-11-07 15:10:34 UTC) #18
vogelheim
lgtm (from my perspective; but please wait for other reviewers' feedback, as I don't know ...
4 years, 1 month ago (2016-11-07 17:53:27 UTC) #19
vogelheim
On 2016/11/07 15:10:34, Tobias Tebbi wrote: > I addressed the comments (especialy refactored Script::GetPositionInfo to ...
4 years, 1 month ago (2016-11-07 18:10:39 UTC) #20
alph
Great! Thanks for doing this. https://codereview.chromium.org/2451853002/diff/210001/src/assembler.cc File src/assembler.cc (right): https://codereview.chromium.org/2451853002/diff/210001/src/assembler.cc#newcode1899 src/assembler.cc:1899: RecordRelocInfo(RelocInfo::DEOPT_POSITION, position.InliningId()); Hmm, looks ...
4 years, 1 month ago (2016-11-07 22:38:40 UTC) #21
Tobias Tebbi
https://codereview.chromium.org/2451853002/diff/210001/src/crankshaft/lithium-codegen.cc File src/crankshaft/lithium-codegen.cc (right): https://codereview.chromium.org/2451853002/diff/210001/src/crankshaft/lithium-codegen.cc#newcode315 src/crankshaft/lithium-codegen.cc:315: CompilationInfo* info) { On 2016/11/07 17:53:27, vogelheim wrote: > ...
4 years, 1 month ago (2016-11-08 10:29:07 UTC) #22
Yang
lgtm for everything aside from compilers. https://codereview.chromium.org/2451853002/diff/210001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2451853002/diff/210001/src/objects.cc#newcode13433 src/objects.cc:13433: if (!GetPositionInfoSlow(this, position, ...
4 years, 1 month ago (2016-11-08 13:32:13 UTC) #23
Michael Starzinger
LGTM. https://codereview.chromium.org/2451853002/diff/290001/src/compiler/compiler-source-position-table.h File src/compiler/compiler-source-position-table.h (right): https://codereview.chromium.org/2451853002/diff/290001/src/compiler/compiler-source-position-table.h#newcode5 src/compiler/compiler-source-position-table.h:5: #ifndef V8_COMPILER_SOURCE_POSITION_TABLE_H_ nit: V8_COMPILER_COMPILER_SOURCE_POSITION_TABLE_H_ https://codereview.chromium.org/2451853002/diff/290001/src/compiler/compiler-source-position-table.h#newcode73 src/compiler/compiler-source-position-table.h:73: #endif // ...
4 years, 1 month ago (2016-11-11 11:39:30 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2451853002/310001
4 years, 1 month ago (2016-11-11 11:45:40 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_rel_ng/builds/16057) v8_linux_dbg_ng on master.tryserver.v8 (JOB_FAILED, ...
4 years, 1 month ago (2016-11-11 11:47:10 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2451853002/330001
4 years, 1 month ago (2016-11-11 11:53:01 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_gcc_compile_rel on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_gcc_compile_rel/builds/26280)
4 years, 1 month ago (2016-11-11 11:57:12 UTC) #34
Benedikt Meurer
lgtm
4 years, 1 month ago (2016-11-11 11:58:17 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2451853002/350001
4 years, 1 month ago (2016-11-11 12:11:58 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/7784)
4 years, 1 month ago (2016-11-11 12:18:09 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2451853002/370001
4 years, 1 month ago (2016-11-11 12:19:18 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/7789)
4 years, 1 month ago (2016-11-11 12:26:42 UTC) #45
Tobias Tebbi
Hi Michi, Could you have a fast look at the changes in src/compiler/node-aux-data.h? These were ...
4 years, 1 month ago (2016-11-14 15:43:29 UTC) #62
Michael Starzinger
LGTM on node-aux-data changes. https://codereview.chromium.org/2451853002/diff/600001/src/compiler/code-generator.cc File src/compiler/code-generator.cc (right): https://codereview.chromium.org/2451853002/diff/600001/src/compiler/code-generator.cc#newcode523 src/compiler/code-generator.cc:523: for (unsigned i = 0; ...
4 years, 1 month ago (2016-11-14 15:53:40 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2451853002/640001
4 years, 1 month ago (2016-11-14 16:10:30 UTC) #70
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_rel_ng/builds/16129) v8_linux_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
4 years, 1 month ago (2016-11-14 16:47:22 UTC) #72
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2451853002/660001
4 years, 1 month ago (2016-11-14 16:53:40 UTC) #75
commit-bot: I haz the power
Committed patchset #21 (id:660001)
4 years, 1 month ago (2016-11-14 17:21:50 UTC) #77
commit-bot: I haz the power
Patchset 21 (id:??) landed as https://crrev.com/c3a6ca68d0646b10885ef7017557eaf463db2e4a Cr-Commit-Position: refs/heads/master@{#40975}
4 years, 1 month ago (2016-11-17 22:33:10 UTC) #79
Vyacheslav Egorov (Google)
4 years ago (2016-12-12 21:19:47 UTC) #81
Message was sent while issue was closed.
https://codereview.chromium.org/2451853002/diff/660001/src/crankshaft/hydroge...
File src/crankshaft/hydrogen.cc (right):

https://codereview.chromium.org/2451853002/diff/660001/src/crankshaft/hydroge...
src/crankshaft/hydrogen.cc:12811: if (pos.isInlined()) os << "inlining(" <<
pos.InliningId() << "),";
This change has broken IRHydra (https://github.com/mraleph/irhydra/issues/53)

I would have appreciated some heads up.

https://codereview.chromium.org/2451853002/diff/660001/src/crankshaft/hydroge...
src/crankshaft/hydrogen.cc:12812: os << pos.ScriptOffset();
Notice that previously this was offset since the beginning of function literal
for two reasons:

1. save some bits (this reason is obsolete with your change)
2. actually make this offset useful - we dump only function source, not the
whole script (HGraphBuilder::TraceInlinedFunction) so offset from the beginning
of the script needs to be converted to the offset since the start of the
function if we want to show something (e.g. display where deoptimization
happened based on that dumped code). Tool like IRHydra has only access to what
is dumped.

Powered by Google App Engine
This is Rietveld 408576698