| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 String* name, | 139 String* name, |
| 140 String* receiver); | 140 String* receiver); |
| 141 | 141 |
| 142 MUST_USE_RESULT MaybeObject* ComputeKeyedLoadFunctionPrototype( | 142 MUST_USE_RESULT MaybeObject* ComputeKeyedLoadFunctionPrototype( |
| 143 String* name, | 143 String* name, |
| 144 JSFunction* receiver); | 144 JSFunction* receiver); |
| 145 | 145 |
| 146 MUST_USE_RESULT MaybeObject* ComputeKeyedLoadSpecialized( | 146 MUST_USE_RESULT MaybeObject* ComputeKeyedLoadSpecialized( |
| 147 JSObject* receiver); | 147 JSObject* receiver); |
| 148 | 148 |
| 149 MUST_USE_RESULT MaybeObject* ComputeKeyedLoadPixelArray( |
| 150 JSObject* receiver); |
| 151 |
| 149 // --- | 152 // --- |
| 150 | 153 |
| 151 MUST_USE_RESULT MaybeObject* ComputeStoreField(String* name, | 154 MUST_USE_RESULT MaybeObject* ComputeStoreField(String* name, |
| 152 JSObject* receiver, | 155 JSObject* receiver, |
| 153 int field_index, | 156 int field_index, |
| 154 Map* transition = NULL); | 157 Map* transition = NULL); |
| 155 | 158 |
| 156 MUST_USE_RESULT MaybeObject* ComputeStoreNormal(); | 159 MUST_USE_RESULT MaybeObject* ComputeStoreNormal(); |
| 157 | 160 |
| 158 MUST_USE_RESULT MaybeObject* ComputeStoreGlobal( | 161 MUST_USE_RESULT MaybeObject* ComputeStoreGlobal( |
| (...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 | 613 |
| 611 MUST_USE_RESULT MaybeObject* CompileLoadInterceptor(JSObject* object, | 614 MUST_USE_RESULT MaybeObject* CompileLoadInterceptor(JSObject* object, |
| 612 JSObject* holder, | 615 JSObject* holder, |
| 613 String* name); | 616 String* name); |
| 614 | 617 |
| 615 MUST_USE_RESULT MaybeObject* CompileLoadArrayLength(String* name); | 618 MUST_USE_RESULT MaybeObject* CompileLoadArrayLength(String* name); |
| 616 MUST_USE_RESULT MaybeObject* CompileLoadStringLength(String* name); | 619 MUST_USE_RESULT MaybeObject* CompileLoadStringLength(String* name); |
| 617 MUST_USE_RESULT MaybeObject* CompileLoadFunctionPrototype(String* name); | 620 MUST_USE_RESULT MaybeObject* CompileLoadFunctionPrototype(String* name); |
| 618 | 621 |
| 619 MUST_USE_RESULT MaybeObject* CompileLoadSpecialized(JSObject* receiver); | 622 MUST_USE_RESULT MaybeObject* CompileLoadSpecialized(JSObject* receiver); |
| 623 MUST_USE_RESULT MaybeObject* CompileLoadPixelArray(JSObject* receiver); |
| 620 | 624 |
| 621 private: | 625 private: |
| 622 MaybeObject* GetCode(PropertyType type, String* name); | 626 MaybeObject* GetCode(PropertyType type, String* name); |
| 623 }; | 627 }; |
| 624 | 628 |
| 625 | 629 |
| 626 class StoreStubCompiler: public StubCompiler { | 630 class StoreStubCompiler: public StubCompiler { |
| 627 public: | 631 public: |
| 628 MUST_USE_RESULT MaybeObject* CompileStoreField(JSObject* object, | 632 MUST_USE_RESULT MaybeObject* CompileStoreField(JSObject* object, |
| 629 int index, | 633 int index, |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 821 MUST_USE_RESULT MaybeObject* CompileKeyedStoreStub( | 825 MUST_USE_RESULT MaybeObject* CompileKeyedStoreStub( |
| 822 ExternalArrayType array_type, Code::Flags flags); | 826 ExternalArrayType array_type, Code::Flags flags); |
| 823 | 827 |
| 824 private: | 828 private: |
| 825 MaybeObject* GetCode(Code::Flags flags); | 829 MaybeObject* GetCode(Code::Flags flags); |
| 826 }; | 830 }; |
| 827 | 831 |
| 828 } } // namespace v8::internal | 832 } } // namespace v8::internal |
| 829 | 833 |
| 830 #endif // V8_STUB_CACHE_H_ | 834 #endif // V8_STUB_CACHE_H_ |
| OLD | NEW |