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

Side by Side Diff: src/api.h

Issue 2650883002: Reland: [Compiler] Enable handles created during parsing and scope analysis to be deferred. (Closed)
Patch Set: Remove unused variable Created 3 years, 10 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
« no previous file with comments | « no previous file | src/api.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_API_H_ 5 #ifndef V8_API_H_
6 #define V8_API_H_ 6 #define V8_API_H_
7 7
8 #include "include/v8-testing.h" 8 #include "include/v8-testing.h"
9 #include "src/contexts.h" 9 #include "src/contexts.h"
10 #include "src/debug/debug-interface.h" 10 #include "src/debug/debug-interface.h"
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 } 342 }
343 343
344 OPEN_HANDLE_LIST(MAKE_OPEN_HANDLE) 344 OPEN_HANDLE_LIST(MAKE_OPEN_HANDLE)
345 345
346 #undef MAKE_OPEN_HANDLE 346 #undef MAKE_OPEN_HANDLE
347 #undef OPEN_HANDLE_LIST 347 #undef OPEN_HANDLE_LIST
348 348
349 349
350 namespace internal { 350 namespace internal {
351 351
352 352 class V8_EXPORT_PRIVATE DeferredHandles {
353 class DeferredHandles {
354 public: 353 public:
355 ~DeferredHandles(); 354 ~DeferredHandles();
356 355
357 private: 356 private:
358 DeferredHandles(Object** first_block_limit, Isolate* isolate) 357 DeferredHandles(Object** first_block_limit, Isolate* isolate)
359 : next_(NULL), 358 : next_(NULL),
360 previous_(NULL), 359 previous_(NULL),
361 first_block_limit_(first_block_limit), 360 first_block_limit_(first_block_limit),
362 isolate_(isolate) { 361 isolate_(isolate) {
363 isolate->LinkDeferredHandles(this); 362 isolate->LinkDeferredHandles(this);
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 } 663 }
665 664
666 private: 665 private:
667 static v8::Testing::StressType stress_type_; 666 static v8::Testing::StressType stress_type_;
668 }; 667 };
669 668
670 } // namespace internal 669 } // namespace internal
671 } // namespace v8 670 } // namespace v8
672 671
673 #endif // V8_API_H_ 672 #endif // V8_API_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698