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

Side by Side Diff: src/objects.h

Issue 14404005: Add d8 functionality for switching between realms (a.k.a. contexts), 2nd try (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Make realms work again interactively Created 7 years, 8 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/debug.cc ('k') | test/mjsunit/bugs/bug-proto.js » ('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 8560 matching lines...) Expand 10 before | Expand all | Expand 10 after
8571 static const int kNextOffset = kTableOffset + kPointerSize; 8571 static const int kNextOffset = kTableOffset + kPointerSize;
8572 static const int kSize = kNextOffset + kPointerSize; 8572 static const int kSize = kNextOffset + kPointerSize;
8573 8573
8574 private: 8574 private:
8575 DISALLOW_IMPLICIT_CONSTRUCTORS(JSWeakMap); 8575 DISALLOW_IMPLICIT_CONSTRUCTORS(JSWeakMap);
8576 }; 8576 };
8577 8577
8578 8578
8579 class JSArrayBuffer: public JSObject { 8579 class JSArrayBuffer: public JSObject {
8580 public: 8580 public:
8581 // [backing_store]: backing memory for thsi array 8581 // [backing_store]: backing memory for this array
8582 DECL_ACCESSORS(backing_store, void) 8582 DECL_ACCESSORS(backing_store, void)
8583 8583
8584 // [byte_length]: length in bytes 8584 // [byte_length]: length in bytes
8585 DECL_ACCESSORS(byte_length, Object) 8585 DECL_ACCESSORS(byte_length, Object)
8586 8586
8587 // Casting. 8587 // Casting.
8588 static inline JSArrayBuffer* cast(Object* obj); 8588 static inline JSArrayBuffer* cast(Object* obj);
8589 8589
8590 // Dispatched behavior. 8590 // Dispatched behavior.
8591 DECLARE_PRINTER(JSArrayBuffer) 8591 DECLARE_PRINTER(JSArrayBuffer)
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
9429 } else { 9429 } else {
9430 value &= ~(1 << bit_position); 9430 value &= ~(1 << bit_position);
9431 } 9431 }
9432 return value; 9432 return value;
9433 } 9433 }
9434 }; 9434 };
9435 9435
9436 } } // namespace v8::internal 9436 } } // namespace v8::internal
9437 9437
9438 #endif // V8_OBJECTS_H_ 9438 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | test/mjsunit/bugs/bug-proto.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698