| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_CODE_STUBS_H_ | 5 #ifndef V8_CODE_STUBS_H_ |
| 6 #define V8_CODE_STUBS_H_ | 6 #define V8_CODE_STUBS_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
| 10 #include "src/code-stub-assembler.h" | 10 #include "src/code-stub-assembler.h" |
| (...skipping 2049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2060 | 2060 |
| 2061 | 2061 |
| 2062 class RegExpExecStub: public PlatformCodeStub { | 2062 class RegExpExecStub: public PlatformCodeStub { |
| 2063 public: | 2063 public: |
| 2064 explicit RegExpExecStub(Isolate* isolate) : PlatformCodeStub(isolate) { } | 2064 explicit RegExpExecStub(Isolate* isolate) : PlatformCodeStub(isolate) { } |
| 2065 | 2065 |
| 2066 DEFINE_CALL_INTERFACE_DESCRIPTOR(RegExpExec); | 2066 DEFINE_CALL_INTERFACE_DESCRIPTOR(RegExpExec); |
| 2067 DEFINE_PLATFORM_CODE_STUB(RegExpExec, PlatformCodeStub); | 2067 DEFINE_PLATFORM_CODE_STUB(RegExpExec, PlatformCodeStub); |
| 2068 }; | 2068 }; |
| 2069 | 2069 |
| 2070 | 2070 // TODO(jgruber): Remove this once all uses in regexp.js have been removed. |
| 2071 class RegExpConstructResultStub final : public HydrogenCodeStub { | 2071 class RegExpConstructResultStub final : public HydrogenCodeStub { |
| 2072 public: | 2072 public: |
| 2073 explicit RegExpConstructResultStub(Isolate* isolate) | 2073 explicit RegExpConstructResultStub(Isolate* isolate) |
| 2074 : HydrogenCodeStub(isolate) { } | 2074 : HydrogenCodeStub(isolate) { } |
| 2075 | 2075 |
| 2076 DEFINE_CALL_INTERFACE_DESCRIPTOR(RegExpConstructResult); | 2076 DEFINE_CALL_INTERFACE_DESCRIPTOR(RegExpConstructResult); |
| 2077 DEFINE_HYDROGEN_CODE_STUB(RegExpConstructResult, HydrogenCodeStub); | 2077 DEFINE_HYDROGEN_CODE_STUB(RegExpConstructResult, HydrogenCodeStub); |
| 2078 }; | 2078 }; |
| 2079 | 2079 |
| 2080 | 2080 |
| (...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3127 #undef DEFINE_HYDROGEN_CODE_STUB | 3127 #undef DEFINE_HYDROGEN_CODE_STUB |
| 3128 #undef DEFINE_CODE_STUB | 3128 #undef DEFINE_CODE_STUB |
| 3129 #undef DEFINE_CODE_STUB_BASE | 3129 #undef DEFINE_CODE_STUB_BASE |
| 3130 | 3130 |
| 3131 extern Representation RepresentationFromMachineType(MachineType type); | 3131 extern Representation RepresentationFromMachineType(MachineType type); |
| 3132 | 3132 |
| 3133 } // namespace internal | 3133 } // namespace internal |
| 3134 } // namespace v8 | 3134 } // namespace v8 |
| 3135 | 3135 |
| 3136 #endif // V8_CODE_STUBS_H_ | 3136 #endif // V8_CODE_STUBS_H_ |
| OLD | NEW |