OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 private: | 554 private: |
555 const ParameterCount arguments_; | 555 const ParameterCount arguments_; |
556 const InLoopFlag in_loop_; | 556 const InLoopFlag in_loop_; |
557 | 557 |
558 const ParameterCount& arguments() { return arguments_; } | 558 const ParameterCount& arguments() { return arguments_; } |
559 | 559 |
560 Object* GetCode(PropertyType type, String* name); | 560 Object* GetCode(PropertyType type, String* name); |
561 }; | 561 }; |
562 | 562 |
563 | 563 |
| 564 class ConstructStubCompiler: public StubCompiler { |
| 565 public: |
| 566 explicit ConstructStubCompiler() {} |
| 567 |
| 568 Object* CompileConstructStub(SharedFunctionInfo* shared); |
| 569 |
| 570 private: |
| 571 Object* GetCode(); |
| 572 }; |
| 573 |
| 574 |
564 } } // namespace v8::internal | 575 } } // namespace v8::internal |
565 | 576 |
566 #endif // V8_STUB_CACHE_H_ | 577 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |