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