| OLD | NEW |
| 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 11179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11190 HGetCachedArrayIndex* result = new(zone()) HGetCachedArrayIndex(value); | 11190 HGetCachedArrayIndex* result = new(zone()) HGetCachedArrayIndex(value); |
| 11191 return ast_context()->ReturnInstruction(result, call->id()); | 11191 return ast_context()->ReturnInstruction(result, call->id()); |
| 11192 } | 11192 } |
| 11193 | 11193 |
| 11194 | 11194 |
| 11195 void HOptimizedGraphBuilder::GenerateFastAsciiArrayJoin(CallRuntime* call) { | 11195 void HOptimizedGraphBuilder::GenerateFastAsciiArrayJoin(CallRuntime* call) { |
| 11196 return Bailout("inlined runtime function: FastAsciiArrayJoin"); | 11196 return Bailout("inlined runtime function: FastAsciiArrayJoin"); |
| 11197 } | 11197 } |
| 11198 | 11198 |
| 11199 | 11199 |
| 11200 // Support for generators. |
| 11201 void HOptimizedGraphBuilder::GenerateGeneratorSend(CallRuntime* call) { |
| 11202 return Bailout("inlined runtime function: GeneratorSend"); |
| 11203 } |
| 11204 |
| 11205 |
| 11206 void HOptimizedGraphBuilder::GenerateGeneratorThrow(CallRuntime* call) { |
| 11207 return Bailout("inlined runtime function: GeneratorThrow"); |
| 11208 } |
| 11209 |
| 11210 |
| 11200 #undef CHECK_BAILOUT | 11211 #undef CHECK_BAILOUT |
| 11201 #undef CHECK_ALIVE | 11212 #undef CHECK_ALIVE |
| 11202 | 11213 |
| 11203 | 11214 |
| 11204 HEnvironment::HEnvironment(HEnvironment* outer, | 11215 HEnvironment::HEnvironment(HEnvironment* outer, |
| 11205 Scope* scope, | 11216 Scope* scope, |
| 11206 Handle<JSFunction> closure, | 11217 Handle<JSFunction> closure, |
| 11207 Zone* zone) | 11218 Zone* zone) |
| 11208 : closure_(closure), | 11219 : closure_(closure), |
| 11209 values_(0, zone), | 11220 values_(0, zone), |
| (...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11870 } | 11881 } |
| 11871 } | 11882 } |
| 11872 | 11883 |
| 11873 #ifdef DEBUG | 11884 #ifdef DEBUG |
| 11874 if (graph_ != NULL) graph_->Verify(false); // No full verify. | 11885 if (graph_ != NULL) graph_->Verify(false); // No full verify. |
| 11875 if (allocator_ != NULL) allocator_->Verify(); | 11886 if (allocator_ != NULL) allocator_->Verify(); |
| 11876 #endif | 11887 #endif |
| 11877 } | 11888 } |
| 11878 | 11889 |
| 11879 } } // namespace v8::internal | 11890 } } // namespace v8::internal |
| OLD | NEW |