| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 descriptor->deoptimization_handler_ = NULL; | 58 descriptor->deoptimization_handler_ = NULL; |
| 59 } | 59 } |
| 60 | 60 |
| 61 | 61 |
| 62 void NumberToStringStub::InitializeInterfaceDescriptor( | 62 void NumberToStringStub::InitializeInterfaceDescriptor( |
| 63 Isolate* isolate, | 63 Isolate* isolate, |
| 64 CodeStubInterfaceDescriptor* descriptor) { | 64 CodeStubInterfaceDescriptor* descriptor) { |
| 65 static Register registers[] = { r0 }; | 65 static Register registers[] = { r0 }; |
| 66 descriptor->register_param_count_ = 1; | 66 descriptor->register_param_count_ = 1; |
| 67 descriptor->register_params_ = registers; | 67 descriptor->register_params_ = registers; |
| 68 descriptor->deoptimization_handler_ = NULL; | 68 descriptor->deoptimization_handler_ = |
| 69 Runtime::FunctionForId(Runtime::kNumberToString)->entry; |
| 69 } | 70 } |
| 70 | 71 |
| 71 | 72 |
| 72 void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( | 73 void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( |
| 73 Isolate* isolate, | 74 Isolate* isolate, |
| 74 CodeStubInterfaceDescriptor* descriptor) { | 75 CodeStubInterfaceDescriptor* descriptor) { |
| 75 static Register registers[] = { r3, r2, r1 }; | 76 static Register registers[] = { r3, r2, r1 }; |
| 76 descriptor->register_param_count_ = 3; | 77 descriptor->register_param_count_ = 3; |
| 77 descriptor->register_params_ = registers; | 78 descriptor->register_params_ = registers; |
| 78 descriptor->deoptimization_handler_ = | 79 descriptor->deoptimization_handler_ = |
| (...skipping 6010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6089 __ bind(&fast_elements_case); | 6090 __ bind(&fast_elements_case); |
| 6090 GenerateCase(masm, FAST_ELEMENTS); | 6091 GenerateCase(masm, FAST_ELEMENTS); |
| 6091 } | 6092 } |
| 6092 | 6093 |
| 6093 | 6094 |
| 6094 #undef __ | 6095 #undef __ |
| 6095 | 6096 |
| 6096 } } // namespace v8::internal | 6097 } } // namespace v8::internal |
| 6097 | 6098 |
| 6098 #endif // V8_TARGET_ARCH_ARM | 6099 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |