Skip to content

Instantly share code, notes, and snippets.

diff --git a/Source/WebCore/css/SelectorChecker.cpp b/Source/WebCore/css/SelectorChecker.cpp
index c35dd6d..0c88eed 100644
--- a/Source/WebCore/css/SelectorChecker.cpp
+++ b/Source/WebCore/css/SelectorChecker.cpp
@@ -63,6 +63,12 @@ enum class VisitedMatchType : unsigned char {
Disabled, Enabled
};
+enum class FragmentsLevel {
+ Root,
object.forEachMethod = function(fn){
if (!methodsEnumerable) for (var i = 0, l = methods.length; i < l; i++){
fn.call(prototype, prototype[methods[i]], methods[i]);
}
for (var key in prototype) fn.call(prototype, prototype[key], key)
};
// Listing non-enumerable methods here. But there's no "contains" before
// https://github.com/mootools/mootools-core/commit/521471f5c0617edc12c680cdad8346c3eb95776a
...('Array', Array, [
diff --git a/Source/WebCore/css/SelectorChecker.cpp b/Source/WebCore/css/SelectorChecker.cpp
index c4d461c..4a0e550 100644
--- a/Source/WebCore/css/SelectorChecker.cpp
+++ b/Source/WebCore/css/SelectorChecker.cpp
@@ -171,14 +171,14 @@ static inline int countElementsOfTypeAfter(const Element* element, const Qualifi
bool SelectorChecker::match(const CSSSelector* selector, Element* element, const CheckingContext& providedContext) const
{
CheckingContextWithStatus context(providedContext, selector, element);
- PseudoId pseudoId = NOPSEUDO;
- if (matchRecursively(context, pseudoId) != SelectorMatches)
Index: ocelot/ocelot/parser/interface/PTXLexer.h
===================================================================
--- ocelot/ocelot/parser/interface/PTXLexer.h (revision 2259)
+++ ocelot/ocelot/parser/interface/PTXLexer.h (working copy)
@@ -8,7 +8,14 @@
#ifndef PTX_LEXER_H_INCLUDED
#define PTX_LEXER_H_INCLUDED
+// FIXME: From the some version of bison, generated header contains yyparse
+// function prototype. Because it uses undeclared nested class and it contains
ninja: Entering directory `barra'
[202/248] Building CXX object compiler/as/ptx2sass/CMakeFiles/ocelot.dir/ocelot/analysis/implementation/DivergenceAnalysis.cpp.o
../compiler/as/ptx2sass/ocelot/analysis/implementation/DivergenceAnalysis.cpp: In member function ‘void analysis::DivergenceAnalysis::_propagateDivergenceAlongControlDependences(analysis::DivergenceAnalysis::branch_set&)’:
../compiler/as/ptx2sass/ocelot/analysis/implementation/DivergenceAnalysis.cpp:735:58: warning: typedef ‘BlockSet’ locally defined but not used [-Wunused-local-typedefs]
typedef std::unordered_set<const DataflowGraph::Block*> BlockSet;
^
[203/248] Building CXX object compiler/as/ptx2sass/CMakeFiles/ocelot.dir/ocelot/parser/implementation/PTXLexer.cpp.o
FAILED: g++ -Docelot_EXPORTS -std=c++0x -Wall -O2 -fPIC -I. -I../util -I../common -I../compiler/as/ptx2sass/ocelot -I../compiler/as/ptx2sass/. -Icompiler/as/ptx2sass -MMD -MT compiler/as/ptx2sass/CMakeFiles/ocelot.dir/ocel
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 3.6.5 Kernel Configuration
#
CONFIG_64BIT=y
# CONFIG_X86_32 is not set
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
block = (16, 16)
grid = (64, 64)
[gdev] Opened gdev0
[gdev] Closed gdev0
23.239000
4.962000
3.058000
3.048000
1.833000
Test passed
#!/usr/bin/zsh
# -*- coding: utf-8 -*-
echo "module"
cd mod
rm -rf build
mkdir build
cd build
../configure
make -j
block = (16, 16)
grid = (64, 64)
14.235001
3.296000
5.150000
2.371000
0.931000
Test passed
block = (16, 16)
grid = (64, 64)
15.424000
8.778000
3.876000
2.345000
0.838000
Test passed