~statik/v8/couchdb

« back to all changes in this revision

Viewing changes to src/serialize.h

  • Committer: mads.s.ager at gmail
  • Date: 2008-09-01 07:55:01 UTC
  • Revision ID: svn-v3-trunk0:ce2b1a6d-e550-0410-aec6-3dcde31c8c00:trunk:60
Included mjsunit JavaScript test suite and C++ unit tests.

Changed the shell sample to not print the result of executing a script provided on the command line.

Fixed issue when building samples on Windows using a shared V8 library.  Added visibility option on Linux build which makes the generated library 18% smaller.

Changed build system to accept multiple build modes in one build and generate separate objects, libraries and executables for each mode.

Removed deferred negation optimization (a * -b => -(a * b)) since this visibly changes operand conversion order.

Improved parsing performance by introducing stack guard in preparsing.  Without a stack guard preparsing always bails out with stack overflow.

Changed shell sample to take flags directly from the command-line. Added API call that implements this.

Added load, quit and version functions to the shell sample so it's easier to run benchmarks and tests.

Fixed issue with building samples and cctests on 64-bit machines.

Fixed bug in the runtime system where the prototype chain was not always searched for a setter when setting a property that does not exist locally.

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
 
205
205
  HashMap saved_addresses_;
206
206
 
207
 
  DISALLOW_EVIL_CONSTRUCTORS(Serializer);
 
207
  DISALLOW_COPY_AND_ASSIGN(Serializer);
208
208
};
209
209
 
210
210
// Helper class to read the bytes of the serialized heap.
325
325
  bool expect_debug_information_;
326
326
#endif
327
327
 
328
 
  DISALLOW_EVIL_CONSTRUCTORS(Deserializer);
 
328
  DISALLOW_COPY_AND_ASSIGN(Deserializer);
329
329
};
330
330
 
331
331
} }  // namespace v8::internal