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

Side by Side Diff: src/hydrogen.h

Issue 13985005: Separate calculation of double element and object element sizes in IsFastLiteral. (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 | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')
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 1490 matching lines...) Expand 10 before | Expand all | Expand 10 after
1501 HValue* key, 1501 HValue* key,
1502 HValue* value); 1502 HValue* value);
1503 1503
1504 HValue* BuildContextChainWalk(Variable* var); 1504 HValue* BuildContextChainWalk(Variable* var);
1505 1505
1506 HInstruction* BuildThisFunction(); 1506 HInstruction* BuildThisFunction();
1507 1507
1508 HInstruction* BuildFastLiteral(HValue* context, 1508 HInstruction* BuildFastLiteral(HValue* context,
1509 Handle<JSObject> boilerplate_object, 1509 Handle<JSObject> boilerplate_object,
1510 Handle<JSObject> original_boilerplate_object, 1510 Handle<JSObject> original_boilerplate_object,
1511 int size, 1511 int doubles_size,
danno 2013/04/12 08:15:38 how about using "data_space_size" and "pointer_spa
Hannes Payer (out of office) 2013/04/12 08:38:13 I renamed it to "data_size" and "pointer_size".
1512 int objects_size,
1512 AllocationSiteMode mode, 1513 AllocationSiteMode mode,
1513 BailoutId id); 1514 BailoutId id);
1514 1515
1515 void BuildEmitDeepCopy(Handle<JSObject> boilerplat_object, 1516 void BuildEmitDeepCopy(Handle<JSObject> boilerplat_object,
1516 Handle<JSObject> object, 1517 Handle<JSObject> object,
1517 HInstruction* result, 1518 HInstruction* result,
1518 int* offset, 1519 int* offset,
1519 AllocationSiteMode mode, 1520 AllocationSiteMode mode,
1520 BailoutId id); 1521 BailoutId id);
1521 1522
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
1795 EmbeddedVector<char, 64> filename_; 1796 EmbeddedVector<char, 64> filename_;
1796 HeapStringAllocator string_allocator_; 1797 HeapStringAllocator string_allocator_;
1797 StringStream trace_; 1798 StringStream trace_;
1798 int indent_; 1799 int indent_;
1799 }; 1800 };
1800 1801
1801 1802
1802 } } // namespace v8::internal 1803 } } // namespace v8::internal
1803 1804
1804 #endif // V8_HYDROGEN_H_ 1805 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698