Lines Matching refs:code
6 // * Redistributions of source code must retain the above copyright
41 Code::Flags flags,
52 // Get the code entry from the cache.
60 __ mov(offset, FieldOperand(extra, Code::kFlagsOffset));
61 __ and_(offset, ~Code::kFlagsNotUsedInLookup);
65 // Jump to the first instruction in the code stub.
66 __ add(Operand(extra), Immediate(Code::kHeaderSize - kHeapObjectTag));
78 // Get the code entry from the cache.
82 __ mov(offset, FieldOperand(offset, Code::kFlagsOffset));
83 __ and_(offset, ~Code::kFlagsNotUsedInLookup);
87 // Restore offset and re-load code entry from cache.
91 // Jump to the first instruction in the code stub.
92 __ add(Operand(offset), Immediate(Code::kHeaderSize - kHeapObjectTag));
103 Code::Flags flags,
110 // Make sure that code is valid. The shifting code relies on the
115 ASSERT(Code::ExtractTypeFromFlags(flags) == 0);
191 // Generate code to check if an object is a string. If the object is
666 Handle<Code> code = Handle<Code>(
669 __ InvokeCode(code, expected, expected,
770 // Generate code for the failed interceptor case.
859 void StubCompiler::GenerateLoadMiss(MacroAssembler* masm, Code::Kind kind) {
860 ASSERT(kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC);
861 Code* code = NULL;
862 if (kind == Code::LOAD_IC) {
863 code = Builtins::builtin(Builtins::LoadIC_Miss);
865 code = Builtins::builtin(Builtins::KeyedLoadIC_Miss);
868 Handle<Code> ic(code);
1064 // Emitting a stub call may try to allocate (if the code is not
1140 Object* StubCompiler::CompileLazyCompile(Code::Flags flags) {
1155 __ lea(ecx, FieldOperand(eax, Code::kHeaderSize));
1206 Handle<Code> ic = ComputeCallMiss(arguments().immediate());
1209 // Return the generated code.
1362 Handle<Code
1365 // Return the generated code.
1428 Handle<Code> ic = ComputeCallMiss(argc);
1431 // Return the generated code.
1501 // Jump to the cached code (tail call).
1504 Handle<Code> code(function->code());
1506 __ InvokeCode(code, expected, arguments(),
1512 Handle<Code> ic = ComputeCallMiss(arguments().immediate());
1515 // Return the generated code.
1532 // Generate store field code. Trashes the name register.
1543 Handle<Code> ic(Builtins::builtin(Builtins::StoreIC_Miss));
1546 // Return the generated code.
1594 Handle<Code> ic(Builtins::builtin(Builtins::StoreIC_Miss));
1597 // Return the generated code.
1643 Handle<Code> ic(Builtins::builtin(Builtins::StoreIC_Miss));
1646 // Return the generated code.
1678 Handle<Code> ic(Builtins::builtin(Builtins::StoreIC_Miss));
1681 // Return the generated code.
1709 // Generate store field code. Trashes the name register.
1720 Handle<Code> ic(Builtins::builtin(Builtins::KeyedStoreIC_Miss));
1723 // Return the generated code.
1742 GenerateLoadMiss(masm(), Code::LOAD_IC);
1744 // Return the generated code.
1766 GenerateLoadMiss(masm(), Code::LOAD_IC);
1768 // Return the generated code.
1786 GenerateLoadMiss(masm(), Code::LOAD_IC);
1788 // Return the generated code.
1819 GenerateLoadMiss(masm(), Code::LOAD_IC);
1821 // Return the generated code.
1868 GenerateLoadMiss(masm(), Code::LOAD_IC);
1870 // Return the generated code.
1896 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
1898 // Return the generated code.
1927 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
1929 // Return the generated code.
1955 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
1957 // Return the generated code.
1991 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
1993 // Return the generated code.
2017 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
2019 // Return the generated code.
2041 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
2043 // Return the generated code.
2065 GenerateLoadMiss(masm(), Code::KEYED_LOAD_IC);
2067 // Return the generated code.
2084 // Check to see whether there are any break points in the function code. If
2086 // code for the function thereby hitting the break points.
2197 // Jump to the generic stub in case the specialized code cannot handle the
2200 Code* code = Builtins::builtin(Builtins::JSConstructStubGeneric);
2201 Handle<Code> generic_construct_stub(code);
2204 // Return the generated code.