Chromium Code Reviews| Index: src/code-stubs.h |
| diff --git a/src/code-stubs.h b/src/code-stubs.h |
| index 30ec1c76ca9eda6e355032756c75758e0dfcee1d..72122007db16e28ed599d47f6a56ae1d220067fc 100644 |
| --- a/src/code-stubs.h |
| +++ b/src/code-stubs.h |
| @@ -464,6 +464,22 @@ class ToNumberStub: public HydrogenCodeStub { |
| }; |
| +class NumberToStringStub V8_FINAL : public HydrogenCodeStub { |
| + public: |
| + NumberToStringStub() {} |
| + |
| + virtual Handle<Code> GenerateCode(Isolate* isolate) V8_OVERRIDE; |
| + |
| + virtual void InitializeInterfaceDescriptor( |
| + Isolate* isolate, |
| + CodeStubInterfaceDescriptor* descriptor) V8_OVERRIDE; |
| + |
|
mvstanton
2013/09/23 09:32:34
Here is a good place for something like:
static
Benedikt Meurer
2013/09/23 10:53:31
Done.
|
| + private: |
| + virtual Major MajorKey() V8_OVERRIDE { return NumberToString; } |
| + virtual int NotMissMinorKey() V8_OVERRIDE { return 0; } |
| +}; |
| + |
| + |
| class FastNewClosureStub : public HydrogenCodeStub { |
| public: |
| explicit FastNewClosureStub(LanguageMode language_mode, bool is_generator) |