| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 String* name, | 126 String* name, |
| 127 String* receiver); | 127 String* receiver); |
| 128 | 128 |
| 129 MUST_USE_RESULT static MaybeObject* ComputeKeyedLoadFunctionPrototype( | 129 MUST_USE_RESULT static MaybeObject* ComputeKeyedLoadFunctionPrototype( |
| 130 String* name, | 130 String* name, |
| 131 JSFunction* receiver); | 131 JSFunction* receiver); |
| 132 | 132 |
| 133 MUST_USE_RESULT static MaybeObject* ComputeKeyedLoadSpecialized( | 133 MUST_USE_RESULT static MaybeObject* ComputeKeyedLoadSpecialized( |
| 134 JSObject* receiver); | 134 JSObject* receiver); |
| 135 | 135 |
| 136 MUST_USE_RESULT static MaybeObject* ComputeKeyedLoadPixelArray( |
| 137 JSObject* receiver); |
| 138 |
| 136 // --- | 139 // --- |
| 137 | 140 |
| 138 MUST_USE_RESULT static MaybeObject* ComputeStoreField(String* name, | 141 MUST_USE_RESULT static MaybeObject* ComputeStoreField(String* name, |
| 139 JSObject* receiver, | 142 JSObject* receiver, |
| 140 int field_index, | 143 int field_index, |
| 141 Map* transition = NULL); | 144 Map* transition = NULL); |
| 142 | 145 |
| 143 MUST_USE_RESULT static MaybeObject* ComputeStoreNormal(); | 146 MUST_USE_RESULT static MaybeObject* ComputeStoreNormal(); |
| 144 | 147 |
| 145 MUST_USE_RESULT static MaybeObject* ComputeStoreGlobal( | 148 MUST_USE_RESULT static MaybeObject* ComputeStoreGlobal( |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 | 603 |
| 601 MUST_USE_RESULT MaybeObject* CompileLoadInterceptor(JSObject* object, | 604 MUST_USE_RESULT MaybeObject* CompileLoadInterceptor(JSObject* object, |
| 602 JSObject* holder, | 605 JSObject* holder, |
| 603 String* name); | 606 String* name); |
| 604 | 607 |
| 605 MUST_USE_RESULT MaybeObject* CompileLoadArrayLength(String* name); | 608 MUST_USE_RESULT MaybeObject* CompileLoadArrayLength(String* name); |
| 606 MUST_USE_RESULT MaybeObject* CompileLoadStringLength(String* name); | 609 MUST_USE_RESULT MaybeObject* CompileLoadStringLength(String* name); |
| 607 MUST_USE_RESULT MaybeObject* CompileLoadFunctionPrototype(String* name); | 610 MUST_USE_RESULT MaybeObject* CompileLoadFunctionPrototype(String* name); |
| 608 | 611 |
| 609 MUST_USE_RESULT MaybeObject* CompileLoadSpecialized(JSObject* receiver); | 612 MUST_USE_RESULT MaybeObject* CompileLoadSpecialized(JSObject* receiver); |
| 613 MUST_USE_RESULT MaybeObject* CompileLoadPixelArray(JSObject* receiver); |
| 610 | 614 |
| 611 private: | 615 private: |
| 612 MaybeObject* GetCode(PropertyType type, String* name); | 616 MaybeObject* GetCode(PropertyType type, String* name); |
| 613 }; | 617 }; |
| 614 | 618 |
| 615 | 619 |
| 616 class StoreStubCompiler: public StubCompiler { | 620 class StoreStubCompiler: public StubCompiler { |
| 617 public: | 621 public: |
| 618 MUST_USE_RESULT MaybeObject* CompileStoreField(JSObject* object, | 622 MUST_USE_RESULT MaybeObject* CompileStoreField(JSObject* object, |
| 619 int index, | 623 int index, |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 811 MUST_USE_RESULT MaybeObject* CompileKeyedStoreStub( | 815 MUST_USE_RESULT MaybeObject* CompileKeyedStoreStub( |
| 812 ExternalArrayType array_type, Code::Flags flags); | 816 ExternalArrayType array_type, Code::Flags flags); |
| 813 | 817 |
| 814 private: | 818 private: |
| 815 MaybeObject* GetCode(Code::Flags flags); | 819 MaybeObject* GetCode(Code::Flags flags); |
| 816 }; | 820 }; |
| 817 | 821 |
| 818 } } // namespace v8::internal | 822 } } // namespace v8::internal |
| 819 | 823 |
| 820 #endif // V8_STUB_CACHE_H_ | 824 #endif // V8_STUB_CACHE_H_ |
| OLD | NEW |