Yes some stubs are generated by Crankshaft. Which compiler generates them is independent from where they're used. To run full-codegen code, you need to have at least enough of Crankshaft to generate stubs.
For porting V8 to a new platform, you may want to look at the --minimal flag. This will require you to port Ignition and Turbofan, not full-codegen and not Crankshaft. (AFAIK this flag is almost entirely functional already in the current state of the repository, work is under way to make it fully usable.) On Tue, Oct 18, 2016 at 8:04 AM, Dmitriy - <dima00...@gmail.com> wrote: > Anybody? > > > On Thursday, October 13, 2016 at 4:22:42 PM UTC+7, Dmitriy - wrote: >> >> Hi, I wonder that full-codegen uses hydrogens stubs: >> >> For example when I'm running >> var a = 10; >> a + 10; >> >> full-codegen calls FullCodeGenerator::EmitBinaryOp for "a + 10" and >> creates >> Handle<Code> code = CodeFactory::BinaryOpIC(isolate(), op).code(); >> >> And >> >> class BinaryOpICStub : public HydrogenCodeStub { >> >> As I know Hydrogen is a part of Crankshaft compiler. Why does v8 use it >> in FC? >> >> And if this is important so what I need to implement for this stub for my >> architecture? How can I translate from Hydrogen to native code? >> > -- > -- > v8-dev mailing list > v8-dev@googlegroups.com > 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 v8-dev+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-dev mailing list v8-dev@googlegroups.com 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 v8-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.