thanks, i have successfully generated serdes_Deserialize separately, and found 
the bug in 
serializer. kInstructionsFor32BitConstant should be 2 as our architecture 
hasn't delay slot.
comment for kInstructionsFor32BitConstant in mips confuses me.


Regards,
xinglong

-
www.icubecorp.com


>  -------Original Message-------
>  From: Jakob Kummerow <[email protected]>
>  To: [email protected] <[email protected]>
>  Subject: Re: [v8-dev] how cctest generate serdes_xxxxxx ?
>  Sent: Oct 29 '13 20:14
>  
>  Both creation and use of these files are part of what's being tested.
>  Pre-generating them offline would not make sense. Check out static void
>  Serialize() in test-serialize.cc. If reading them back in doesn't work,
>  there's probably a bug in your serializer.
>  
>  
>  On Tue, Oct 29, 2013 at 9:53 AM, <[LINK: mailto:[email protected]]
>  [email protected]> wrote:
>  Hi, guys.  i hope this question should be here not v8-users.
>  
>  i have ported v8 to a mips-like architecture, and run with command make
>  xxx.debug.check snapshot=off in simulator, most testcases pass, except 12
>  testcases (four testcases with three mode):
>  test-serialize/Deserialize
>  test-serialize/DeserializeFromSecondSerializationAndRunScript2
>  test-serialize/DeserializeAndRunScript2
>  test-serialize/DeserializeFromSecondSerialization
>  
>  i suspect that some architecture related data in serdes_Deserialize is not
>  correct, for example in src/serialize.cc
>  ......
>  void Deserializer::ReadObject(int space_number,
>                                Object** write_back) {
>    int size = source_->GetInt() << kObjectAlignmentBits;
>  ......
>  size here may be wrong.
>  
>  i am not familiar with cctest, can anybody give me a favor, and tell me
>  how cctest generate these serdes_xxxxxx ? if there is a command can
>  generate serdes_Deserialize separately, it's best!
>  
>  thanks!
>  
>  Regards,
>  xinglong
>  
>  -
>  [LINK: http://www.icubecorp.com] www.icubecorp.com
>  
>  --
>  --
>  v8-dev mailing list
>  [LINK: mailto:[email protected]] [email protected]
>  [LINK: http://groups.google.com/group/v8-dev]
>  http://groups.google.com/group/v8-dev
>  ---
>  You received this message because you are subscribed to the Google Groups
>  "v8-dev" group.
>  To unsubscribe from this group and stop receiving emails from it, send an
>  email to [LINK: mailto:v8-dev%[email protected]]
>  [email protected].
>  For more options, visit [LINK: https://groups.google.com/groups/opt_out]
>  https://groups.google.com/groups/opt_out.
>  
>  
>  --
>  --
>  v8-dev mailing list
>  [email protected]
>  [LINK: http://groups.google.com/group/v8-dev]
>  http://groups.google.com/group/v8-dev
>  ---
>  You received this message because you are subscribed to the Google Groups
>  "v8-dev" group.
>  To unsubscribe from this group and stop receiving emails from it, send an
>  email to [email protected].
>  For more options, visit [LINK: https://groups.google.com/groups/opt_out]
>  https://groups.google.com/groups/opt_out.

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to