| 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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 CompilationInfo* compilation_info() { return compilation_info_; } | 537 CompilationInfo* compilation_info() { return compilation_info_; } |
| 538 TypeFeedbackOracle* oracle() { return oracle_; } | 538 TypeFeedbackOracle* oracle() { return oracle_; } |
| 539 AstContext* call_context() { return call_context_; } | 539 AstContext* call_context() { return call_context_; } |
| 540 HBasicBlock* function_return() { return function_return_; } | 540 HBasicBlock* function_return() { return function_return_; } |
| 541 TestContext* test_context() { return test_context_; } | 541 TestContext* test_context() { return test_context_; } |
| 542 void ClearInlinedTestContext() { | 542 void ClearInlinedTestContext() { |
| 543 delete test_context_; | 543 delete test_context_; |
| 544 test_context_ = NULL; | 544 test_context_ = NULL; |
| 545 } | 545 } |
| 546 | 546 |
| 547 FunctionState* outer() { return outer_; } |
| 548 |
| 547 private: | 549 private: |
| 548 HGraphBuilder* owner_; | 550 HGraphBuilder* owner_; |
| 549 | 551 |
| 550 CompilationInfo* compilation_info_; | 552 CompilationInfo* compilation_info_; |
| 551 TypeFeedbackOracle* oracle_; | 553 TypeFeedbackOracle* oracle_; |
| 552 | 554 |
| 553 // During function inlining, expression context of the call being | 555 // During function inlining, expression context of the call being |
| 554 // inlined. NULL when not inlining. | 556 // inlined. NULL when not inlining. |
| 555 AstContext* call_context_; | 557 AstContext* call_context_; |
| 556 | 558 |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1099 const char* filename_; | 1101 const char* filename_; |
| 1100 HeapStringAllocator string_allocator_; | 1102 HeapStringAllocator string_allocator_; |
| 1101 StringStream trace_; | 1103 StringStream trace_; |
| 1102 int indent_; | 1104 int indent_; |
| 1103 }; | 1105 }; |
| 1104 | 1106 |
| 1105 | 1107 |
| 1106 } } // namespace v8::internal | 1108 } } // namespace v8::internal |
| 1107 | 1109 |
| 1108 #endif // V8_HYDROGEN_H_ | 1110 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |