Chromium Code Reviews| 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 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 865 HBasicBlock* second, | 865 HBasicBlock* second, |
| 866 int join_id); | 866 int join_id); |
| 867 | 867 |
| 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(size); | 875 return zone->New(static_cast<int>(size)); |
|
Sven Panne
2012/07/18 06:02:21
Again a bit too late, but nevertheless: I think th
| |
| 876 } | 876 } |
| 877 void operator delete(void* ptr) { } | 877 void operator delete(void* ptr) { } |
| 878 | 878 |
| 879 private: | 879 private: |
| 880 // Type of a member function that generates inline code for a native function. | 880 // Type of a member function that generates inline code for a native function. |
| 881 typedef void (HGraphBuilder::*InlineFunctionGenerator)(CallRuntime* call); | 881 typedef void (HGraphBuilder::*InlineFunctionGenerator)(CallRuntime* call); |
| 882 | 882 |
| 883 // Forward declarations for inner scope classes. | 883 // Forward declarations for inner scope classes. |
| 884 class SubgraphScope; | 884 class SubgraphScope; |
| 885 | 885 |
| (...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1455 const char* filename_; | 1455 const char* filename_; |
| 1456 HeapStringAllocator string_allocator_; | 1456 HeapStringAllocator string_allocator_; |
| 1457 StringStream trace_; | 1457 StringStream trace_; |
| 1458 int indent_; | 1458 int indent_; |
| 1459 }; | 1459 }; |
| 1460 | 1460 |
| 1461 | 1461 |
| 1462 } } // namespace v8::internal | 1462 } } // namespace v8::internal |
| 1463 | 1463 |
| 1464 #endif // V8_HYDROGEN_H_ | 1464 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |