| 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 4531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4542 | 4542 |
| 4543 void HOptimizedGraphBuilder::AddCheckMap(HValue* object, Handle<Map> map) { | 4543 void HOptimizedGraphBuilder::AddCheckMap(HValue* object, Handle<Map> map) { |
| 4544 BuildCheckHeapObject(object); | 4544 BuildCheckHeapObject(object); |
| 4545 AddInstruction(HCheckMaps::New(object, map, zone(), top_info())); | 4545 AddInstruction(HCheckMaps::New(object, map, zone(), top_info())); |
| 4546 } | 4546 } |
| 4547 | 4547 |
| 4548 | 4548 |
| 4549 void HOptimizedGraphBuilder::AddCheckMapsWithTransitions(HValue* object, | 4549 void HOptimizedGraphBuilder::AddCheckMapsWithTransitions(HValue* object, |
| 4550 Handle<Map> map) { | 4550 Handle<Map> map) { |
| 4551 BuildCheckHeapObject(object); | 4551 BuildCheckHeapObject(object); |
| 4552 AddInstruction(HCheckMaps::NewWithTransitions(object, map, zone())); | 4552 AddInstruction(HCheckMaps::NewWithTransitions( |
| 4553 object, map, zone(), top_info())); |
| 4553 } | 4554 } |
| 4554 | 4555 |
| 4555 | 4556 |
| 4556 HInstruction* HOptimizedGraphBuilder::BuildStoreNamedField( | 4557 HInstruction* HOptimizedGraphBuilder::BuildStoreNamedField( |
| 4557 HValue* object, | 4558 HValue* object, |
| 4558 Handle<String> name, | 4559 Handle<String> name, |
| 4559 HValue* value, | 4560 HValue* value, |
| 4560 Handle<Map> map, | 4561 Handle<Map> map, |
| 4561 LookupResult* lookup) { | 4562 LookupResult* lookup) { |
| 4562 ASSERT(lookup->IsFound()); | 4563 ASSERT(lookup->IsFound()); |
| (...skipping 5385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9948 if (ShouldProduceTraceOutput()) { | 9949 if (ShouldProduceTraceOutput()) { |
| 9949 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); | 9950 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); |
| 9950 } | 9951 } |
| 9951 | 9952 |
| 9952 #ifdef DEBUG | 9953 #ifdef DEBUG |
| 9953 graph_->Verify(false); // No full verify. | 9954 graph_->Verify(false); // No full verify. |
| 9954 #endif | 9955 #endif |
| 9955 } | 9956 } |
| 9956 | 9957 |
| 9957 } } // namespace v8::internal | 9958 } } // namespace v8::internal |
| OLD | NEW |