fork download
  1. new_trace.set_characters_preloaded(preload->preload_is_current_
  2. ? preload->preload_characters_
  3. : 0);
  4.  
  5.  
  6.  
  7. return (ContrastRatio(RelativeLuminance(foreground), background_luminance) >=
  8. ContrastRatio(RelativeLuminance(foreground2), background_luminance))
  9. ? foreground : foreground2;
  10.  
  11.  
  12.  
  13. bottom_left_painter_->SetClipRect(
  14. LayerExceedsSize(bottom_left_layer_.get(), gfx::Size(left, bottom))
  15. ? gfx::Rect(0, bottom_left_layer_->bounds().height() - bottom,
  16. left, bottom)
  17. : gfx::Rect(),
  18. bottom_left_layer_.get());
  19.  
  20.  
  21.  
  22. LOperand* temp3 =
  23. ((divisor > 0 && !instr->CheckFlag(HValue::kLeftCanBeNegative)) ||
  24. (divisor < 0 && !instr->CheckFlag(HValue::kLeftCanBePositive)))
  25. ? NULL : TempRegister();
  26.  
  27.  
  28.  
  29. i::Handle<i::Script> script_object = compiled_script->IsJSFunction()
  30. ? i::Handle<i::Script>(i::Script::cast(
  31. i::JSFunction::cast(*compiled_script)->shared()->script()))
  32. : i::Handle<i::Script>(i::Script::cast(
  33. i::SharedFunctionInfo::cast(*compiled_script)->script()));
  34.  
  35.  
  36.  
  37. return obj->IsString()
  38. ? scope.Escape(Local<String>::Cast(Utils::ToLocal(obj)))
  39. : Local<String>();
  40.  
  41.  
  42.  
  43. int call_function_arg_count = is_call_ic
  44. ? CallICStub::ExtractArgcFromMinorKey(CodeStub::MinorKeyFromKey(key))
  45. : CallFunctionStub::ExtractArgcFromMinorKey(
  46. CodeStub::MinorKeyFromKey(key));
  47.  
  48.  
  49.  
  50. FunctionLiteral::IsParenthesizedFlag parenthesized = parenthesized_function_
  51. ? FunctionLiteral::kIsParenthesized
  52. : FunctionLiteral::kNotParenthesized;
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:5: error: ‘new_trace’ does not name a type
     new_trace.set_characters_preloaded(preload->preload_is_current_
     ^
prog.cpp:7:3: error: expected unqualified-id before ‘return’
   return (ContrastRatio(RelativeLuminance(foreground), background_luminance) >=
   ^
prog.cpp:13:5: error: ‘bottom_left_painter_’ does not name a type
     bottom_left_painter_->SetClipRect(
     ^
prog.cpp:22:3: error: ‘LOperand’ does not name a type
   LOperand* temp3 =
   ^
prog.cpp:29:3: error: ‘i’ does not name a type
   i::Handle<i::Script> script_object = compiled_script->IsJSFunction()
   ^
prog.cpp:37:3: error: expected unqualified-id before ‘return’
   return obj->IsString()
   ^
prog.cpp:43:38: error: ‘is_call_ic’ was not declared in this scope
        int call_function_arg_count = is_call_ic
                                      ^
prog.cpp:44:13: error: ‘CallICStub’ has not been declared
           ? CallICStub::ExtractArgcFromMinorKey(CodeStub::MinorKeyFromKey(key))
             ^
prog.cpp:44:49: error: ‘CodeStub’ has not been declared
           ? CallICStub::ExtractArgcFromMinorKey(CodeStub::MinorKeyFromKey(key))
                                                 ^
prog.cpp:44:75: error: ‘key’ was not declared in this scope
           ? CallICStub::ExtractArgcFromMinorKey(CodeStub::MinorKeyFromKey(key))
                                                                           ^
prog.cpp:45:13: error: ‘CallFunctionStub’ has not been declared
           : CallFunctionStub::ExtractArgcFromMinorKey(
             ^
prog.cpp:46:15: error: ‘CodeStub’ has not been declared
               CodeStub::MinorKeyFromKey(key));
               ^
prog.cpp:46:41: error: ‘key’ was not declared in this scope
               CodeStub::MinorKeyFromKey(key));
                                         ^
prog.cpp:50:3: error: ‘FunctionLiteral’ does not name a type
   FunctionLiteral::IsParenthesizedFlag parenthesized = parenthesized_function_
   ^
stdout
Standard output is empty