OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 } | 75 } |
76 | 76 |
77 | 77 |
78 void FastCloneShallowObjectStub::InitializeInterfaceDescriptor( | 78 void FastCloneShallowObjectStub::InitializeInterfaceDescriptor( |
79 Isolate* isolate, | 79 Isolate* isolate, |
80 CodeStubInterfaceDescriptor* descriptor) { | 80 CodeStubInterfaceDescriptor* descriptor) { |
81 static Register registers[] = { eax, ebx, ecx, edx }; | 81 static Register registers[] = { eax, ebx, ecx, edx }; |
82 descriptor->register_param_count_ = 4; | 82 descriptor->register_param_count_ = 4; |
83 descriptor->register_params_ = registers; | 83 descriptor->register_params_ = registers; |
84 descriptor->deoptimization_handler_ = | 84 descriptor->deoptimization_handler_ = |
85 Runtime::FunctionForId(Runtime::kCreateObjectLiteralShallow)->entry; | 85 Runtime::FunctionForId(Runtime::kCreateObjectLiteral)->entry; |
86 } | 86 } |
87 | 87 |
88 | 88 |
89 void CreateAllocationSiteStub::InitializeInterfaceDescriptor( | 89 void CreateAllocationSiteStub::InitializeInterfaceDescriptor( |
90 Isolate* isolate, | 90 Isolate* isolate, |
91 CodeStubInterfaceDescriptor* descriptor) { | 91 CodeStubInterfaceDescriptor* descriptor) { |
92 static Register registers[] = { ebx }; | 92 static Register registers[] = { ebx }; |
93 descriptor->register_param_count_ = 1; | 93 descriptor->register_param_count_ = 1; |
94 descriptor->register_params_ = registers; | 94 descriptor->register_params_ = registers; |
95 descriptor->deoptimization_handler_ = NULL; | 95 descriptor->deoptimization_handler_ = NULL; |
(...skipping 7451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7547 __ bind(&fast_elements_case); | 7547 __ bind(&fast_elements_case); |
7548 GenerateCase(masm, FAST_ELEMENTS); | 7548 GenerateCase(masm, FAST_ELEMENTS); |
7549 } | 7549 } |
7550 | 7550 |
7551 | 7551 |
7552 #undef __ | 7552 #undef __ |
7553 | 7553 |
7554 } } // namespace v8::internal | 7554 } } // namespace v8::internal |
7555 | 7555 |
7556 #endif // V8_TARGET_ARCH_IA32 | 7556 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |