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

Unified Diff: src/deoptimizer.h

Issue 1084763002: Remove operator delete on VS2015 to avoid compiler bug (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.h
diff --git a/src/deoptimizer.h b/src/deoptimizer.h
index fd65e83dd2683acfb4c2a6f325364189f5fff863..c0254875a834e178260b0bd3f9a45089562b2725 100644
--- a/src/deoptimizer.h
+++ b/src/deoptimizer.h
@@ -529,9 +529,12 @@ class FrameDescription {
return malloc(size + frame_size - kPointerSize);
}
+// Bug in VS2015 RC, reported fixed in RTM. Microsoft bug: 1153909.
+#if !defined(_MSC_FULL_VER) || _MSC_FULL_VER != 190022720
void operator delete(void* pointer, uint32_t frame_size) {
free(pointer);
}
+#endif // _MSC_FULL_VER
void operator delete(void* description) {
free(description);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698