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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 }; | 410 }; |
411 static Representation representations[] = { | 411 static Representation representations[] = { |
412 Representation::Tagged(), // context | 412 Representation::Tagged(), // context |
413 Representation::Tagged(), // name | 413 Representation::Tagged(), // name |
414 }; | 414 }; |
415 descriptor->register_param_count_ = 2; | 415 descriptor->register_param_count_ = 2; |
416 descriptor->register_params_ = registers; | 416 descriptor->register_params_ = registers; |
417 descriptor->param_representations_ = representations; | 417 descriptor->param_representations_ = representations; |
418 descriptor->platform_specific_descriptor_ = &noInlineDescriptor; | 418 descriptor->platform_specific_descriptor_ = &noInlineDescriptor; |
419 } | 419 } |
| 420 { |
| 421 CallInterfaceDescriptor* descriptor = |
| 422 isolate->call_descriptor(Isolate::CallHandler); |
| 423 static Register registers[] = { cp, // context |
| 424 r0, // receiver |
| 425 }; |
| 426 static Representation representations[] = { |
| 427 Representation::Tagged(), // context |
| 428 Representation::Tagged(), // receiver |
| 429 }; |
| 430 descriptor->register_param_count_ = 2; |
| 431 descriptor->register_params_ = registers; |
| 432 descriptor->param_representations_ = representations; |
| 433 descriptor->platform_specific_descriptor_ = &default_descriptor; |
| 434 } |
420 } | 435 } |
421 | 436 |
422 | 437 |
423 #define __ ACCESS_MASM(masm) | 438 #define __ ACCESS_MASM(masm) |
424 | 439 |
425 | 440 |
426 static void EmitIdenticalObjectComparison(MacroAssembler* masm, | 441 static void EmitIdenticalObjectComparison(MacroAssembler* masm, |
427 Label* slow, | 442 Label* slow, |
428 Condition cond); | 443 Condition cond); |
429 static void EmitSmiNonsmiComparison(MacroAssembler* masm, | 444 static void EmitSmiNonsmiComparison(MacroAssembler* masm, |
(...skipping 5625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6055 __ bind(&fast_elements_case); | 6070 __ bind(&fast_elements_case); |
6056 GenerateCase(masm, FAST_ELEMENTS); | 6071 GenerateCase(masm, FAST_ELEMENTS); |
6057 } | 6072 } |
6058 | 6073 |
6059 | 6074 |
6060 #undef __ | 6075 #undef __ |
6061 | 6076 |
6062 } } // namespace v8::internal | 6077 } } // namespace v8::internal |
6063 | 6078 |
6064 #endif // V8_TARGET_ARCH_ARM | 6079 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |