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

Side by Side Diff: src/hydrogen.h

Issue 14222007: Remove unnecessary BailoutIds. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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/code-stubs-hydrogen.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 // 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 932 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 HValue* object, 943 HValue* object,
944 HValue* key, 944 HValue* key,
945 HValue* val, 945 HValue* val,
946 HCheckMaps* mapcheck, 946 HCheckMaps* mapcheck,
947 bool is_js_array, 947 bool is_js_array,
948 ElementsKind elements_kind, 948 ElementsKind elements_kind,
949 bool is_store, 949 bool is_store,
950 KeyedAccessStoreMode store_mode, 950 KeyedAccessStoreMode store_mode,
951 Representation checked_index_representation = Representation::None()); 951 Representation checked_index_representation = Representation::None());
952 952
953 HInstruction* BuildStoreMap(HValue* object, HValue* map, BailoutId id); 953 HInstruction* BuildStoreMap(HValue* object, HValue* map);
954 HInstruction* BuildStoreMap(HValue* object, Handle<Map> map, BailoutId id); 954 HInstruction* BuildStoreMap(HValue* object, Handle<Map> map);
955 955
956 class CheckBuilder { 956 class CheckBuilder {
957 public: 957 public:
958 explicit CheckBuilder(HGraphBuilder* builder); 958 explicit CheckBuilder(HGraphBuilder* builder);
959 ~CheckBuilder() { 959 ~CheckBuilder() {
960 if (!finished_) End(); 960 if (!finished_) End();
961 } 961 }
962 962
963 HValue* CheckNotUndefined(HValue* value); 963 HValue* CheckNotUndefined(HValue* value);
964 HValue* CheckIntegerCompare(HValue* left, HValue* right, Token::Value op); 964 HValue* CheckIntegerCompare(HValue* left, HValue* right, Token::Value op);
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 ElementsKind from_elements_kind, 1092 ElementsKind from_elements_kind,
1093 HValue* to_elements, 1093 HValue* to_elements,
1094 ElementsKind to_elements_kind, 1094 ElementsKind to_elements_kind,
1095 HValue* length, 1095 HValue* length,
1096 HValue* capacity); 1096 HValue* capacity);
1097 1097
1098 HValue* BuildCloneShallowArray(HContext* context, 1098 HValue* BuildCloneShallowArray(HContext* context,
1099 HValue* boilerplate, 1099 HValue* boilerplate,
1100 AllocationSiteMode mode, 1100 AllocationSiteMode mode,
1101 ElementsKind kind, 1101 ElementsKind kind,
1102 BailoutId id,
1103 int length); 1102 int length);
1104 1103
1105 private: 1104 private:
1106 HGraphBuilder(); 1105 HGraphBuilder();
1107 CompilationInfo* info_; 1106 CompilationInfo* info_;
1108 HGraph* graph_; 1107 HGraph* graph_;
1109 HBasicBlock* current_block_; 1108 HBasicBlock* current_block_;
1110 int no_side_effects_scope_count_; 1109 int no_side_effects_scope_count_;
1111 }; 1110 };
1112 1111
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
1502 HValue* value); 1501 HValue* value);
1503 1502
1504 HValue* BuildContextChainWalk(Variable* var); 1503 HValue* BuildContextChainWalk(Variable* var);
1505 1504
1506 HInstruction* BuildThisFunction(); 1505 HInstruction* BuildThisFunction();
1507 1506
1508 HInstruction* BuildFastLiteral(HValue* context, 1507 HInstruction* BuildFastLiteral(HValue* context,
1509 Handle<JSObject> boilerplate_object, 1508 Handle<JSObject> boilerplate_object,
1510 Handle<JSObject> original_boilerplate_object, 1509 Handle<JSObject> original_boilerplate_object,
1511 int size, 1510 int size,
1512 AllocationSiteMode mode, 1511 AllocationSiteMode mode);
1513 BailoutId id);
1514 1512
1515 void BuildEmitDeepCopy(Handle<JSObject> boilerplat_object, 1513 void BuildEmitDeepCopy(Handle<JSObject> boilerplat_object,
1516 Handle<JSObject> object, 1514 Handle<JSObject> object,
1517 HInstruction* result, 1515 HInstruction* result,
1518 int* offset, 1516 int* offset,
1519 AllocationSiteMode mode, 1517 AllocationSiteMode mode);
1520 BailoutId id);
1521 1518
1522 MUST_USE_RESULT HValue* BuildCopyObjectHeader( 1519 MUST_USE_RESULT HValue* BuildCopyObjectHeader(
1523 Handle<JSObject> boilerplat_object, 1520 Handle<JSObject> boilerplat_object,
1524 HInstruction* target, 1521 HInstruction* target,
1525 int object_offset, 1522 int object_offset,
1526 int elements_offset, 1523 int elements_offset,
1527 int elements_size, 1524 int elements_size);
1528 BailoutId id);
1529 1525
1530 void AddCheckPrototypeMaps(Handle<JSObject> holder, 1526 void AddCheckPrototypeMaps(Handle<JSObject> holder,
1531 Handle<Map> receiver_map); 1527 Handle<Map> receiver_map);
1532 1528
1533 void AddCheckConstantFunction(Handle<JSObject> holder, 1529 void AddCheckConstantFunction(Handle<JSObject> holder,
1534 HValue* receiver, 1530 HValue* receiver,
1535 Handle<Map> receiver_map); 1531 Handle<Map> receiver_map);
1536 1532
1537 bool MatchRotateRight(HValue* left, 1533 bool MatchRotateRight(HValue* left,
1538 HValue* right, 1534 HValue* right,
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
1795 EmbeddedVector<char, 64> filename_; 1791 EmbeddedVector<char, 64> filename_;
1796 HeapStringAllocator string_allocator_; 1792 HeapStringAllocator string_allocator_;
1797 StringStream trace_; 1793 StringStream trace_;
1798 int indent_; 1794 int indent_;
1799 }; 1795 };
1800 1796
1801 1797
1802 } } // namespace v8::internal 1798 } } // namespace v8::internal
1803 1799
1804 #endif // V8_HYDROGEN_H_ 1800 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698