| 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 Isolate* isolate, | 284 Isolate* isolate, |
| 285 CodeStubInterfaceDescriptor* descriptor) { | 285 CodeStubInterfaceDescriptor* descriptor) { |
| 286 static Register registers[] = { a0, a3, a1, a2 }; | 286 static Register registers[] = { a0, a3, a1, a2 }; |
| 287 descriptor->register_param_count_ = 4; | 287 descriptor->register_param_count_ = 4; |
| 288 descriptor->register_params_ = registers; | 288 descriptor->register_params_ = registers; |
| 289 descriptor->deoptimization_handler_ = | 289 descriptor->deoptimization_handler_ = |
| 290 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss); | 290 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss); |
| 291 } | 291 } |
| 292 | 292 |
| 293 | 293 |
| 294 void NewStringAddStub::InitializeInterfaceDescriptor( |
| 295 Isolate* isolate, |
| 296 CodeStubInterfaceDescriptor* descriptor) { |
| 297 static Register registers[] = { a1, a0 }; |
| 298 descriptor->register_param_count_ = 2; |
| 299 descriptor->register_params_ = registers; |
| 300 descriptor->deoptimization_handler_ = |
| 301 Runtime::FunctionForId(Runtime::kStringAdd)->entry; |
| 302 } |
| 303 |
| 304 |
| 294 #define __ ACCESS_MASM(masm) | 305 #define __ ACCESS_MASM(masm) |
| 295 | 306 |
| 296 | 307 |
| 297 static void EmitIdenticalObjectComparison(MacroAssembler* masm, | 308 static void EmitIdenticalObjectComparison(MacroAssembler* masm, |
| 298 Label* slow, | 309 Label* slow, |
| 299 Condition cc); | 310 Condition cc); |
| 300 static void EmitSmiNonsmiComparison(MacroAssembler* masm, | 311 static void EmitSmiNonsmiComparison(MacroAssembler* masm, |
| 301 Register lhs, | 312 Register lhs, |
| 302 Register rhs, | 313 Register rhs, |
| 303 Label* rhs_not_nan, | 314 Label* rhs_not_nan, |
| (...skipping 5911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6215 __ bind(&fast_elements_case); | 6226 __ bind(&fast_elements_case); |
| 6216 GenerateCase(masm, FAST_ELEMENTS); | 6227 GenerateCase(masm, FAST_ELEMENTS); |
| 6217 } | 6228 } |
| 6218 | 6229 |
| 6219 | 6230 |
| 6220 #undef __ | 6231 #undef __ |
| 6221 | 6232 |
| 6222 } } // namespace v8::internal | 6233 } } // namespace v8::internal |
| 6223 | 6234 |
| 6224 #endif // V8_TARGET_ARCH_MIPS | 6235 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |