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

Side by Side Diff: src/hydrogen.h

Issue 163623002: Comparison in effect context lazy deopt fix. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments 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 | « no previous file | 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 2399 matching lines...) Expand 10 before | Expand all | Expand 10 after
2410 void HandlePolymorphicCallNamed(Call* expr, 2410 void HandlePolymorphicCallNamed(Call* expr,
2411 HValue* receiver, 2411 HValue* receiver,
2412 SmallMapList* types, 2412 SmallMapList* types,
2413 Handle<String> name); 2413 Handle<String> name);
2414 void HandleLiteralCompareTypeof(CompareOperation* expr, 2414 void HandleLiteralCompareTypeof(CompareOperation* expr,
2415 Expression* sub_expr, 2415 Expression* sub_expr,
2416 Handle<String> check); 2416 Handle<String> check);
2417 void HandleLiteralCompareNil(CompareOperation* expr, 2417 void HandleLiteralCompareNil(CompareOperation* expr,
2418 Expression* sub_expr, 2418 Expression* sub_expr,
2419 NilValue nil); 2419 NilValue nil);
2420 HControlInstruction* BuildCompareInstruction(Token::Value op,
2421 HValue* left,
2422 HValue* right,
2423 Type* left_type,
2424 Type* right_type,
2425 Type* combined_type,
2426 int left_position,
2427 int right_position,
2428 BailoutId bailout_id);
2429
2430 HInstruction* BuildStringCharCodeAt(HValue* string,
2431 HValue* index);
2432 2420
2433 enum PushBeforeSimulateBehavior { 2421 enum PushBeforeSimulateBehavior {
2434 PUSH_BEFORE_SIMULATE, 2422 PUSH_BEFORE_SIMULATE,
2435 NO_PUSH_BEFORE_SIMULATE 2423 NO_PUSH_BEFORE_SIMULATE
2436 }; 2424 };
2425
2426 HControlInstruction* BuildCompareInstruction(
2427 Token::Value op,
2428 HValue* left,
2429 HValue* right,
2430 Type* left_type,
2431 Type* right_type,
2432 Type* combined_type,
2433 int left_position,
2434 int right_position,
2435 PushBeforeSimulateBehavior push_sim_result,
2436 BailoutId bailout_id);
2437
2438 HInstruction* BuildStringCharCodeAt(HValue* string,
2439 HValue* index);
2440
2437 HValue* BuildBinaryOperation( 2441 HValue* BuildBinaryOperation(
2438 BinaryOperation* expr, 2442 BinaryOperation* expr,
2439 HValue* left, 2443 HValue* left,
2440 HValue* right, 2444 HValue* right,
2441 PushBeforeSimulateBehavior push_sim_result); 2445 PushBeforeSimulateBehavior push_sim_result);
2442 HInstruction* BuildIncrement(bool returns_original_input, 2446 HInstruction* BuildIncrement(bool returns_original_input,
2443 CountOperation* expr); 2447 CountOperation* expr);
2444 HInstruction* BuildKeyedGeneric(PropertyAccessType access_type, 2448 HInstruction* BuildKeyedGeneric(PropertyAccessType access_type,
2445 HValue* object, 2449 HValue* object,
2446 HValue* key, 2450 HValue* key,
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
2739 } 2743 }
2740 2744
2741 private: 2745 private:
2742 HGraphBuilder* builder_; 2746 HGraphBuilder* builder_;
2743 }; 2747 };
2744 2748
2745 2749
2746 } } // namespace v8::internal 2750 } } // namespace v8::internal
2747 2751
2748 #endif // V8_HYDROGEN_H_ 2752 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698