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

Side by Side Diff: src/isolate.cc

Issue 18509003: Keep two empty lines between declarations for cpp files (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 5 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
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 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 // Iterate pointers in live lookup results. 502 // Iterate pointers in live lookup results.
503 thread->top_lookup_result_->Iterate(v); 503 thread->top_lookup_result_->Iterate(v);
504 } 504 }
505 505
506 506
507 void Isolate::Iterate(ObjectVisitor* v) { 507 void Isolate::Iterate(ObjectVisitor* v) {
508 ThreadLocalTop* current_t = thread_local_top(); 508 ThreadLocalTop* current_t = thread_local_top();
509 Iterate(v, current_t); 509 Iterate(v, current_t);
510 } 510 }
511 511
512
512 void Isolate::IterateDeferredHandles(ObjectVisitor* visitor) { 513 void Isolate::IterateDeferredHandles(ObjectVisitor* visitor) {
513 for (DeferredHandles* deferred = deferred_handles_head_; 514 for (DeferredHandles* deferred = deferred_handles_head_;
514 deferred != NULL; 515 deferred != NULL;
515 deferred = deferred->next_) { 516 deferred = deferred->next_) {
516 deferred->Iterate(visitor); 517 deferred->Iterate(visitor);
517 } 518 }
518 } 519 }
519 520
520 521
521 #ifdef DEBUG 522 #ifdef DEBUG
(...skipping 1981 matching lines...) Expand 10 before | Expand all | Expand 10 after
2503 2504
2504 #ifdef DEBUG 2505 #ifdef DEBUG
2505 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2506 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2506 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2507 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2507 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2508 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2508 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2509 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2509 #undef ISOLATE_FIELD_OFFSET 2510 #undef ISOLATE_FIELD_OFFSET
2510 #endif 2511 #endif
2511 2512
2512 } } // namespace v8::internal 2513 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/incremental-marking.cc ('k') | src/lithium.cc » ('j') | tools/presubmit.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698