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 8863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8874 void HGraphBuilder::VisitModulePath(ModulePath* module) { | 8874 void HGraphBuilder::VisitModulePath(ModulePath* module) { |
8875 UNREACHABLE(); | 8875 UNREACHABLE(); |
8876 } | 8876 } |
8877 | 8877 |
8878 | 8878 |
8879 void HGraphBuilder::VisitModuleUrl(ModuleUrl* module) { | 8879 void HGraphBuilder::VisitModuleUrl(ModuleUrl* module) { |
8880 UNREACHABLE(); | 8880 UNREACHABLE(); |
8881 } | 8881 } |
8882 | 8882 |
8883 | 8883 |
| 8884 void HGraphBuilder::VisitModuleStatement(ModuleStatement* stmt) { |
| 8885 UNREACHABLE(); |
| 8886 } |
| 8887 |
| 8888 |
8884 // Generators for inline runtime functions. | 8889 // Generators for inline runtime functions. |
8885 // Support for types. | 8890 // Support for types. |
8886 void HGraphBuilder::GenerateIsSmi(CallRuntime* call) { | 8891 void HGraphBuilder::GenerateIsSmi(CallRuntime* call) { |
8887 ASSERT(call->arguments()->length() == 1); | 8892 ASSERT(call->arguments()->length() == 1); |
8888 CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); | 8893 CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); |
8889 HValue* value = Pop(); | 8894 HValue* value = Pop(); |
8890 HIsSmiAndBranch* result = new(zone()) HIsSmiAndBranch(value); | 8895 HIsSmiAndBranch* result = new(zone()) HIsSmiAndBranch(value); |
8891 return ast_context()->ReturnControl(result, call->id()); | 8896 return ast_context()->ReturnControl(result, call->id()); |
8892 } | 8897 } |
8893 | 8898 |
(...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9971 } | 9976 } |
9972 } | 9977 } |
9973 | 9978 |
9974 #ifdef DEBUG | 9979 #ifdef DEBUG |
9975 if (graph_ != NULL) graph_->Verify(false); // No full verify. | 9980 if (graph_ != NULL) graph_->Verify(false); // No full verify. |
9976 if (allocator_ != NULL) allocator_->Verify(); | 9981 if (allocator_ != NULL) allocator_->Verify(); |
9977 #endif | 9982 #endif |
9978 } | 9983 } |
9979 | 9984 |
9980 } } // namespace v8::internal | 9985 } } // namespace v8::internal |
OLD | NEW |