| 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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 }; | 420 }; |
| 421 static Representation representations[] = { | 421 static Representation representations[] = { |
| 422 Representation::Tagged(), // context | 422 Representation::Tagged(), // context |
| 423 Representation::Tagged(), // name | 423 Representation::Tagged(), // name |
| 424 }; | 424 }; |
| 425 descriptor->register_param_count_ = 2; | 425 descriptor->register_param_count_ = 2; |
| 426 descriptor->register_params_ = registers; | 426 descriptor->register_params_ = registers; |
| 427 descriptor->param_representations_ = representations; | 427 descriptor->param_representations_ = representations; |
| 428 descriptor->platform_specific_descriptor_ = &noInlineDescriptor; | 428 descriptor->platform_specific_descriptor_ = &noInlineDescriptor; |
| 429 } | 429 } |
| 430 { | |
| 431 CallInterfaceDescriptor* descriptor = | |
| 432 isolate->call_descriptor(Isolate::CallHandler); | |
| 433 static Register registers[] = { cp, // context | |
| 434 r0, // receiver | |
| 435 }; | |
| 436 static Representation representations[] = { | |
| 437 Representation::Tagged(), // context | |
| 438 Representation::Tagged(), // receiver | |
| 439 }; | |
| 440 descriptor->register_param_count_ = 2; | |
| 441 descriptor->register_params_ = registers; | |
| 442 descriptor->param_representations_ = representations; | |
| 443 descriptor->platform_specific_descriptor_ = &default_descriptor; | |
| 444 } | |
| 445 } | 430 } |
| 446 | 431 |
| 447 | 432 |
| 448 #define __ ACCESS_MASM(masm) | 433 #define __ ACCESS_MASM(masm) |
| 449 | 434 |
| 450 | 435 |
| 451 static void EmitIdenticalObjectComparison(MacroAssembler* masm, | 436 static void EmitIdenticalObjectComparison(MacroAssembler* masm, |
| 452 Label* slow, | 437 Label* slow, |
| 453 Condition cond); | 438 Condition cond); |
| 454 static void EmitSmiNonsmiComparison(MacroAssembler* masm, | 439 static void EmitSmiNonsmiComparison(MacroAssembler* masm, |
| (...skipping 5058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5513 __ bind(&fast_elements_case); | 5498 __ bind(&fast_elements_case); |
| 5514 GenerateCase(masm, FAST_ELEMENTS); | 5499 GenerateCase(masm, FAST_ELEMENTS); |
| 5515 } | 5500 } |
| 5516 | 5501 |
| 5517 | 5502 |
| 5518 #undef __ | 5503 #undef __ |
| 5519 | 5504 |
| 5520 } } // namespace v8::internal | 5505 } } // namespace v8::internal |
| 5521 | 5506 |
| 5522 #endif // V8_TARGET_ARCH_ARM | 5507 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |