| 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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 class NopRuntimeCallHelper : public RuntimeCallHelper { | 442 class NopRuntimeCallHelper : public RuntimeCallHelper { |
| 443 public: | 443 public: |
| 444 NopRuntimeCallHelper() {} | 444 NopRuntimeCallHelper() {} |
| 445 | 445 |
| 446 virtual void BeforeCall(MacroAssembler* masm) const {} | 446 virtual void BeforeCall(MacroAssembler* masm) const {} |
| 447 | 447 |
| 448 virtual void AfterCall(MacroAssembler* masm) const {} | 448 virtual void AfterCall(MacroAssembler* masm) const {} |
| 449 }; | 449 }; |
| 450 | 450 |
| 451 | 451 |
| 452 class StackCheckStub : public PlatformCodeStub { | |
| 453 public: | |
| 454 StackCheckStub() { } | |
| 455 | |
| 456 void Generate(MacroAssembler* masm); | |
| 457 | |
| 458 private: | |
| 459 Major MajorKey() { return StackCheck; } | |
| 460 int MinorKey() { return 0; } | |
| 461 }; | |
| 462 | |
| 463 | |
| 464 class InterruptStub : public PlatformCodeStub { | |
| 465 public: | |
| 466 InterruptStub() { } | |
| 467 | |
| 468 void Generate(MacroAssembler* masm); | |
| 469 | |
| 470 private: | |
| 471 Major MajorKey() { return Interrupt; } | |
| 472 int MinorKey() { return 0; } | |
| 473 }; | |
| 474 | |
| 475 | |
| 476 class ToNumberStub: public HydrogenCodeStub { | 452 class ToNumberStub: public HydrogenCodeStub { |
| 477 public: | 453 public: |
| 478 ToNumberStub() { } | 454 ToNumberStub() { } |
| 479 | 455 |
| 480 virtual Handle<Code> GenerateCode(); | 456 virtual Handle<Code> GenerateCode(); |
| 481 | 457 |
| 482 virtual void InitializeInterfaceDescriptor( | 458 virtual void InitializeInterfaceDescriptor( |
| 483 Isolate* isolate, | 459 Isolate* isolate, |
| 484 CodeStubInterfaceDescriptor* descriptor); | 460 CodeStubInterfaceDescriptor* descriptor); |
| 485 | 461 |
| (...skipping 1840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2326 int MinorKey() { return 0; } | 2302 int MinorKey() { return 0; } |
| 2327 | 2303 |
| 2328 void Generate(MacroAssembler* masm); | 2304 void Generate(MacroAssembler* masm); |
| 2329 | 2305 |
| 2330 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); | 2306 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); |
| 2331 }; | 2307 }; |
| 2332 | 2308 |
| 2333 } } // namespace v8::internal | 2309 } } // namespace v8::internal |
| 2334 | 2310 |
| 2335 #endif // V8_CODE_STUBS_H_ | 2311 #endif // V8_CODE_STUBS_H_ |
| OLD | NEW |