OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 Handle<Code> CompileLoadField(Handle<JSObject> object, | 612 Handle<Code> CompileLoadField(Handle<JSObject> object, |
613 Handle<JSObject> holder, | 613 Handle<JSObject> holder, |
614 int index, | 614 int index, |
615 Handle<String> name); | 615 Handle<String> name); |
616 | 616 |
617 Handle<Code> CompileLoadCallback(Handle<String> name, | 617 Handle<Code> CompileLoadCallback(Handle<String> name, |
618 Handle<JSObject> object, | 618 Handle<JSObject> object, |
619 Handle<JSObject> holder, | 619 Handle<JSObject> holder, |
620 Handle<AccessorInfo> callback); | 620 Handle<AccessorInfo> callback); |
621 | 621 |
| 622 static void GenerateLoadViaGetter(MacroAssembler* masm, |
| 623 Handle<JSFunction> getter); |
| 624 |
622 Handle<Code> CompileLoadViaGetter(Handle<String> name, | 625 Handle<Code> CompileLoadViaGetter(Handle<String> name, |
623 Handle<JSObject> receiver, | 626 Handle<JSObject> receiver, |
624 Handle<JSObject> holder, | 627 Handle<JSObject> holder, |
625 Handle<JSFunction> getter); | 628 Handle<JSFunction> getter); |
626 | 629 |
627 Handle<Code> CompileLoadConstant(Handle<JSObject> object, | 630 Handle<Code> CompileLoadConstant(Handle<JSObject> object, |
628 Handle<JSObject> holder, | 631 Handle<JSObject> holder, |
629 Handle<JSFunction> value, | 632 Handle<JSFunction> value, |
630 Handle<String> name); | 633 Handle<String> name); |
631 | 634 |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
931 Handle<JSFunction> constant_function_; | 934 Handle<JSFunction> constant_function_; |
932 bool is_simple_api_call_; | 935 bool is_simple_api_call_; |
933 Handle<FunctionTemplateInfo> expected_receiver_type_; | 936 Handle<FunctionTemplateInfo> expected_receiver_type_; |
934 Handle<CallHandlerInfo> api_call_info_; | 937 Handle<CallHandlerInfo> api_call_info_; |
935 }; | 938 }; |
936 | 939 |
937 | 940 |
938 } } // namespace v8::internal | 941 } } // namespace v8::internal |
939 | 942 |
940 #endif // V8_STUB_CACHE_H_ | 943 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |