Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2023)

Issue 115073: [PATCH] Make TypeBuilder's result depend on the LLVMContext it's passed (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 8 months ago by Jeffrey Yasskin
Modified:
14 years, 7 months ago
Reviewers:
resistor
CC:
llvm-commits_cs.uiuc.edu
Base URL:
https://llvm.org/svn/llvm-project/llvm/trunk/
Visibility:
Public.

Description

Make TypeBuilder's result depend on the LLVMContext it's passed. TypeBuilder was using a local static variable to cache its result. This made it ignore changes in its LLVMContext argument and always return a type constructed from the argument to the first call.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -97 lines) Patch
M include/llvm/Support/TypeBuilder.h View 17 chunks +12 lines, -97 lines 0 comments Download
M unittests/Support/TypeBuilderTest.cpp View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 2
Jeffrey Yasskin
The patch is at http://codereview.appspot.com/download/issue115073_1.diff. I'm going to ask Tanya to merge this into 2.6 ...
14 years, 8 months ago (2009-09-09 00:52:33 UTC) #1
resistor
14 years, 8 months ago (2009-09-09 02:19:36 UTC) #2
Looks fine to me.  Approved.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b