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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 class NumberToStringStub V8_FINAL : public HydrogenCodeStub { | 469 class NumberToStringStub V8_FINAL : public HydrogenCodeStub { |
470 public: | 470 public: |
471 NumberToStringStub() {} | 471 NumberToStringStub() {} |
472 | 472 |
473 virtual Handle<Code> GenerateCode(Isolate* isolate) V8_OVERRIDE; | 473 virtual Handle<Code> GenerateCode(Isolate* isolate) V8_OVERRIDE; |
474 | 474 |
475 virtual void InitializeInterfaceDescriptor( | 475 virtual void InitializeInterfaceDescriptor( |
476 Isolate* isolate, | 476 Isolate* isolate, |
477 CodeStubInterfaceDescriptor* descriptor) V8_OVERRIDE; | 477 CodeStubInterfaceDescriptor* descriptor) V8_OVERRIDE; |
478 | 478 |
| 479 static void InstallDescriptors(Isolate* isolate); |
| 480 |
479 // Parameters accessed via CodeStubGraphBuilder::GetParameter() | 481 // Parameters accessed via CodeStubGraphBuilder::GetParameter() |
480 static const int kNumber = 0; | 482 static const int kNumber = 0; |
481 | 483 |
482 private: | 484 private: |
483 virtual Major MajorKey() V8_OVERRIDE { return NumberToString; } | 485 virtual Major MajorKey() V8_OVERRIDE { return NumberToString; } |
484 virtual int NotMissMinorKey() V8_OVERRIDE { return 0; } | 486 virtual int NotMissMinorKey() V8_OVERRIDE { return 0; } |
485 }; | 487 }; |
486 | 488 |
487 | 489 |
488 class FastNewClosureStub : public HydrogenCodeStub { | 490 class FastNewClosureStub : public HydrogenCodeStub { |
(...skipping 1867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2356 int MinorKey() { return 0; } | 2358 int MinorKey() { return 0; } |
2357 | 2359 |
2358 void Generate(MacroAssembler* masm); | 2360 void Generate(MacroAssembler* masm); |
2359 | 2361 |
2360 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); | 2362 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); |
2361 }; | 2363 }; |
2362 | 2364 |
2363 } } // namespace v8::internal | 2365 } } // namespace v8::internal |
2364 | 2366 |
2365 #endif // V8_CODE_STUBS_H_ | 2367 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |