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

Side by Side Diff: src/hydrogen.h

Issue 14846017: Becuase of cross-context calls, hydrogen-based Array constructor needs to ensure (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Enable optimize_constructed_arrays Created 7 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/heap.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 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after
1312 EqualityKind kind, 1312 EqualityKind kind,
1313 CompareNilICStub::Types types, 1313 CompareNilICStub::Types types,
1314 Handle<Map> map, 1314 Handle<Map> map,
1315 int position, 1315 int position,
1316 HIfContinuation* continuation); 1316 HIfContinuation* continuation);
1317 1317
1318 HValue* BuildCreateAllocationSiteInfo(HValue* previous_object, 1318 HValue* BuildCreateAllocationSiteInfo(HValue* previous_object,
1319 int previous_object_size, 1319 int previous_object_size,
1320 HValue* payload); 1320 HValue* payload);
1321 1321
1322 HInstruction* BuildGetNativeContext(HValue* context);
1323 HInstruction* BuildGetArrayFunction(HValue* context);
1324
1322 private: 1325 private:
1323 HGraphBuilder(); 1326 HGraphBuilder();
1324 CompilationInfo* info_; 1327 CompilationInfo* info_;
1325 HGraph* graph_; 1328 HGraph* graph_;
1326 HBasicBlock* current_block_; 1329 HBasicBlock* current_block_;
1327 int no_side_effects_scope_count_; 1330 int no_side_effects_scope_count_;
1328 }; 1331 };
1329 1332
1330 1333
1331 class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor { 1334 class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor {
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
2005 EmbeddedVector<char, 64> filename_; 2008 EmbeddedVector<char, 64> filename_;
2006 HeapStringAllocator string_allocator_; 2009 HeapStringAllocator string_allocator_;
2007 StringStream trace_; 2010 StringStream trace_;
2008 int indent_; 2011 int indent_;
2009 }; 2012 };
2010 2013
2011 2014
2012 } } // namespace v8::internal 2015 } } // namespace v8::internal
2013 2016
2014 #endif // V8_HYDROGEN_H_ 2017 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698