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

Side by Side Diff: src/hydrogen.h

Issue 264973013: Don't add code dependencies eagerly for HCheckMaps. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 years, 7 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 // 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 "v8.h" 8 #include "v8.h"
9 9
10 #include "accessors.h" 10 #include "accessors.h"
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after
1291 1291
1292 void AddSimulate(BailoutId id, RemovableSimulate removable = FIXED_SIMULATE); 1292 void AddSimulate(BailoutId id, RemovableSimulate removable = FIXED_SIMULATE);
1293 1293
1294 protected: 1294 protected:
1295 virtual bool BuildGraph() = 0; 1295 virtual bool BuildGraph() = 0;
1296 1296
1297 HBasicBlock* CreateBasicBlock(HEnvironment* env); 1297 HBasicBlock* CreateBasicBlock(HEnvironment* env);
1298 HBasicBlock* CreateLoopHeaderBlock(); 1298 HBasicBlock* CreateLoopHeaderBlock();
1299 1299
1300 HValue* BuildCheckHeapObject(HValue* object); 1300 HValue* BuildCheckHeapObject(HValue* object);
1301 HValue* BuildCheckMap(HValue* obj, Handle<Map> map);
1302 HValue* BuildCheckString(HValue* string); 1301 HValue* BuildCheckString(HValue* string);
1303 HValue* BuildWrapReceiver(HValue* object, HValue* function); 1302 HValue* BuildWrapReceiver(HValue* object, HValue* function);
1304 1303
1305 // Building common constructs 1304 // Building common constructs
1306 HValue* BuildCheckForCapacityGrow(HValue* object, 1305 HValue* BuildCheckForCapacityGrow(HValue* object,
1307 HValue* elements, 1306 HValue* elements,
1308 ElementsKind kind, 1307 ElementsKind kind,
1309 HValue* length, 1308 HValue* length,
1310 HValue* key, 1309 HValue* key,
1311 bool is_js_array, 1310 bool is_js_array,
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
1774 1773
1775 void BuildCompareNil( 1774 void BuildCompareNil(
1776 HValue* value, 1775 HValue* value,
1777 Type* type, 1776 Type* type,
1778 HIfContinuation* continuation); 1777 HIfContinuation* continuation);
1779 1778
1780 void BuildCreateAllocationMemento(HValue* previous_object, 1779 void BuildCreateAllocationMemento(HValue* previous_object,
1781 HValue* previous_object_size, 1780 HValue* previous_object_size,
1782 HValue* payload); 1781 HValue* payload);
1783 1782
1784 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant, 1783 HInstruction* BuildConstantMapCheck(Handle<JSObject> constant);
1785 CompilationInfo* info);
1786 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype, 1784 HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype,
1787 Handle<JSObject> holder); 1785 Handle<JSObject> holder);
1788 1786
1789 HInstruction* BuildGetNativeContext(HValue* closure); 1787 HInstruction* BuildGetNativeContext(HValue* closure);
1790 HInstruction* BuildGetNativeContext(); 1788 HInstruction* BuildGetNativeContext();
1791 HInstruction* BuildGetArrayFunction(); 1789 HInstruction* BuildGetArrayFunction();
1792 1790
1793 protected: 1791 protected:
1794 void SetSourcePosition(int position) { 1792 void SetSourcePosition(int position) {
1795 ASSERT(position != RelocInfo::kNoPosition); 1793 ASSERT(position != RelocInfo::kNoPosition);
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
2782 } 2780 }
2783 2781
2784 private: 2782 private:
2785 HGraphBuilder* builder_; 2783 HGraphBuilder* builder_;
2786 }; 2784 };
2787 2785
2788 2786
2789 } } // namespace v8::internal 2787 } } // namespace v8::internal
2790 2788
2791 #endif // V8_HYDROGEN_H_ 2789 #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