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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 }; | 414 }; |
415 | 415 |
416 | 416 |
417 Zone* HBasicBlock::zone() const { return graph_->zone(); } | 417 Zone* HBasicBlock::zone() const { return graph_->zone(); } |
418 | 418 |
419 | 419 |
420 // Type of stack frame an environment might refer to. | 420 // Type of stack frame an environment might refer to. |
421 enum FrameType { | 421 enum FrameType { |
422 JS_FUNCTION, | 422 JS_FUNCTION, |
423 JS_CONSTRUCT, | 423 JS_CONSTRUCT, |
| 424 JS_GETTER, |
424 JS_SETTER, | 425 JS_SETTER, |
425 ARGUMENTS_ADAPTOR | 426 ARGUMENTS_ADAPTOR |
426 }; | 427 }; |
427 | 428 |
428 | 429 |
429 class HEnvironment: public ZoneObject { | 430 class HEnvironment: public ZoneObject { |
430 public: | 431 public: |
431 HEnvironment(HEnvironment* outer, | 432 HEnvironment(HEnvironment* outer, |
432 Scope* scope, | 433 Scope* scope, |
433 Handle<JSFunction> closure, | 434 Handle<JSFunction> closure, |
(...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1481 const char* filename_; | 1482 const char* filename_; |
1482 HeapStringAllocator string_allocator_; | 1483 HeapStringAllocator string_allocator_; |
1483 StringStream trace_; | 1484 StringStream trace_; |
1484 int indent_; | 1485 int indent_; |
1485 }; | 1486 }; |
1486 | 1487 |
1487 | 1488 |
1488 } } // namespace v8::internal | 1489 } } // namespace v8::internal |
1489 | 1490 |
1490 #endif // V8_HYDROGEN_H_ | 1491 #endif // V8_HYDROGEN_H_ |
OLD | NEW |