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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 } | 70 } |
71 | 71 |
72 | 72 |
73 void FastCloneShallowObjectStub::InitializeInterfaceDescriptor( | 73 void FastCloneShallowObjectStub::InitializeInterfaceDescriptor( |
74 Isolate* isolate, | 74 Isolate* isolate, |
75 CodeStubInterfaceDescriptor* descriptor) { | 75 CodeStubInterfaceDescriptor* descriptor) { |
76 static Register registers[] = { r3, r2, r1, r0 }; | 76 static Register registers[] = { r3, r2, r1, r0 }; |
77 descriptor->register_param_count_ = 4; | 77 descriptor->register_param_count_ = 4; |
78 descriptor->register_params_ = registers; | 78 descriptor->register_params_ = registers; |
79 descriptor->deoptimization_handler_ = | 79 descriptor->deoptimization_handler_ = |
80 Runtime::FunctionForId(Runtime::kCreateObjectLiteralShallow)->entry; | 80 Runtime::FunctionForId(Runtime::kCreateObjectLiteral)->entry; |
81 } | 81 } |
82 | 82 |
83 | 83 |
84 void CreateAllocationSiteStub::InitializeInterfaceDescriptor( | 84 void CreateAllocationSiteStub::InitializeInterfaceDescriptor( |
85 Isolate* isolate, | 85 Isolate* isolate, |
86 CodeStubInterfaceDescriptor* descriptor) { | 86 CodeStubInterfaceDescriptor* descriptor) { |
87 static Register registers[] = { r2 }; | 87 static Register registers[] = { r2 }; |
88 descriptor->register_param_count_ = 1; | 88 descriptor->register_param_count_ = 1; |
89 descriptor->register_params_ = registers; | 89 descriptor->register_params_ = registers; |
90 descriptor->deoptimization_handler_ = NULL; | 90 descriptor->deoptimization_handler_ = NULL; |
(...skipping 7063 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7154 __ bind(&fast_elements_case); | 7154 __ bind(&fast_elements_case); |
7155 GenerateCase(masm, FAST_ELEMENTS); | 7155 GenerateCase(masm, FAST_ELEMENTS); |
7156 } | 7156 } |
7157 | 7157 |
7158 | 7158 |
7159 #undef __ | 7159 #undef __ |
7160 | 7160 |
7161 } } // namespace v8::internal | 7161 } } // namespace v8::internal |
7162 | 7162 |
7163 #endif // V8_TARGET_ARCH_ARM | 7163 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |