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

Side by Side Diff: src/objects-debug.cc

Issue 2520913002: [runtime] Rename {JSGeneratorObject::operand_stack} field. (Closed)
Patch Set: Created 4 years 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 | « src/objects.h ('k') | src/objects-inl.h » ('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 #include "src/objects.h" 5 #include "src/objects.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/disasm.h" 8 #include "src/disasm.h"
9 #include "src/disassembler.h" 9 #include "src/disassembler.h"
10 #include "src/field-type.h" 10 #include "src/field-type.h"
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 } 464 }
465 465
466 466
467 void JSGeneratorObject::JSGeneratorObjectVerify() { 467 void JSGeneratorObject::JSGeneratorObjectVerify() {
468 // In an expression like "new g()", there can be a point where a generator 468 // In an expression like "new g()", there can be a point where a generator
469 // object is allocated but its fields are all undefined, as it hasn't yet been 469 // object is allocated but its fields are all undefined, as it hasn't yet been
470 // initialized by the generator. Hence these weak checks. 470 // initialized by the generator. Hence these weak checks.
471 VerifyObjectField(kFunctionOffset); 471 VerifyObjectField(kFunctionOffset);
472 VerifyObjectField(kContextOffset); 472 VerifyObjectField(kContextOffset);
473 VerifyObjectField(kReceiverOffset); 473 VerifyObjectField(kReceiverOffset);
474 VerifyObjectField(kOperandStackOffset); 474 VerifyObjectField(kRegisterFileOffset);
475 VerifyObjectField(kContinuationOffset); 475 VerifyObjectField(kContinuationOffset);
476 } 476 }
477 477
478 478
479 void JSValue::JSValueVerify() { 479 void JSValue::JSValueVerify() {
480 Object* v = value(); 480 Object* v = value();
481 if (v->IsHeapObject()) { 481 if (v->IsHeapObject()) {
482 VerifyHeapPointer(v); 482 VerifyHeapPointer(v);
483 } 483 }
484 } 484 }
(...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after
1507 1507
1508 // Both are done at the same time. 1508 // Both are done at the same time.
1509 CHECK_EQ(new_it.done(), old_it.done()); 1509 CHECK_EQ(new_it.done(), old_it.done());
1510 } 1510 }
1511 1511
1512 1512
1513 #endif // DEBUG 1513 #endif // DEBUG
1514 1514
1515 } // namespace internal 1515 } // namespace internal
1516 } // namespace v8 1516 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698