OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1201 Add<HStoreNamedField>(reference, HObjectAccess::ForCounter(), | 1201 Add<HStoreNamedField>(reference, HObjectAccess::ForCounter(), |
1202 new_value); | 1202 new_value); |
1203 } | 1203 } |
1204 } | 1204 } |
1205 | 1205 |
1206 | 1206 |
1207 void HGraphBuilder::AddSimulate(BailoutId id, | 1207 void HGraphBuilder::AddSimulate(BailoutId id, |
1208 RemovableSimulate removable) { | 1208 RemovableSimulate removable) { |
1209 ASSERT(current_block() != NULL); | 1209 ASSERT(current_block() != NULL); |
1210 ASSERT(!graph()->IsInsideNoSideEffectsScope()); | 1210 ASSERT(!graph()->IsInsideNoSideEffectsScope()); |
1211 current_block()->AddNewSimulate(id, removable); | 1211 current_block()->AddNewSimulate(id, position_, removable); |
1212 } | 1212 } |
1213 | 1213 |
1214 | 1214 |
1215 HBasicBlock* HGraphBuilder::CreateBasicBlock(HEnvironment* env) { | 1215 HBasicBlock* HGraphBuilder::CreateBasicBlock(HEnvironment* env) { |
1216 HBasicBlock* b = graph()->CreateBasicBlock(); | 1216 HBasicBlock* b = graph()->CreateBasicBlock(); |
1217 b->SetInitialEnvironment(env); | 1217 b->SetInitialEnvironment(env); |
1218 return b; | 1218 return b; |
1219 } | 1219 } |
1220 | 1220 |
1221 | 1221 |
(...skipping 9824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11046 if (ShouldProduceTraceOutput()) { | 11046 if (ShouldProduceTraceOutput()) { |
11047 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); | 11047 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); |
11048 } | 11048 } |
11049 | 11049 |
11050 #ifdef DEBUG | 11050 #ifdef DEBUG |
11051 graph_->Verify(false); // No full verify. | 11051 graph_->Verify(false); // No full verify. |
11052 #endif | 11052 #endif |
11053 } | 11053 } |
11054 | 11054 |
11055 } } // namespace v8::internal | 11055 } } // namespace v8::internal |
OLD | NEW |