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 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 Failure* failure_; | 601 Failure* failure_; |
602 }; | 602 }; |
603 | 603 |
604 | 604 |
605 class LoadStubCompiler: public StubCompiler { | 605 class LoadStubCompiler: public StubCompiler { |
606 public: | 606 public: |
607 explicit LoadStubCompiler(Isolate* isolate) : StubCompiler(isolate) { } | 607 explicit LoadStubCompiler(Isolate* isolate) : StubCompiler(isolate) { } |
608 | 608 |
609 Handle<Code> CompileLoadNonexistent(Handle<String> name, | 609 Handle<Code> CompileLoadNonexistent(Handle<String> name, |
610 Handle<JSObject> object, | 610 Handle<JSObject> object, |
611 Handle<JSObject> last); | 611 Handle<JSObject> last, |
| 612 Handle<GlobalObject> global); |
612 | 613 |
613 Handle<Code> CompileLoadField(Handle<JSObject> object, | 614 Handle<Code> CompileLoadField(Handle<JSObject> object, |
614 Handle<JSObject> holder, | 615 Handle<JSObject> holder, |
615 PropertyIndex index, | 616 PropertyIndex index, |
616 Handle<String> name); | 617 Handle<String> name); |
617 | 618 |
618 Handle<Code> CompileLoadCallback(Handle<String> name, | 619 Handle<Code> CompileLoadCallback(Handle<String> name, |
619 Handle<JSObject> object, | 620 Handle<JSObject> object, |
620 Handle<JSObject> holder, | 621 Handle<JSObject> holder, |
621 Handle<AccessorInfo> callback); | 622 Handle<AccessorInfo> callback); |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 Handle<JSFunction> constant_function_; | 927 Handle<JSFunction> constant_function_; |
927 bool is_simple_api_call_; | 928 bool is_simple_api_call_; |
928 Handle<FunctionTemplateInfo> expected_receiver_type_; | 929 Handle<FunctionTemplateInfo> expected_receiver_type_; |
929 Handle<CallHandlerInfo> api_call_info_; | 930 Handle<CallHandlerInfo> api_call_info_; |
930 }; | 931 }; |
931 | 932 |
932 | 933 |
933 } } // namespace v8::internal | 934 } } // namespace v8::internal |
934 | 935 |
935 #endif // V8_STUB_CACHE_H_ | 936 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |