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

Side by Side Diff: src/hydrogen.h

Issue 149803007: Merge named part of BuildLoad and BuildStore (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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.h ('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 // 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 2369 matching lines...) Expand 10 before | Expand all | Expand 10 after
2380 }; 2380 };
2381 2381
2382 HInstruction* BuildMonomorphicAccess(PropertyAccessInfo* info, 2382 HInstruction* BuildMonomorphicAccess(PropertyAccessInfo* info,
2383 HValue* object, 2383 HValue* object,
2384 HValue* checked_object, 2384 HValue* checked_object,
2385 HValue* value, 2385 HValue* value,
2386 BailoutId ast_id, 2386 BailoutId ast_id,
2387 BailoutId return_id, 2387 BailoutId return_id,
2388 bool can_inline_accessor = true); 2388 bool can_inline_accessor = true);
2389 2389
2390 HInstruction* BuildNamedAccess(PropertyAccessType access,
2391 BailoutId ast_id,
2392 BailoutId reutrn_id,
2393 Expression* expr,
2394 HValue* object,
2395 Handle<String> name,
2396 HValue* value,
2397 bool is_uninitialized = false);
2398
2390 void HandlePolymorphicCallNamed(Call* expr, 2399 void HandlePolymorphicCallNamed(Call* expr,
2391 HValue* receiver, 2400 HValue* receiver,
2392 SmallMapList* types, 2401 SmallMapList* types,
2393 Handle<String> name); 2402 Handle<String> name);
2394 void HandleLiteralCompareTypeof(CompareOperation* expr, 2403 void HandleLiteralCompareTypeof(CompareOperation* expr,
2395 Expression* sub_expr, 2404 Expression* sub_expr,
2396 Handle<String> check); 2405 Handle<String> check);
2397 void HandleLiteralCompareNil(CompareOperation* expr, 2406 void HandleLiteralCompareNil(CompareOperation* expr,
2398 Expression* sub_expr, 2407 Expression* sub_expr,
2399 NilValue nil); 2408 NilValue nil);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
2442 2451
2443 HValue* HandleKeyedElementAccess(HValue* obj, 2452 HValue* HandleKeyedElementAccess(HValue* obj,
2444 HValue* key, 2453 HValue* key,
2445 HValue* val, 2454 HValue* val,
2446 Expression* expr, 2455 Expression* expr,
2447 bool is_store, 2456 bool is_store,
2448 bool* has_side_effects); 2457 bool* has_side_effects);
2449 2458
2450 HInstruction* BuildLoadNamedGeneric(HValue* object, 2459 HInstruction* BuildLoadNamedGeneric(HValue* object,
2451 Handle<String> name, 2460 Handle<String> name,
2452 Property* expr); 2461 bool is_uninitialized = false);
2453 2462
2454 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map); 2463 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map);
2455 2464
2456 void BuildLoad(Property* property, 2465 void BuildLoad(Property* property,
2457 BailoutId ast_id); 2466 BailoutId ast_id);
2458 void PushLoad(Property* property, 2467 void PushLoad(Property* property,
2459 HValue* object, 2468 HValue* object,
2460 HValue* key); 2469 HValue* key);
2461 2470
2462 void BuildStoreForEffect(Expression* expression, 2471 void BuildStoreForEffect(Expression* expression,
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
2715 } 2724 }
2716 2725
2717 private: 2726 private:
2718 HGraphBuilder* builder_; 2727 HGraphBuilder* builder_;
2719 }; 2728 };
2720 2729
2721 2730
2722 } } // namespace v8::internal 2731 } } // namespace v8::internal
2723 2732
2724 #endif // V8_HYDROGEN_H_ 2733 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698