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

Issue 428223002: Add delete operators for Instruction to make Visual C++ happy. (Closed)

Created:
6 years, 4 months ago by Jarin
Modified:
6 years, 4 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Add delete operators for Instruction to make Visual C++ happy. BUG= R=danno@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=22713

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M src/compiler/instruction.h View 1 chunk +3 lines, -0 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
Jarin
6 years, 4 months ago (2014-07-30 14:34:24 UTC) #1
danno
lgtm
6 years, 4 months ago (2014-07-30 14:35:31 UTC) #2
Jarin
Committed patchset #1 manually as r22713 (tree was closed).
6 years, 4 months ago (2014-07-30 14:36:21 UTC) #3
Sven Panne
6 years, 4 months ago (2014-07-31 06:45:51 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/428223002/diff/1/src/compiler/instruction.h
File src/compiler/instruction.h (right):

https://codereview.chromium.org/428223002/diff/1/src/compiler/instruction.h#n...
src/compiler/instruction.h:492: void operator delete(void*, size_t) {
UNREACHABLE(); }
I don't understand this commit: Why do we have to define new/delete here at all?
Instruction inherits from ZoneObject, which has exactly these definitions?
Probably we should have removed the new here instead of adding the deletes, I
gues...

Powered by Google App Engine
This is Rietveld 408576698