Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: src/stub-cache.h

Issue 10515008: Added LoadIC stub for getters. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Incorporated review comments. Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/objects.h ('k') | src/stub-cache.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 Handle<Code> ComputeLoadField(Handle<String> name, 83 Handle<Code> ComputeLoadField(Handle<String> name,
84 Handle<JSObject> receiver, 84 Handle<JSObject> receiver,
85 Handle<JSObject> holder, 85 Handle<JSObject> holder,
86 int field_index); 86 int field_index);
87 87
88 Handle<Code> ComputeLoadCallback(Handle<String> name, 88 Handle<Code> ComputeLoadCallback(Handle<String> name,
89 Handle<JSObject> receiver, 89 Handle<JSObject> receiver,
90 Handle<JSObject> holder, 90 Handle<JSObject> holder,
91 Handle<AccessorInfo> callback); 91 Handle<AccessorInfo> callback);
92 92
93 Handle<Code> ComputeLoadViaGetter(Handle<String> name,
94 Handle<JSObject> receiver,
95 Handle<JSObject> holder,
96 Handle<JSFunction> getter);
97
93 Handle<Code> ComputeLoadConstant(Handle<String> name, 98 Handle<Code> ComputeLoadConstant(Handle<String> name,
94 Handle<JSObject> receiver, 99 Handle<JSObject> receiver,
95 Handle<JSObject> holder, 100 Handle<JSObject> holder,
96 Handle<JSFunction> value); 101 Handle<JSFunction> value);
97 102
98 Handle<Code> ComputeLoadInterceptor(Handle<String> name, 103 Handle<Code> ComputeLoadInterceptor(Handle<String> name,
99 Handle<JSObject> receiver, 104 Handle<JSObject> receiver,
100 Handle<JSObject> holder); 105 Handle<JSObject> holder);
101 106
102 Handle<Code> ComputeLoadNormal(); 107 Handle<Code> ComputeLoadNormal();
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 Handle<Code> CompileLoadField(Handle<JSObject> object, 594 Handle<Code> CompileLoadField(Handle<JSObject> object,
590 Handle<JSObject> holder, 595 Handle<JSObject> holder,
591 int index, 596 int index,
592 Handle<String> name); 597 Handle<String> name);
593 598
594 Handle<Code> CompileLoadCallback(Handle<String> name, 599 Handle<Code> CompileLoadCallback(Handle<String> name,
595 Handle<JSObject> object, 600 Handle<JSObject> object,
596 Handle<JSObject> holder, 601 Handle<JSObject> holder,
597 Handle<AccessorInfo> callback); 602 Handle<AccessorInfo> callback);
598 603
604 Handle<Code> CompileLoadViaGetter(Handle<String> name,
605 Handle<JSObject> receiver,
606 Handle<JSObject> holder,
607 Handle<JSFunction> getter);
608
599 Handle<Code> CompileLoadConstant(Handle<JSObject> object, 609 Handle<Code> CompileLoadConstant(Handle<JSObject> object,
600 Handle<JSObject> holder, 610 Handle<JSObject> holder,
601 Handle<JSFunction> value, 611 Handle<JSFunction> value,
602 Handle<String> name); 612 Handle<String> name);
603 613
604 Handle<Code> CompileLoadInterceptor(Handle<JSObject> object, 614 Handle<Code> CompileLoadInterceptor(Handle<JSObject> object,
605 Handle<JSObject> holder, 615 Handle<JSObject> holder,
606 Handle<String> name); 616 Handle<String> name);
607 617
608 Handle<Code> CompileLoadGlobal(Handle<JSObject> object, 618 Handle<Code> CompileLoadGlobal(Handle<JSObject> object,
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 Handle<JSFunction> constant_function_; 904 Handle<JSFunction> constant_function_;
895 bool is_simple_api_call_; 905 bool is_simple_api_call_;
896 Handle<FunctionTemplateInfo> expected_receiver_type_; 906 Handle<FunctionTemplateInfo> expected_receiver_type_;
897 Handle<CallHandlerInfo> api_call_info_; 907 Handle<CallHandlerInfo> api_call_info_;
898 }; 908 };
899 909
900 910
901 } } // namespace v8::internal 911 } } // namespace v8::internal
902 912
903 #endif // V8_STUB_CACHE_H_ 913 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698