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

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

Issue 68523009: Also support smi in load-ICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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
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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 InlineCacheHolderFlag cache_holder = OWN_MAP); 87 InlineCacheHolderFlag cache_holder = OWN_MAP);
88 88
89 Handle<Code> FindHandler(Handle<Name> name, 89 Handle<Code> FindHandler(Handle<Name> name,
90 Handle<Object> object, 90 Handle<Object> object,
91 Handle<HeapObject> stub_holder, 91 Handle<HeapObject> stub_holder,
92 Code::Kind kind, 92 Code::Kind kind,
93 InlineCacheHolderFlag cache_holder = OWN_MAP, 93 InlineCacheHolderFlag cache_holder = OWN_MAP,
94 StrictModeFlag strict_mode = kNonStrictMode); 94 StrictModeFlag strict_mode = kNonStrictMode);
95 95
96 Handle<Code> ComputeMonomorphicIC(Handle<Name> name, 96 Handle<Code> ComputeMonomorphicIC(Handle<Name> name,
97 Handle<HeapObject> receiver, 97 Handle<Object> receiver,
98 Handle<Code> handler, 98 Handle<Code> handler,
99 StrictModeFlag strict_mode); 99 StrictModeFlag strict_mode);
100 100
101 Handle<Code> ComputeLoadNonexistent(Handle<Name> name, Handle<Object> object); 101 Handle<Code> ComputeLoadNonexistent(Handle<Name> name, Handle<Object> object);
102 102
103 Handle<Code> ComputeKeyedLoadElement(Handle<Map> receiver_map); 103 Handle<Code> ComputeKeyedLoadElement(Handle<Map> receiver_map);
104 104
105 Handle<Code> ComputeKeyedStoreElement(Handle<Map> receiver_map, 105 Handle<Code> ComputeKeyedStoreElement(Handle<Map> receiver_map,
106 StrictModeFlag strict_mode, 106 StrictModeFlag strict_mode,
107 KeyedAccessStoreMode store_mode); 107 KeyedAccessStoreMode store_mode);
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 Handle<JSFunction> constant_function_; 1049 Handle<JSFunction> constant_function_;
1050 bool is_simple_api_call_; 1050 bool is_simple_api_call_;
1051 Handle<FunctionTemplateInfo> expected_receiver_type_; 1051 Handle<FunctionTemplateInfo> expected_receiver_type_;
1052 Handle<CallHandlerInfo> api_call_info_; 1052 Handle<CallHandlerInfo> api_call_info_;
1053 }; 1053 };
1054 1054
1055 1055
1056 } } // namespace v8::internal 1056 } } // namespace v8::internal
1057 1057
1058 #endif // V8_STUB_CACHE_H_ 1058 #endif // V8_STUB_CACHE_H_
OLDNEW
« src/ic-inl.h ('K') | « src/objects.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698