Lines Matching refs:code
6 // * Redistributions of source code must retain the above copyright
87 // Generate code to push the value of the reference on top of the
99 // Generate code to store the value on top of the expression stack in the
241 // Code generation state
243 // The state is passed down the AST by the code generator (and back up, in
246 // code generator's stack of states, and destroying one implicitly pops it.
248 // The code generator state is only used for expressions, so statements have
253 // Create an initial code generator state. Destroying the initial state
254 // leaves the code generator with a NULL state.
257 // Create a code generator state based on a code generator's current
261 // Destroy a code generator state and restore the owning code generator's
269 // The owning code generator.
276 // The previous state of the owning code generator, restored when
297 // Takes a function literal, generates code for it. This function should only
299 static Handle<Code> MakeCode(CompilationInfo* info);
304 // Allocate and install the code.
305 static Handle<Code> MakeCodeEpilogue(MacroAssembler* masm,
306 Code::Flags flags,
335 void AddDeferred(DeferredCode* code) { deferred_.Add(code); }
348 // Generating deferred code.
371 // the code generator is being transformed.
378 // Main code generation function
381 // Generate the return sequence code. Should be called no more than
418 // Generate code to push the value of an expression on top of the frame
420 // temporarily while the code generator is being transformed.
439 // Special code for typeof expressions: Unfortunately, we must
461 // Emit code to perform a binary operation on a constant
470 // Emit code to perform a binary operation on two likely smis.
471 // The code to handle smi arguments is produced inline.
517 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop);
569 // Support for direct calls from JavaScript to native RegExp code.
587 // Methods used to indicate which source code is generated for. Source
605 MacroAssembler* masm_; // to generate code
609 // Code generation state
621 // to some unlinking code).
624 // True when we are in code that expects the virtual frame to be fully
626 // called from spilled code, because they do not leave the virtual frame
646 // Flag that indicates how to generate code for the stub GenericBinaryOpStub.
649 NO_SMI_CODE_IN_STUB = 1 << 0 // Omit smi code in stub.
670 // Generate code to call the stub with the supplied arguments. This will add
671 // code at the call site to prepare arguments either in registers or on the
752 // Generate code for copying characters using a simple loop. This should only
762 // Generate code for copying characters using the rep movs instruction.
773 // Flag that indicates how to generate code for the stub StringAddStub.