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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 } | 71 } |
72 | 72 |
73 | 73 |
74 void FastCloneShallowObjectStub::InitializeInterfaceDescriptor( | 74 void FastCloneShallowObjectStub::InitializeInterfaceDescriptor( |
75 Isolate* isolate, | 75 Isolate* isolate, |
76 CodeStubInterfaceDescriptor* descriptor) { | 76 CodeStubInterfaceDescriptor* descriptor) { |
77 static Register registers[] = { rax, rbx, rcx, rdx }; | 77 static Register registers[] = { rax, rbx, rcx, rdx }; |
78 descriptor->register_param_count_ = 4; | 78 descriptor->register_param_count_ = 4; |
79 descriptor->register_params_ = registers; | 79 descriptor->register_params_ = registers; |
80 descriptor->deoptimization_handler_ = | 80 descriptor->deoptimization_handler_ = |
81 Runtime::FunctionForId(Runtime::kCreateObjectLiteralShallow)->entry; | 81 Runtime::FunctionForId(Runtime::kCreateObjectLiteral)->entry; |
82 } | 82 } |
83 | 83 |
84 | 84 |
85 void CreateAllocationSiteStub::InitializeInterfaceDescriptor( | 85 void CreateAllocationSiteStub::InitializeInterfaceDescriptor( |
86 Isolate* isolate, | 86 Isolate* isolate, |
87 CodeStubInterfaceDescriptor* descriptor) { | 87 CodeStubInterfaceDescriptor* descriptor) { |
88 static Register registers[] = { rbx }; | 88 static Register registers[] = { rbx }; |
89 descriptor->register_param_count_ = 1; | 89 descriptor->register_param_count_ = 1; |
90 descriptor->register_params_ = registers; | 90 descriptor->register_params_ = registers; |
91 descriptor->deoptimization_handler_ = NULL; | 91 descriptor->deoptimization_handler_ = NULL; |
(...skipping 6549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6641 __ bind(&fast_elements_case); | 6641 __ bind(&fast_elements_case); |
6642 GenerateCase(masm, FAST_ELEMENTS); | 6642 GenerateCase(masm, FAST_ELEMENTS); |
6643 } | 6643 } |
6644 | 6644 |
6645 | 6645 |
6646 #undef __ | 6646 #undef __ |
6647 | 6647 |
6648 } } // namespace v8::internal | 6648 } } // namespace v8::internal |
6649 | 6649 |
6650 #endif // V8_TARGET_ARCH_X64 | 6650 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |