OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 6050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6061 HGetCachedArrayIndex* result = new(zone()) HGetCachedArrayIndex(value); | 6061 HGetCachedArrayIndex* result = new(zone()) HGetCachedArrayIndex(value); |
6062 ast_context()->ReturnInstruction(result, call->id()); | 6062 ast_context()->ReturnInstruction(result, call->id()); |
6063 } | 6063 } |
6064 | 6064 |
6065 | 6065 |
6066 void HGraphBuilder::GenerateFastAsciiArrayJoin(CallRuntime* call) { | 6066 void HGraphBuilder::GenerateFastAsciiArrayJoin(CallRuntime* call) { |
6067 return Bailout("inlined runtime function: FastAsciiArrayJoin"); | 6067 return Bailout("inlined runtime function: FastAsciiArrayJoin"); |
6068 } | 6068 } |
6069 | 6069 |
6070 | 6070 |
| 6071 void HGraphBuilder::GenerateIsNativeOrStrictMode(CallRuntime* call) { |
| 6072 return Bailout("inlined runtime function: IsNativeOrStrictMode"); |
| 6073 } |
| 6074 |
| 6075 |
6071 #undef CHECK_BAILOUT | 6076 #undef CHECK_BAILOUT |
6072 #undef CHECK_ALIVE | 6077 #undef CHECK_ALIVE |
6073 | 6078 |
6074 | 6079 |
6075 HEnvironment::HEnvironment(HEnvironment* outer, | 6080 HEnvironment::HEnvironment(HEnvironment* outer, |
6076 Scope* scope, | 6081 Scope* scope, |
6077 Handle<JSFunction> closure) | 6082 Handle<JSFunction> closure) |
6078 : closure_(closure), | 6083 : closure_(closure), |
6079 values_(0), | 6084 values_(0), |
6080 assigned_variables_(4), | 6085 assigned_variables_(4), |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6592 } | 6597 } |
6593 } | 6598 } |
6594 | 6599 |
6595 #ifdef DEBUG | 6600 #ifdef DEBUG |
6596 if (graph_ != NULL) graph_->Verify(); | 6601 if (graph_ != NULL) graph_->Verify(); |
6597 if (allocator_ != NULL) allocator_->Verify(); | 6602 if (allocator_ != NULL) allocator_->Verify(); |
6598 #endif | 6603 #endif |
6599 } | 6604 } |
6600 | 6605 |
6601 } } // namespace v8::internal | 6606 } } // namespace v8::internal |
OLD | NEW |