Sean Callanan
ebbf503a6a
In all cases where playgrounds need to register
...
classes, UseJIT will also be set, so we don't
need to check.
And there's an important case where we *don't*
need to register classes: testcases, which break
if we do try to register classes, with the
following assertion:
Assertion failed: (registered == c && "objc_readClassPair failed to instantiate the class in-place"), function swift_instantiateObjCClass, file /Volumes/Excelion/swift/lldb-work/llvm/tools/swift/stdlib/runtime/SwiftObject.mm, line 594.
So only register classes if UseJIT is enabled,
and ignore the playground flag.
Swift SVN r20655
2014-07-28 23:15:27 +00:00
..
2013-09-26 18:24:44 +00:00
2014-01-16 00:25:29 +00:00
2014-01-16 00:25:29 +00:00
2014-07-18 21:39:43 +00:00
2014-06-12 00:31:09 +00:00
2014-04-22 21:55:32 +00:00
2014-04-22 21:55:32 +00:00
2014-04-26 07:00:55 +00:00
2014-01-16 00:25:29 +00:00
2014-07-25 16:47:32 +00:00
2014-07-25 10:08:51 +00:00
2014-06-16 17:35:43 +00:00
2014-07-22 17:10:54 +00:00
2014-07-25 10:08:51 +00:00
2014-07-04 15:58:18 +00:00
2014-03-04 13:11:01 +00:00
2014-07-24 00:42:18 +00:00
2014-07-25 16:47:32 +00:00
2014-07-25 16:47:32 +00:00
2014-07-26 00:58:12 +00:00
2014-04-18 02:26:10 +00:00
2014-05-23 04:44:52 +00:00
2014-05-16 01:40:36 +00:00
2014-02-22 01:45:40 +00:00
2014-07-25 10:08:51 +00:00
2014-07-25 10:08:51 +00:00
2014-07-25 10:08:51 +00:00
2014-04-17 22:40:23 +00:00
2014-04-29 03:46:58 +00:00
2014-04-29 03:46:58 +00:00
2014-07-14 22:03:46 +00:00
2014-04-25 01:31:15 +00:00
2014-07-25 10:08:51 +00:00
2014-07-25 10:08:51 +00:00
2014-07-03 23:12:11 +00:00
2014-07-25 16:47:32 +00:00
2014-01-16 22:32:35 +00:00
2014-07-25 16:47:32 +00:00
2013-11-04 17:43:49 +00:00
2014-07-03 23:12:11 +00:00
2014-07-03 23:12:11 +00:00
2014-04-23 08:51:23 +00:00
2014-01-16 00:25:29 +00:00
2014-04-26 07:00:53 +00:00
2014-07-28 23:15:27 +00:00
2014-05-30 23:20:27 +00:00
2014-07-28 22:41:10 +00:00
2014-07-25 16:47:59 +00:00
2014-05-16 01:40:36 +00:00
2014-06-12 01:00:23 +00:00
2014-07-24 01:12:59 +00:00
2014-07-23 07:38:26 +00:00
2014-07-26 00:18:16 +00:00
2014-07-23 07:38:26 +00:00
2014-07-23 07:38:26 +00:00
2014-07-03 23:12:11 +00:00
2013-10-18 21:49:06 +00:00
2014-04-27 23:45:28 +00:00
2014-03-06 19:24:37 +00:00
2014-04-23 08:51:23 +00:00
2014-07-25 10:08:51 +00:00
2014-01-16 00:25:29 +00:00
2014-04-25 03:06:46 +00:00
2014-07-03 23:12:11 +00:00
2014-04-26 07:00:55 +00:00
2014-07-23 16:15:20 +00:00
2014-06-10 17:07:47 +00:00
2014-07-03 23:12:11 +00:00
2014-04-28 21:18:27 +00:00
2014-04-23 08:51:18 +00:00
2014-04-29 15:23:14 +00:00
2014-04-25 03:06:46 +00:00