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

Side by Side Diff: src/v8globals.h

Issue 245963007: Clean up some uses of Failures and MaybeObjects. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: address comments Created 6 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/stub-cache.h ('k') | src/x64/macro-assembler-x64.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 // 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...) Expand 10 before | Expand all | Expand 10 after
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...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « src/stub-cache.h ('k') | src/x64/macro-assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698