Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Side by Side Diff: src/hydrogen.h

Issue 10910110: Fixed deoptimization of inlined getters. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/heap.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/heap.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698