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

Side by Side Diff: src/v8globals.h

Issue 23824002: thread isolate in accessors.cc (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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/objects.cc ('k') | test/cctest/test-alloc.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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 unsigned int sign :1; 340 unsigned int sign :1;
341 unsigned int exp :11; 341 unsigned int exp :11;
342 unsigned int man_high :20; 342 unsigned int man_high :20;
343 unsigned int man_low :32; 343 unsigned int man_low :32;
344 } bits; 344 } bits;
345 }; 345 };
346 346
347 347
348 // AccessorCallback 348 // AccessorCallback
349 struct AccessorDescriptor { 349 struct AccessorDescriptor {
350 MaybeObject* (*getter)(Object* object, void* data); 350 MaybeObject* (*getter)(Isolate* isolate, Object* object, void* data);
351 MaybeObject* (*setter)(JSObject* object, Object* value, void* data); 351 MaybeObject* (*setter)(
352 Isolate* isolate, JSObject* object, Object* value, void* data);
352 void* data; 353 void* data;
353 }; 354 };
354 355
355 356
356 // Logging and profiling. A StateTag represents a possible state of 357 // Logging and profiling. A StateTag represents a possible state of
357 // the VM. The logger maintains a stack of these. Creating a VMState 358 // the VM. The logger maintains a stack of these. Creating a VMState
358 // object enters a state by pushing on the stack, and destroying a 359 // object enters a state by pushing on the stack, and destroying a
359 // VMState object leaves a state by popping the current state from the 360 // VMState object leaves a state by popping the current state from the
360 // stack. 361 // stack.
361 362
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 561
561 enum ClearExceptionFlag { 562 enum ClearExceptionFlag {
562 KEEP_EXCEPTION, 563 KEEP_EXCEPTION,
563 CLEAR_EXCEPTION 564 CLEAR_EXCEPTION
564 }; 565 };
565 566
566 567
567 } } // namespace v8::internal 568 } } // namespace v8::internal
568 569
569 #endif // V8_V8GLOBALS_H_ 570 #endif // V8_V8GLOBALS_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | test/cctest/test-alloc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698