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

Side by Side Diff: src/hydrogen.h

Issue 487333002: Get rid of last non-storeic use of JSReceiver::Lookup (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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/ast.cc ('k') | src/hydrogen.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HYDROGEN_H_ 5 #ifndef V8_HYDROGEN_H_
6 #define V8_HYDROGEN_H_ 6 #define V8_HYDROGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/accessors.h" 10 #include "src/accessors.h"
(...skipping 2309 matching lines...) Expand 10 before | Expand all | Expand 10 after
2320 #undef DECLARE_VISIT 2320 #undef DECLARE_VISIT
2321 2321
2322 Type* ToType(Handle<Map> map) { return IC::MapToType<Type>(map, zone()); } 2322 Type* ToType(Handle<Map> map) { return IC::MapToType<Type>(map, zone()); }
2323 2323
2324 private: 2324 private:
2325 // Helpers for flow graph construction. 2325 // Helpers for flow graph construction.
2326 enum GlobalPropertyAccess { 2326 enum GlobalPropertyAccess {
2327 kUseCell, 2327 kUseCell,
2328 kUseGeneric 2328 kUseGeneric
2329 }; 2329 };
2330 GlobalPropertyAccess LookupGlobalProperty(Variable* var, 2330 GlobalPropertyAccess LookupGlobalProperty(Variable* var, LookupIterator* it,
2331 LookupResult* lookup,
2332 PropertyAccessType access_type); 2331 PropertyAccessType access_type);
2333 2332
2334 void EnsureArgumentsArePushedForAccess(); 2333 void EnsureArgumentsArePushedForAccess();
2335 bool TryArgumentsAccess(Property* expr); 2334 bool TryArgumentsAccess(Property* expr);
2336 2335
2337 // Try to optimize fun.apply(receiver, arguments) pattern. 2336 // Try to optimize fun.apply(receiver, arguments) pattern.
2338 bool TryCallApply(Call* expr); 2337 bool TryCallApply(Call* expr);
2339 2338
2340 bool TryHandleArrayCall(Call* expr, HValue* function); 2339 bool TryHandleArrayCall(Call* expr, HValue* function);
2341 bool TryHandleArrayCallNew(CallNew* expr, HValue* function); 2340 bool TryHandleArrayCallNew(CallNew* expr, HValue* function);
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
2903 } 2902 }
2904 2903
2905 private: 2904 private:
2906 HGraphBuilder* builder_; 2905 HGraphBuilder* builder_;
2907 }; 2906 };
2908 2907
2909 2908
2910 } } // namespace v8::internal 2909 } } // namespace v8::internal
2911 2910
2912 #endif // V8_HYDROGEN_H_ 2911 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698