| 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 Isolate* isolate, | 295 Isolate* isolate, |
| 296 CodeStubInterfaceDescriptor* descriptor) { | 296 CodeStubInterfaceDescriptor* descriptor) { |
| 297 static Register registers[] = { r0, r3, r1, r2 }; | 297 static Register registers[] = { r0, r3, r1, r2 }; |
| 298 descriptor->register_param_count_ = 4; | 298 descriptor->register_param_count_ = 4; |
| 299 descriptor->register_params_ = registers; | 299 descriptor->register_params_ = registers; |
| 300 descriptor->deoptimization_handler_ = | 300 descriptor->deoptimization_handler_ = |
| 301 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss); | 301 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss); |
| 302 } | 302 } |
| 303 | 303 |
| 304 | 304 |
| 305 void NewStringAddStub::InitializeInterfaceDescriptor( |
| 306 Isolate* isolate, |
| 307 CodeStubInterfaceDescriptor* descriptor) { |
| 308 static Register registers[] = { r1, r0 }; |
| 309 descriptor->register_param_count_ = 2; |
| 310 descriptor->register_params_ = registers; |
| 311 descriptor->deoptimization_handler_ = |
| 312 Runtime::FunctionForId(Runtime::kStringAdd)->entry; |
| 313 } |
| 314 |
| 315 |
| 305 #define __ ACCESS_MASM(masm) | 316 #define __ ACCESS_MASM(masm) |
| 306 | 317 |
| 307 | 318 |
| 308 static void EmitIdenticalObjectComparison(MacroAssembler* masm, | 319 static void EmitIdenticalObjectComparison(MacroAssembler* masm, |
| 309 Label* slow, | 320 Label* slow, |
| 310 Condition cond); | 321 Condition cond); |
| 311 static void EmitSmiNonsmiComparison(MacroAssembler* masm, | 322 static void EmitSmiNonsmiComparison(MacroAssembler* masm, |
| 312 Register lhs, | 323 Register lhs, |
| 313 Register rhs, | 324 Register rhs, |
| 314 Label* lhs_not_nan, | 325 Label* lhs_not_nan, |
| (...skipping 5747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6062 __ bind(&fast_elements_case); | 6073 __ bind(&fast_elements_case); |
| 6063 GenerateCase(masm, FAST_ELEMENTS); | 6074 GenerateCase(masm, FAST_ELEMENTS); |
| 6064 } | 6075 } |
| 6065 | 6076 |
| 6066 | 6077 |
| 6067 #undef __ | 6078 #undef __ |
| 6068 | 6079 |
| 6069 } } // namespace v8::internal | 6080 } } // namespace v8::internal |
| 6070 | 6081 |
| 6071 #endif // V8_TARGET_ARCH_ARM | 6082 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |