Revision f230a1cf deps/v8/src/debug-debugger.js

View differences:

deps/v8/src/debug-debugger.js
448 448

  
449 449
  // If the position is not found in the script (the script might be shorter
450 450
  // than it used to be) just ignore it.
451
  if (position === null) return;
451
  if (IS_NULL(position)) return;
452 452

  
453 453
  // Create a break point object and set the break point.
454 454
  break_point = MakeBreakPoint(position, this);
......
2064 2064
  } else if ("value" in value_description) {
2065 2065
    return value_description.value;
2066 2066
  } else if (value_description.type == UNDEFINED_TYPE) {
2067
    return void 0;
2067
    return UNDEFINED;
2068 2068
  } else if (value_description.type == NULL_TYPE) {
2069 2069
    return null;
2070 2070
  } else {

Also available in: Unified diff