Add CompileInfo::GetDebugName()
authorrmcilroy <rmcilroy@chromium.org>
Mon, 24 Aug 2015 10:23:39 +0000 (03:23 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 24 Aug 2015 10:23:55 +0000 (10:23 +0000)
commit53ac9fe8f9fa57f0f6d2960d5de92b9236bd871a
treeb637960916f021957e7a1d9371bf4eb2959302cc
parent86016622b4f20588f62401786c7534b532977d0b
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().

Review URL: https://codereview.chromium.org/1297203002

Cr-Commit-Position: refs/heads/master@{#30324}
27 files changed:
src/code-stubs-hydrogen.cc
src/code-stubs.cc
src/code-stubs.h
src/codegen.cc
src/compiler.cc
src/compiler.h
src/compiler/arm/code-generator-arm.cc
src/compiler/arm64/code-generator-arm64.cc
src/compiler/code-generator.cc
src/compiler/graph-visualizer.cc
src/compiler/ia32/code-generator-ia32.cc
src/compiler/mips/code-generator-mips.cc
src/compiler/mips64/code-generator-mips64.cc
src/compiler/pipeline.cc
src/compiler/ppc/code-generator-ppc.cc
src/compiler/x64/code-generator-x64.cc
src/compiler/x87/code-generator-x87.cc
src/deoptimizer.cc
src/disassembler.cc
src/heap-snapshot-generator.cc
src/hydrogen-instructions.cc
src/hydrogen.cc
src/lithium-allocator.cc
src/log.cc
src/objects.cc
src/snapshot/serialize.cc
test/cctest/test-migrations.cc