| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( | 76 void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( |
| 77 Isolate* isolate, | 77 Isolate* isolate, |
| 78 CodeStubInterfaceDescriptor* descriptor) { | 78 CodeStubInterfaceDescriptor* descriptor) { |
| 79 // x3: array literals array | 79 // x3: array literals array |
| 80 // x2: array literal index | 80 // x2: array literal index |
| 81 // x1: constant elements | 81 // x1: constant elements |
| 82 static Register registers[] = { x3, x2, x1 }; | 82 static Register registers[] = { x3, x2, x1 }; |
| 83 descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]); | 83 descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]); |
| 84 descriptor->register_params_ = registers; | 84 descriptor->register_params_ = registers; |
| 85 descriptor->deoptimization_handler_ = | 85 descriptor->deoptimization_handler_ = |
| 86 Runtime::FunctionForId(Runtime::kCreateArrayLiteral)->entry; | 86 Runtime::FunctionForId(Runtime::kCreateArrayLiteralStubBailout)->entry; |
| 87 } | 87 } |
| 88 | 88 |
| 89 | 89 |
| 90 void FastCloneShallowObjectStub::InitializeInterfaceDescriptor( | 90 void FastCloneShallowObjectStub::InitializeInterfaceDescriptor( |
| 91 Isolate* isolate, | 91 Isolate* isolate, |
| 92 CodeStubInterfaceDescriptor* descriptor) { | 92 CodeStubInterfaceDescriptor* descriptor) { |
| 93 // x3: object literals array | 93 // x3: object literals array |
| 94 // x2: object literal index | 94 // x2: object literal index |
| 95 // x1: constant properties | 95 // x1: constant properties |
| 96 // x0: object literal flags | 96 // x0: object literal flags |
| (...skipping 6135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6232 __ Bind(&fast_elements_case); | 6232 __ Bind(&fast_elements_case); |
| 6233 GenerateCase(masm, FAST_ELEMENTS); | 6233 GenerateCase(masm, FAST_ELEMENTS); |
| 6234 } | 6234 } |
| 6235 | 6235 |
| 6236 | 6236 |
| 6237 #undef __ | 6237 #undef __ |
| 6238 | 6238 |
| 6239 } } // namespace v8::internal | 6239 } } // namespace v8::internal |
| 6240 | 6240 |
| 6241 #endif // V8_TARGET_ARCH_A64 | 6241 #endif // V8_TARGET_ARCH_A64 |
| OLD | NEW |