OLD | NEW |
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 331 matching lines...) Loading... |
342 unsigned int sign :1; | 342 unsigned int sign :1; |
343 unsigned int exp :11; | 343 unsigned int exp :11; |
344 unsigned int man_high :20; | 344 unsigned int man_high :20; |
345 unsigned int man_low :32; | 345 unsigned int man_low :32; |
346 } bits; | 346 } bits; |
347 }; | 347 }; |
348 | 348 |
349 | 349 |
350 // AccessorCallback | 350 // AccessorCallback |
351 struct AccessorDescriptor { | 351 struct AccessorDescriptor { |
352 MaybeObject* (*getter)(Isolate* isolate, Object* object, void* data); | 352 Object* (*getter)(Isolate* isolate, Object* object, void* data); |
353 MaybeObject* (*setter)( | 353 Object* (*setter)( |
354 Isolate* isolate, JSObject* object, Object* value, void* data); | 354 Isolate* isolate, JSObject* object, Object* value, void* data); |
355 void* data; | 355 void* data; |
356 }; | 356 }; |
357 | 357 |
358 | 358 |
359 // Logging and profiling. A StateTag represents a possible state of | 359 // Logging and profiling. A StateTag represents a possible state of |
360 // the VM. The logger maintains a stack of these. Creating a VMState | 360 // the VM. The logger maintains a stack of these. Creating a VMState |
361 // object enters a state by pushing on the stack, and destroying a | 361 // object enters a state by pushing on the stack, and destroying a |
362 // VMState object leaves a state by popping the current state from the | 362 // VMState object leaves a state by popping the current state from the |
363 // stack. | 363 // stack. |
(...skipping 198 matching lines...) Loading... |
562 enum MinusZeroMode { | 562 enum MinusZeroMode { |
563 TREAT_MINUS_ZERO_AS_ZERO, | 563 TREAT_MINUS_ZERO_AS_ZERO, |
564 FAIL_ON_MINUS_ZERO | 564 FAIL_ON_MINUS_ZERO |
565 }; | 565 }; |
566 | 566 |
567 } } // namespace v8::internal | 567 } } // namespace v8::internal |
568 | 568 |
569 namespace i = v8::internal; | 569 namespace i = v8::internal; |
570 | 570 |
571 #endif // V8_V8GLOBALS_H_ | 571 #endif // V8_V8GLOBALS_H_ |
OLD | NEW |