From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id A15717EEEF for ; Mon, 22 Jun 2015 08:18:19 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of zhenya1007@gmail.com) identity=pra; client-ip=209.85.218.54; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="zhenya1007@gmail.com"; x-sender="zhenya1007@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of zhenya1007@gmail.com designates 209.85.218.54 as permitted sender) identity=mailfrom; client-ip=209.85.218.54; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="zhenya1007@gmail.com"; x-sender="zhenya1007@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-oi0-f54.google.com) identity=helo; client-ip=209.85.218.54; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="zhenya1007@gmail.com"; x-sender="postmaster@mail-oi0-f54.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BCBgA4qIdVlDbaVdFcgy81XwaDGKg/AQaBUIYPihiCEYcmB0wBAQEBAQESAQEBAQcLCwkfMEEDg1UiER0BGx4DEggBAgU3AiQBEQEFAVeHdwEDEqIvgzE+MYs/gWuCeYpcChknDVeFMAEFDoYNik2CUoFDBYx7hCeCWQKEVoZ4gXuLdIMvhUkSI4EMCREGgWRngV0eMYJIAQEB X-IPAS-Result: A0BCBgA4qIdVlDbaVdFcgy81XwaDGKg/AQaBUIYPihiCEYcmB0wBAQEBAQESAQEBAQcLCwkfMEEDg1UiER0BGx4DEggBAgU3AiQBEQEFAVeHdwEDEqIvgzE+MYs/gWuCeYpcChknDVeFMAEFDoYNik2CUoFDBYx7hCeCWQKEVoZ4gXuLdIMvhUkSI4EMCREGgWRngV0eMYJIAQEB X-IronPort-AV: E=Sophos;i="5.13,657,1427752800"; d="scan'208";a="137266906" Received: from mail-oi0-f54.google.com ([209.85.218.54]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 22 Jun 2015 08:18:18 +0200 Received: by oigx81 with SMTP id x81so114951945oig.1 for ; Sun, 21 Jun 2015 23:18:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=eA21vHwGa1MsLiDHuxq1GMjeVshX/Pt3NbBYb9VIMI0=; b=RrOrbtWILBF0tmgeMDQkxX33dLUTuhveV8mglwXglTfb54n6Xt9S1a8OKEQa1YKJml 1LoFiYJlP3mXEZaNzdm2oq1u0sTEU+aXROjXdTBh89FjU3ra8ZkwJLxNOjSOS62qD7iU j8ALkObdiwtAJVCovd22lFOToJcb/86Zh/pmh6ppR0LA/2m9KIqeZMuFi6h8Ad+RtUZa xfO2JGpDbCyKtvSoQx07KbURiupAtgkCnceePFRdtoYL1g+Kvd78Q1xaFzoiulk1zjAp gpqTlkRGqDLZuVw89mXU0MsqfuOPPQp9mjfqI5dbAqBmVLTQIulmOcTJpsm03Td7eOow 6QPA== MIME-Version: 1.0 X-Received: by 10.182.20.141 with SMTP id n13mr1673238obe.26.1434953897438; Sun, 21 Jun 2015 23:18:17 -0700 (PDT) Received: by 10.60.156.193 with HTTP; Sun, 21 Jun 2015 23:18:17 -0700 (PDT) Date: Sun, 21 Jun 2015 23:18:17 -0700 Message-ID: From: Evgeny Roubinchtein To: caml-list@inria.fr Content-Type: multipart/alternative; boundary=e89a8f923bea5374ae0519153df9 X-Validation-by: zhenya1007@gmail.com Subject: [Caml-list] Is it valid to set_field on a symbol that labels some data (emitted using Cdata)? --e89a8f923bea5374ae0519153df9 Content-Type: text/plain; charset=UTF-8 Suppose I am working at the C-- level. Is it valid to do: set_field (Cconst_symbol some_sym) 0 some_word under the assumption that some_symbol is a label in the data section of the current compilation unit? or is the compilation unit's data (emitted via Cdata) immutable? (set_field is as defined in cmmgen.ml) Thank you! --e89a8f923bea5374ae0519153df9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Suppose I am working at the C-- level. Is it valid to= do:

set_field (Cconst_symbol some_sym) 0 some_word
under the assumption that some_symbol is a label in the data s= ection of the current compilation unit?=C2=A0 or is the compilation unit= 9;s data (emitted via Cdata) immutable?

(set_field is as = defined in cmmgen.ml)

Thank you!


--e89a8f923bea5374ae0519153df9--