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

Issue 18587007: Type::GetName() for printing types in debugger (Closed)

Created:
7 years, 5 months ago by oliv
Modified:
7 years, 5 months ago
Reviewers:
rossberg
CC:
v8-dev
Visibility:
Public.

Description

Type::GetName(...) for inspecting Types in the debugger BUG= R=rossberg@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15586

Patch Set 1 #

Total comments: 10

Patch Set 2 : address review #

Total comments: 9

Patch Set 3 : address review #

Total comments: 3

Patch Set 4 : address review #

Patch Set 5 : rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -62 lines) Patch
M src/types.h View 1 2 3 4 4 chunks +79 lines, -62 lines 0 comments Download
M src/types.cc View 1 2 3 4 2 chunks +46 lines, -0 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
oliv
7 years, 5 months ago (2013-07-03 14:13:24 UTC) #1
rossberg
https://codereview.chromium.org/18587007/diff/1/src/types.cc File src/types.cc (right): https://codereview.chromium.org/18587007/diff/1/src/types.cc#newcode501 src/types.cc:501: for (int i = 0; i < unioned->length(); ++i) ...
7 years, 5 months ago (2013-07-03 14:52:54 UTC) #2
oliv
PTAL https://codereview.chromium.org/18587007/diff/1/src/types.cc File src/types.cc (right): https://codereview.chromium.org/18587007/diff/1/src/types.cc#newcode501 src/types.cc:501: for (int i = 0; i < unioned->length(); ...
7 years, 5 months ago (2013-07-05 12:29:06 UTC) #3
rossberg
https://codereview.chromium.org/18587007/diff/7001/src/types.cc File src/types.cc (right): https://codereview.chromium.org/18587007/diff/7001/src/types.cc#newcode482 src/types.cc:482: char buffer[200]; 200 seems fragile. I'd drop this method ...
7 years, 5 months ago (2013-07-08 11:20:05 UTC) #4
oliv
PTAL
7 years, 5 months ago (2013-07-10 10:25:41 UTC) #5
rossberg
LGTM with comments https://codereview.chromium.org/18587007/diff/23001/src/types.cc File src/types.cc (right): https://codereview.chromium.org/18587007/diff/23001/src/types.cc#newcode509 src/types.cc:509: PrintF(out, "Constant(0x%x)", (unsigned)(*as_constant())); Is there a ...
7 years, 5 months ago (2013-07-10 10:32:08 UTC) #6
oliv
https://codereview.chromium.org/18587007/diff/23001/src/types.cc File src/types.cc (right): https://codereview.chromium.org/18587007/diff/23001/src/types.cc#newcode509 src/types.cc:509: PrintF(out, "Constant(0x%x)", (unsigned)(*as_constant())); On 2013/07/10 10:32:08, rossberg wrote: > ...
7 years, 5 months ago (2013-07-10 11:19:43 UTC) #7
oliv
Committed patchset #5 manually as r15586 (presubmit successful).
7 years, 5 months ago (2013-07-10 11:20:06 UTC) #8
rossberg
7 years, 5 months ago (2013-07-10 12:01:52 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/18587007/diff/30001/src/types.cc
File src/types.cc (right):

https://codereview.chromium.org/18587007/diff/30001/src/types.cc#newcode518
src/types.cc:518: PrintF(out, "Constant(%p)",
reinterpret_cast<void*>(*as_constant()));
This should be a static_cast ;)

Powered by Google App Engine
This is Rietveld 408576698