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

Side by Side Diff: src/profile-generator.cc

Issue 10837165: Lattice-based representation inference, powered by left/right specific type feedback for BinaryOps … (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback; fixed tests Created 8 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/objects-inl.h ('k') | src/type-info.h » ('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 2112 matching lines...) Expand 10 before | Expand all | Expand 10 after
2123 SetInternalReference(code, entry, 2123 SetInternalReference(code, entry,
2124 "relocation_info", code->relocation_info(), 2124 "relocation_info", code->relocation_info(),
2125 Code::kRelocationInfoOffset); 2125 Code::kRelocationInfoOffset);
2126 SetInternalReference(code, entry, 2126 SetInternalReference(code, entry,
2127 "handler_table", code->handler_table(), 2127 "handler_table", code->handler_table(),
2128 Code::kHandlerTableOffset); 2128 Code::kHandlerTableOffset);
2129 TagObject(code->deoptimization_data(), "(code deopt data)"); 2129 TagObject(code->deoptimization_data(), "(code deopt data)");
2130 SetInternalReference(code, entry, 2130 SetInternalReference(code, entry,
2131 "deoptimization_data", code->deoptimization_data(), 2131 "deoptimization_data", code->deoptimization_data(),
2132 Code::kDeoptimizationDataOffset); 2132 Code::kDeoptimizationDataOffset);
2133 SetInternalReference(code, entry, 2133 if (code->kind() == Code::FUNCTION) {
2134 "type_feedback_info", code->type_feedback_info(), 2134 SetInternalReference(code, entry,
2135 Code::kTypeFeedbackInfoOffset); 2135 "type_feedback_info", code->type_feedback_info(),
2136 Code::kTypeFeedbackInfoOffset);
2137 }
2136 SetInternalReference(code, entry, 2138 SetInternalReference(code, entry,
2137 "gc_metadata", code->gc_metadata(), 2139 "gc_metadata", code->gc_metadata(),
2138 Code::kGCMetadataOffset); 2140 Code::kGCMetadataOffset);
2139 } 2141 }
2140 2142
2141 2143
2142 void V8HeapExplorer::ExtractJSGlobalPropertyCellReferences( 2144 void V8HeapExplorer::ExtractJSGlobalPropertyCellReferences(
2143 int entry, JSGlobalPropertyCell* cell) { 2145 int entry, JSGlobalPropertyCell* cell) {
2144 SetInternalReference(cell, entry, "value", cell->value()); 2146 SetInternalReference(cell, entry, "value", cell->value());
2145 } 2147 }
(...skipping 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after
3577 3579
3578 3580
3579 void HeapSnapshotJSONSerializer::SortHashMap( 3581 void HeapSnapshotJSONSerializer::SortHashMap(
3580 HashMap* map, List<HashMap::Entry*>* sorted_entries) { 3582 HashMap* map, List<HashMap::Entry*>* sorted_entries) {
3581 for (HashMap::Entry* p = map->Start(); p != NULL; p = map->Next(p)) 3583 for (HashMap::Entry* p = map->Start(); p != NULL; p = map->Next(p))
3582 sorted_entries->Add(p); 3584 sorted_entries->Add(p);
3583 sorted_entries->Sort(SortUsingEntryValue); 3585 sorted_entries->Sort(SortUsingEntryValue);
3584 } 3586 }
3585 3587
3586 } } // namespace v8::internal 3588 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/type-info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698