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

Issue 1297203002: Add CompileInfo::GetDebugName() (Closed)

Created:
5 years, 4 months ago by rmcilroy
Modified:
5 years, 4 months ago
Reviewers:
titzer, Yang
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@interpreter_immed_bytecodes
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add CompileInfo::GetDebugName() Replaces all instances of the code which computed the debug name of a stub or function with calls to CompileInfo::GetDebugName instead. Also: - Removes useless parameter on CodeStub::GetMajorName - Removes FakeStubForTesting since it is no longer required - Adds CompileInfo::ShouldEnsureSpaceForLazyDeopt() to replace unclear calls to IsStub(). Committed: https://crrev.com/53ac9fe8f9fa57f0f6d2960d5de92b9236bd871a Cr-Commit-Position: refs/heads/master@{#30324}

Patch Set 1 : #

Patch Set 2 : Fix is_crankshafted DCHECK #

Patch Set 3 : Add CompilationInfo::ShouldEnsureSpaceForLazyDeopt() #

Total comments: 8

Patch Set 4 : Remove interpreter specific code and create CompilerInfo::GetDebugName() #

Patch Set 5 : Fix ComputeFlags bug. #

Patch Set 6 : Fix test crash #

Unified diffs Side-by-side diffs Delta from patch set Stats (+201 lines, -228 lines) Patch
M src/code-stubs.h View 1 2 3 2 chunks +1 line, -24 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 3 chunks +3 lines, -4 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/codegen.cc View 1 2 3 4 5 chunks +12 lines, -27 lines 0 comments Download
M src/compiler.h View 1 2 3 4 5 6 chunks +11 lines, -6 lines 0 comments Download
M src/compiler.cc View 1 2 3 4 5 5 chunks +30 lines, -4 lines 0 comments Download
M src/compiler/arm/code-generator-arm.cc View 1 2 1 chunk +15 lines, -13 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 2 1 chunk +17 lines, -15 lines 0 comments Download
M src/compiler/code-generator.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/compiler/graph-visualizer.cc View 1 2 3 3 chunks +11 lines, -14 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 2 1 chunk +10 lines, -8 lines 0 comments Download
M src/compiler/mips/code-generator-mips.cc View 1 2 1 chunk +16 lines, -14 lines 0 comments Download
M src/compiler/mips64/code-generator-mips64.cc View 1 2 1 chunk +16 lines, -14 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 7 chunks +6 lines, -24 lines 0 comments Download
M src/compiler/ppc/code-generator-ppc.cc View 1 2 1 chunk +13 lines, -11 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 2 1 chunk +10 lines, -8 lines 0 comments Download
M src/compiler/x87/code-generator-x87.cc View 1 2 1 chunk +10 lines, -8 lines 0 comments Download
M src/deoptimizer.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/disassembler.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/heap-snapshot-generator.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 1 chunk +4 lines, -7 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/lithium-allocator.cc View 1 2 3 1 chunk +2 lines, -7 lines 0 comments Download
M src/log.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/objects.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/snapshot/serialize.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M test/cctest/test-migrations.cc View 1 2 3 5 chunks +3 lines, -7 lines 0 comments Download

Messages

Total messages: 37 (16 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1297203002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1297203002/20001
5 years, 4 months ago (2015-08-18 11:56:58 UTC) #3
rmcilroy
These are the changes needed to print out bytecode handlers to the turbofan visualizer. I'm ...
5 years, 4 months ago (2015-08-18 11:59:10 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/8664)
5 years, 4 months ago (2015-08-18 12:09:24 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1297203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1297203002/40001
5 years, 4 months ago (2015-08-18 13:11:31 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-18 13:35:48 UTC) #11
rmcilroy
Updated to replace "!info->IsStub() && !info->IsBytecodeHandler()" with a new ShouldEnsureSpaceForLazyDeopt() function based on offline discussion ...
5 years, 4 months ago (2015-08-21 13:26:04 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1297203002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1297203002/60001
5 years, 4 months ago (2015-08-21 13:26:27 UTC) #14
titzer
https://codereview.chromium.org/1297203002/diff/60001/src/codegen.cc File src/codegen.cc (right): https://codereview.chromium.org/1297203002/diff/60001/src/codegen.cc#newcode160 src/codegen.cc:160: info->IsStub() || info->IsBytecodeHandler(); Here too https://codereview.chromium.org/1297203002/diff/60001/src/compiler.h File src/compiler.h (right): ...
5 years, 4 months ago (2015-08-21 13:37:21 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-21 13:50:58 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1297203002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1297203002/80001
5 years, 4 months ago (2015-08-21 16:31:46 UTC) #19
rmcilroy
+Yang for serializer/ review. Ben: I've reworked things to have a GetDebugName on CompilerInfo. I've ...
5 years, 4 months ago (2015-08-21 16:41:06 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_mac_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel/builds/8944)
5 years, 4 months ago (2015-08-21 16:43:32 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1297203002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1297203002/100001
5 years, 4 months ago (2015-08-21 17:20:30 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/8841)
5 years, 4 months ago (2015-08-21 17:33:05 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1297203002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1297203002/120001
5 years, 4 months ago (2015-08-21 23:43:01 UTC) #29
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-22 00:08:44 UTC) #31
Yang
On 2015/08/22 00:08:44, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years, 4 months ago (2015-08-24 07:04:22 UTC) #32
titzer
lgtm
5 years, 4 months ago (2015-08-24 09:36:30 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1297203002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1297203002/120001
5 years, 4 months ago (2015-08-24 09:52:07 UTC) #35
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 4 months ago (2015-08-24 10:23:45 UTC) #36
commit-bot: I haz the power
5 years, 4 months ago (2015-08-24 10:24:01 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/53ac9fe8f9fa57f0f6d2960d5de92b9236bd871a
Cr-Commit-Position: refs/heads/master@{#30324}

Powered by Google App Engine
This is Rietveld 408576698