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

Side by Side Diff: src/hydrogen.h

Issue 19493005: Avoid adding HWrapReceiver during graph building. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after
1037 } 1037 }
1038 1038
1039 protected: 1039 protected:
1040 virtual bool BuildGraph() = 0; 1040 virtual bool BuildGraph() = 0;
1041 1041
1042 HBasicBlock* CreateBasicBlock(HEnvironment* env); 1042 HBasicBlock* CreateBasicBlock(HEnvironment* env);
1043 HBasicBlock* CreateLoopHeaderBlock(); 1043 HBasicBlock* CreateLoopHeaderBlock();
1044 1044
1045 HValue* BuildCheckHeapObject(HValue* object); 1045 HValue* BuildCheckHeapObject(HValue* object);
1046 HValue* BuildCheckMap(HValue* obj, Handle<Map> map); 1046 HValue* BuildCheckMap(HValue* obj, Handle<Map> map);
1047 HValue* BuildWrapReceiver(HValue* object, HValue* function);
1047 1048
1048 // Building common constructs 1049 // Building common constructs
1049 HValue* BuildCheckForCapacityGrow(HValue* object, 1050 HValue* BuildCheckForCapacityGrow(HValue* object,
1050 HValue* elements, 1051 HValue* elements,
1051 ElementsKind kind, 1052 ElementsKind kind,
1052 HValue* length, 1053 HValue* length,
1053 HValue* key, 1054 HValue* key,
1054 bool is_js_array); 1055 bool is_js_array);
1055 1056
1056 HValue* BuildCopyElementsOnWrite(HValue* object, 1057 HValue* BuildCopyElementsOnWrite(HValue* object,
(...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after
2095 EmbeddedVector<char, 64> filename_; 2096 EmbeddedVector<char, 64> filename_;
2096 HeapStringAllocator string_allocator_; 2097 HeapStringAllocator string_allocator_;
2097 StringStream trace_; 2098 StringStream trace_;
2098 int indent_; 2099 int indent_;
2099 }; 2100 };
2100 2101
2101 2102
2102 } } // namespace v8::internal 2103 } } // namespace v8::internal
2103 2104
2104 #endif // V8_HYDROGEN_H_ 2105 #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