Home | History | Annotate | Download | only in src

Lines Matching defs:code

2 // Use of this source code is governed by a BSD-style license that can be
8 #include "src/code-stubs.h"
83 // BuildCheckAndInstallOptimizedCode emits code to install the optimized
84 // function found in the optimized code map at map_index in js_function, if
115 // Update the static counter each time a new code stub is generated.
222 Handle<Code> HydrogenCodeStub::GenerateLightweightMissCode(
226 // Generate the new code.
230 // Update the static counter each time a new code stub is generated.
233 // Generate the code for the stub.
239 // Create the code object.
243 // Copy the generated code into a heap object.
244 Code::Flags flags = Code::ComputeFlags(
249 Handle<Code> new_object = factory->NewCode(
256 static Handle<Code> DoGenerateCode(Stub* stub) {
273 // TODO(yangguo) remove this once the code serializer handles code stubs.
275 Handle<Code> code = chunk->Codegen();
281 return code;
311 Handle<Code> ToNumberStub::GenerateCode() {
324 Handle<Code> NumberToStringStub::GenerateCode() {
335 // This stub is very performance sensitive, the generated code must be tuned
394 Handle<Code> FastCloneShallowArrayStub::GenerateCode() {
461 Handle<Code> FastCloneShallowObjectStub::GenerateCode() {
501 // Store an empty fixed array for the code dependency.
536 Handle<Code> CreateAllocationSiteStub::GenerateCode() {
552 Handle<Code> LoadFastElementStub::GenerateCode() {
584 Handle<Code> LoadFieldStub::GenerateCode() {
603 Handle<Code> LoadConstantStub::GenerateCode() { return DoGenerateCode(this); }
717 Handle<Code> KeyedLoadSloppyArgumentsStub::GenerateCode() {
755 Handle<Code> StoreFieldStub::GenerateCode() { return DoGenerateCode(this); }
767 Handle<Code> StringLengthStub::GenerateCode() {
785 Handle<Code> StoreFastElementStub::GenerateCode() {
804 Handle<Code> TransitionElementsKindStub::GenerateCode() {
819 // This stub is very performance sensitive, the generated code must be
845 // This stub is very performance sensitive, the generated code must be
878 // the kInitialMaxFastElementArray limit. This cannot happen for code
928 Handle<Code> ArrayNoArgumentConstructorStub::GenerateCode() {
942 Handle<Code> ArraySingleArgumentConstructorStub::GenerateCode() {
955 Handle<Code> ArrayNArgumentsConstructorStub::GenerateCode() {
968 Handle<Code> InternalArrayNoArgumentConstructorStub::GenerateCode() {
981 Handle<Code> InternalArraySingleArgumentConstructorStub::GenerateCode() {
994 Handle<Code> InternalArrayNArgumentsConstructorStub::GenerateCode() {
1020 Handle<Code> CompareNilICStub::GenerateCode() {
1119 Handle<Code> BinaryOpICStub::GenerateCode() {
1144 Handle<Code> BinaryOpWithAllocationSiteStub::GenerateCode() {
1170 Handle<Code> StringAddStub::GenerateCode() {
1206 Handle<Code> ToBooleanStub::GenerateCode() {
1258 Handle<Code> StoreGlobalStub::GenerateCode() {
1292 Handle<Code> ElementsTransitionAndStoreStub::GenerateCode() {
1321 // TODO(fschneider): Idea: store proper code pointers in the optimized code
1393 // (native context, optimized code, literals).
1403 // entry. After the loop, if no matching optimized code was found,
1404 // install unoptimized code.
1434 // install optimized code
1440 // Store the unoptimized code
1489 // Initialize the code pointer in the function to be the one
1502 Handle<Code> FastNewClosureStub::GenerateCode() {
1557 Handle<Code> FastNewContextStub::GenerateCode() {
1577 Handle<Code> LoadDictionaryElementStub::GenerateCode() {
1595 Handle<Code> RegExpConstructResultStub::GenerateCode() {
1902 Handle<Code> KeyedLoadGenericStub::GenerateCode() {
1915 Handle<Code> VectorLoadStub::GenerateCode() { return DoGenerateCode(this); }
1926 Handle<Code> VectorKeyedLoadStub::GenerateCode() {
1931 Handle<Code> MegamorphicLoadStub::GenerateCode() {
1943 Code::Flags flags = Code::RemoveTypeAndHolderFromFlags(
1944 Code::ComputeHandlerFlags(Code::LOAD_IC));