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 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
868 TypeFeedbackOracle* oracle() const { return function_state()->oracle(); } | 868 TypeFeedbackOracle* oracle() const { return function_state()->oracle(); } |
869 | 869 |
870 FunctionState* function_state() const { return function_state_; } | 870 FunctionState* function_state() const { return function_state_; } |
871 | 871 |
872 void VisitDeclarations(ZoneList<Declaration*>* declarations); | 872 void VisitDeclarations(ZoneList<Declaration*>* declarations); |
873 | 873 |
874 void* operator new(size_t size, Zone* zone) { | 874 void* operator new(size_t size, Zone* zone) { |
875 return zone->New(static_cast<int>(size)); | 875 return zone->New(static_cast<int>(size)); |
876 } | 876 } |
877 void operator delete(void* pointer, Zone* zone) { } | 877 void operator delete(void* pointer, Zone* zone) { } |
| 878 void operator delete(void* pointer) { } |
878 | 879 |
879 private: | 880 private: |
880 // Type of a member function that generates inline code for a native function. | 881 // Type of a member function that generates inline code for a native function. |
881 typedef void (HGraphBuilder::*InlineFunctionGenerator)(CallRuntime* call); | 882 typedef void (HGraphBuilder::*InlineFunctionGenerator)(CallRuntime* call); |
882 | 883 |
883 // Forward declarations for inner scope classes. | 884 // Forward declarations for inner scope classes. |
884 class SubgraphScope; | 885 class SubgraphScope; |
885 | 886 |
886 static const InlineFunctionGenerator kInlineFunctionGenerators[]; | 887 static const InlineFunctionGenerator kInlineFunctionGenerators[]; |
887 | 888 |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1455 const char* filename_; | 1456 const char* filename_; |
1456 HeapStringAllocator string_allocator_; | 1457 HeapStringAllocator string_allocator_; |
1457 StringStream trace_; | 1458 StringStream trace_; |
1458 int indent_; | 1459 int indent_; |
1459 }; | 1460 }; |
1460 | 1461 |
1461 | 1462 |
1462 } } // namespace v8::internal | 1463 } } // namespace v8::internal |
1463 | 1464 |
1464 #endif // V8_HYDROGEN_H_ | 1465 #endif // V8_HYDROGEN_H_ |
OLD | NEW |