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

Side by Side Diff: src/mips/lithium-codegen-mips.cc

Issue 16641002: Fix parallel recompilation wrt initial object/array map dependency. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-x64.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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 if (FLAG_weak_embedded_maps_in_optimized_code) { 86 if (FLAG_weak_embedded_maps_in_optimized_code) {
87 RegisterDependentCodeForEmbeddedMaps(code); 87 RegisterDependentCodeForEmbeddedMaps(code);
88 } 88 }
89 PopulateDeoptimizationData(code); 89 PopulateDeoptimizationData(code);
90 info()->CommitDependentMaps(code); 90 info()->CommitDependentMaps(code);
91 91
92 for (int i = 0 ; i < transition_maps_.length(); i++) { 92 for (int i = 0 ; i < transition_maps_.length(); i++) {
93 transition_maps_.at(i)->AddDependentCode( 93 transition_maps_.at(i)->AddDependentCode(
94 DependentCode::kTransitionGroup, code); 94 DependentCode::kTransitionGroup, code);
95 } 95 }
96 if (graph()->depends_on_empty_array_proto_elements()) {
97 isolate()->initial_object_prototype()->map()->AddDependentCode(
98 DependentCode::kElementsCantBeAddedGroup, code);
99 isolate()->initial_array_prototype()->map()->AddDependentCode(
100 DependentCode::kElementsCantBeAddedGroup, code);
101 }
102 } 96 }
103 97
104 98
105 void LChunkBuilder::Abort(const char* reason) { 99 void LChunkBuilder::Abort(const char* reason) {
106 info()->set_bailout_reason(reason); 100 info()->set_bailout_reason(reason);
107 status_ = ABORTED; 101 status_ = ABORTED;
108 } 102 }
109 103
110 104
111 void LCodeGen::Comment(const char* format, ...) { 105 void LCodeGen::Comment(const char* format, ...) {
(...skipping 5578 matching lines...) Expand 10 before | Expand all | Expand 10 after
5690 __ Subu(scratch, result, scratch); 5684 __ Subu(scratch, result, scratch);
5691 __ lw(result, FieldMemOperand(scratch, 5685 __ lw(result, FieldMemOperand(scratch,
5692 FixedArray::kHeaderSize - kPointerSize)); 5686 FixedArray::kHeaderSize - kPointerSize));
5693 __ bind(&done); 5687 __ bind(&done);
5694 } 5688 }
5695 5689
5696 5690
5697 #undef __ 5691 #undef __
5698 5692
5699 } } // namespace v8::internal 5693 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698