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

Side by Side Diff: src/hydrogen.h

Issue 79343009: Rework BuildCheckString() to be compatible with the other BuildCheck*() methods. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after
1249 int position() const { return position_; } 1249 int position() const { return position_; }
1250 1250
1251 protected: 1251 protected:
1252 virtual bool BuildGraph() = 0; 1252 virtual bool BuildGraph() = 0;
1253 1253
1254 HBasicBlock* CreateBasicBlock(HEnvironment* env); 1254 HBasicBlock* CreateBasicBlock(HEnvironment* env);
1255 HBasicBlock* CreateLoopHeaderBlock(); 1255 HBasicBlock* CreateLoopHeaderBlock();
1256 1256
1257 HValue* BuildCheckHeapObject(HValue* object); 1257 HValue* BuildCheckHeapObject(HValue* object);
1258 HValue* BuildCheckMap(HValue* obj, Handle<Map> map); 1258 HValue* BuildCheckMap(HValue* obj, Handle<Map> map);
1259 HValue* BuildCheckString(HValue* object, const char* failure_reason); 1259 HValue* BuildCheckString(HValue* string);
1260 HValue* BuildWrapReceiver(HValue* object, HValue* function); 1260 HValue* BuildWrapReceiver(HValue* object, HValue* function);
1261 1261
1262 // Building common constructs 1262 // Building common constructs
1263 HValue* BuildCheckForCapacityGrow(HValue* object, 1263 HValue* BuildCheckForCapacityGrow(HValue* object,
1264 HValue* elements, 1264 HValue* elements,
1265 ElementsKind kind, 1265 ElementsKind kind,
1266 HValue* length, 1266 HValue* length,
1267 HValue* key, 1267 HValue* key,
1268 bool is_js_array); 1268 bool is_js_array);
1269 1269
(...skipping 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after
2578 } 2578 }
2579 2579
2580 private: 2580 private:
2581 HGraphBuilder* builder_; 2581 HGraphBuilder* builder_;
2582 }; 2582 };
2583 2583
2584 2584
2585 } } // namespace v8::internal 2585 } } // namespace v8::internal
2586 2586
2587 #endif // V8_HYDROGEN_H_ 2587 #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